diff options
author | Christoph Hellwig <hch@lst.de> | 2021-03-03 13:51:47 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-03-18 05:38:48 +0100 |
commit | 985c5a329dfe5ecb782551cddef48912961b83f1 (patch) | |
tree | 4eb45cb47126dedbb3c4c20d8fcaf651b03aac16 /tools/perf/scripts/python/stat-cpi.py | |
parent | 06c3c3365b4bae5ef0f0525d3683b73cbae1e69c (diff) |
nvme: allocate the keep alive request using BLK_MQ_REQ_NOWAIT
To avoid an error recovery deadlock where the keep alive work is waiting
for a request and thus can't be flushed to make progress for tearing down
the controller. Also print the error code returned from
blk_mq_alloc_request to help debugging any future issues in this code.
Based on an earlier patch from Hannes Reinecke <hare@suse.de>.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Daniel Wagner <dwagner@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions