]> www.infradead.org Git - users/hch/block.git/commit
rnbd-clt: pass queue_limits to blk_mq_alloc_disk
authorChristoph Hellwig <hch@lst.de>
Thu, 28 Dec 2023 18:00:18 +0000 (18:00 +0000)
committerChristoph Hellwig <hch@lst.de>
Tue, 13 Feb 2024 17:28:20 +0000 (18:28 +0100)
commit247af1e49eca1bac1ce5a7f1d13d1c50a6f41303
tree0edd6b2eb46edd84a6c1e733ab57a3befeb24f5e
parentce6f9c58cf249c06c31c91935b3345eaae7637cd
rnbd-clt: pass queue_limits to blk_mq_alloc_disk

Pass the limits rnbd-clt imposes directly to blk_mq_alloc_disk instead
of setting them one at a time.

While at it don't set an explicit number of discard segments, as 1 is
the default (which most drivers rely on).

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