block: Annotate the queue limits functions
authorBart Van Assche <bvanassche@acm.org>
Fri, 5 Jun 2026 18:00:54 +0000 (11:00 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 5 Jun 2026 19:41:11 +0000 (13:41 -0600)
commit08d912bc44dab63f2637677712d2a0b86922389a
treeba1fe4cc043d10e9f8dfc499b73ac77b1355b903
parent7e712f292e7f01e91d09e83eb7b9526f77f66c71
block: Annotate the queue limits functions

Let the thread-safety checker verify whether every start of a queue
limits update is followed by a call to a function that finishes a queue
limits update.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@kernel.org>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://patch.msgid.link/8f71062b6d0fcf2b80bc8cda701c453224755439.1780682325.git.bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/blkdev.h