aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-11-16 08:14:46 +0100
committerChristoph Hellwig <hch@lst.de>2022-12-06 09:16:56 +0100
commitba0718a6d67130fd4bff664b86d2aa63fa49e241 (patch)
tree3296ce83478a595298ff7c159353a060c8d3c70c /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parenteea3e8b74aa1648fc96b739458d067a6e498c302 (diff)
nvme: don't call blk_mq_{,un}quiesce_tagset when ctrl->tagset is NULL
The NVMe drivers support a mode where no tagset is allocated for the I/O queues and only the admin queue is usable. In that case ctrl->tagset is NULL and we must not call the block per-tagset quiesce helpers that dereference it. Fixes: 98d81f0df70c ("nvme: use blk_mq_[un]quiesce_tagset") Reported-by: Gerd Bayer <gbayer@linux.ibm.com> Reported-by: Chao Leng <lengchao@huawei.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Chao Leng <lengchao@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions