summaryrefslogtreecommitdiff
path: root/drivers/block
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-12-28 10:55:39 +0300
committerJens Axboe <axboe@kernel.dk>2023-12-29 18:44:12 +0300
commit3c407dc723bbf914f3744b0c2bb82265b411a50c (patch)
tree2bd3955509c1f70cee12ceecfcc17fbfd9cd9086 /drivers/block
parent5e7169e7f7c0989304dbe8467a1d703d614c64db (diff)
downloadlinux-3c407dc723bbf914f3744b0c2bb82265b411a50c.tar.xz
block: default the discard granularity to sector size
Current the discard granularity defaults to 0 and must be initialized by any driver that wants to support discard. Default to the sector size instead, which is the smallest possible value, and a very useful default. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20231228075545.362768-4-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block')
0 files changed, 0 insertions, 0 deletions