]> www.infradead.org Git - users/hch/block.git/commit
drbd: pass the max_hw_sectors limit to blk_alloc_disk
authorChristoph Hellwig <hch@lst.de>
Fri, 23 Feb 2024 07:19:58 +0000 (08:19 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 26 Feb 2024 16:26:08 +0000 (11:26 -0500)
commita7ca76d477e587a53a447530c24e39472d9a5915
treeae640a75eae286448adb573f5c00523fab74bc7c
parentacbef090ca13564457f6d1d960b2e5d1182b1acb
drbd: pass the max_hw_sectors limit to blk_alloc_disk

Pass a queue_limits structure with the max_hw_sectors limit to
blk_alloc_disk instead of updating the limit on the allocated gendisk.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/block/drbd/drbd_main.c