aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2020-12-03 09:26:37 +0800
committerJens Axboe <[email protected]>2020-12-07 20:30:19 -0700
commit88c9979334aa5ff8c814ddf578f3113ed6c5ce8e (patch)
treea2b2694702a8e9a4beba7b38697852ed4b902484 /tools/perf/scripts/python/bin
parentfb01a2932e81a1fb2273f87ff92dc8172b8880ee (diff)
nvme-loop: use blk_mq_hctx_set_fq_lock_class to set loop's lock class
Set nvme-loop's lock class via blk_mq_hctx_set_fq_lock_class for avoiding lockdep possible recursive locking, then we can remove the dynamically allocated lock class for each flush queue, finally we can avoid horrible SCSI probe delay. This way may not address situation in which one nvme-loop is backed on another nvme-loop. However, in reality, people seldom uses this way for test. Even though someone played in this way, it is just one recursive locking false positive, no real deadlock issue. Tested-by: Kashyap Desai <[email protected]> Reported-by: Qian Cai <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Cc: Sumit Saxena <[email protected]> Cc: John Garry <[email protected]> Cc: Kashyap Desai <[email protected]> Cc: Bart Van Assche <[email protected]> Cc: Hannes Reinecke <[email protected]> Signed-off-by: Ming Lei <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions