[PATCH v2 1/2] block: introduce zone_write_granularity limit

Christoph Hellwig hch at lst.de
Wed Jan 20 07:36:49 EST 2021


On Wed, Jan 20, 2021 at 11:00:29AM +0000, Damien Le Moal wrote:
> Hmm. I wanted to keep this limit to 0 for regular devices. If we default to 512,
> regular devices will see that value. They can ignore it of course, but having it
> as 0 makes it clear that it should be ignored.

Hmm.  Maybe we should keep the 0 default and only set it in sd.c.  Then the
query helper can default to the logical block size instead.  That'll just d
o the right thing without changes to most drivers.



More information about the Linux-nvme mailing list