]> 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, 4 Mar 2024 14:08:01 +0000 (07:08 -0700)
commite0544513d98e8a4e6e53cd8427ee6cb22a312791
tree4eff53963cff3ad8a7212d5c3ab152c155e7966b
parentb4528f51029c3a551b82dcd81b5e531401dce3dd
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