[PATCH 3/5] block: Reduce the size of struct blk_integrity

Christoph Hellwig hch at infradead.org
Tue Jul 21 04:53:47 PDT 2015


On Tue, Jul 21, 2015 at 02:02:57AM -0400, Martin K. Petersen wrote:
> The per-device properties in the blk_integrity structure were previously
> unsigned short. However, most of the values fit inside a char. The only
> exception is the data interval size and we can work around that by
> storing it as a power of two.

Just curious: why do we event bother with storing the interval?  Seem
like our current impplementation forces it to the block size anyway.



More information about the Linux-nvme mailing list