summaryrefslogtreecommitdiff
path: root/drivers/block/null_blk
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-12-28 10:55:41 +0300
committerJens Axboe <axboe@kernel.dk>2023-12-29 18:44:12 +0300
commit1e2ab2e8a98c9e0629b5b8bff8ee6f2cb3e8daac (patch)
tree658236343f46eeffb00d06dc300a5ad040e98d01 /drivers/block/null_blk
parent599d9d4eab7c3d5dc6f1e0f8f052fee9eaa54e50 (diff)
downloadlinux-1e2ab2e8a98c9e0629b5b8bff8ee6f2cb3e8daac.tar.xz
nbd: use the default discard granularity
The discard granularity now defaults to a single sector, so don't set that value explicitly. Also don't bother clearing it as a discard granularity without discard_sectors doesn't mean anything. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20231228075545.362768-6-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/null_blk')
0 files changed, 0 insertions, 0 deletions