]> www.infradead.org Git - users/hch/misc.git/commit
block: track queue dying state automatically for modeling queue freeze lockdep
authorMing Lei <ming.lei@redhat.com>
Wed, 27 Nov 2024 13:51:30 +0000 (21:51 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Dec 2024 13:58:30 +0000 (06:58 -0700)
commit62c5f7dfce6d4aa4bf9cf2dc470c4f6d2b3db884
treec63f930f7dccb09de9a03abf9713b71b99194994
parenta97e3f357d43f091cb65e751842197dde75e3b97
block: track queue dying state automatically for modeling queue freeze lockdep

Now we only verify the outmost freeze & unfreeze in current context in case
that !q->mq_freeze_depth, so it is reliable to save queue lying state when
we want to lock the freeze queue since the state is one per-task variable
now.

Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20241127135133.3952153-5-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c
block/blk.h
block/genhd.c
include/linux/blkdev.h