[PATCH 3/9] block: default the discard granularity to sector size

Christoph Hellwig hch at lst.de
Tue Jan 2 23:57:29 PST 2024


On Tue, Jan 02, 2024 at 05:11:19PM -0500, John Pittman wrote:
> Hi Christoph, is there a reason you used 512 instead of SECTOR_SIZE
> from include/linux/blk_types.h?  Thanks!

To match the logical_block_size/physical_block_size/io_min
assignments just below.



More information about the linux-mtd mailing list