Christoph Hellwig 5e7169e7f7 bcache: discard_granularity should not be smaller than a sector
Just like all block I/O, discards are in units of sectors.  Thus setting a
smaller than sector size discard limit in case of > 512 byte sectors in
bcache doesn't make sense.  Always set the discard granularity to 512
bytes instead.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20231228075545.362768-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2023-12-29 08:44:12 -07:00
..
2023-11-17 14:41:14 -05:00
2023-11-17 14:41:14 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:07 -05:00
2023-11-01 12:30:07 -10:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:06 -05:00
2023-12-19 10:37:50 -08:00
2023-12-19 10:37:41 -08:00
2023-11-27 15:49:04 -08:00
2023-12-15 15:22:15 -08:00