]> www.infradead.org Git - users/hch/block.git/commit
drbd: atomically update queue limits in drbd_reconsider_queue_parameters drbd-blk-limits
authorChristoph Hellwig <hch@lst.de>
Sun, 25 Feb 2024 06:53:44 +0000 (07:53 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 4 Mar 2024 14:08:03 +0000 (07:08 -0700)
commit171621282c5ac5c5570a4e2c7546f5cf3601e572
treede11671dc4fa76327d6a3b0c81b9ed6c07a7a962
parentca3457216613589fecbd4a34c7e7e042cfbd99c1
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