]> www.infradead.org Git - users/hch/block.git/commit
drbd: atomically update queue limits in drbd_reconsider_queue_parameters md-blk-limits
authorChristoph Hellwig <hch@lst.de>
Sun, 25 Feb 2024 06:53:44 +0000 (07:53 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 26 Feb 2024 16:26:09 +0000 (11:26 -0500)
commit5afaa9472580d245b87749fb552c74f16574cd43
treefa6835df7e2c935143f0f3bc29164a0b04a71577
parent87c3cb11ceca37d9de06fae6dafc7d6df03311d4
drbd: atomically update queue limits in drbd_reconsider_queue_parameters

Switch drbd_reconsider_queue_parameters to set up the queue parameters
in an on-stack queue_limits structure and apply the atomically.  Remove
various helpers that have become so trivial that they can be folded into
drbd_reconsider_queue_parameters.

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