]> www.infradead.org Git - users/jedix/linux-maple.git/commit
blk-mq: add non_owner variant of start_freeze/unfreeze queue APIs
authorMing Lei <ming.lei@redhat.com>
Fri, 25 Oct 2024 00:37:18 +0000 (08:37 +0800)
committerJens Axboe <axboe@kernel.dk>
Sat, 26 Oct 2024 13:14:53 +0000 (07:14 -0600)
commit8acdd0e7bfadda6b5103f2960d293581954454ed
treeb21831a9052813512e445867a919d5d9735e24b0
parente203e20a8b2b67eb12f87aa3ee625cda5e686434
blk-mq: add non_owner variant of start_freeze/unfreeze queue APIs

Add non_owner variant of start_freeze/unfreeze queue APIs, so that the
caller knows that what they are doing, and we can skip lockdep support
for non_owner variant in per-call level.

Prepare for supporting lockdep for freezing/unfreezing queue.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Suggested-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20241025003722.3630252-2-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c
include/linux/blk-mq.h