summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2019-07-24 06:48:41 +0300
committerJens Axboe <axboe@kernel.dk>2019-08-05 06:41:29 +0300
commit78ca40724713bd422873cb4ebee86f9f499650f7 (patch)
treefeaeb947cb95a5b57cba870daf71fc84891007b4 /tools/perf/scripts/python/export-to-sqlite.py
parentf9934a80f91dba8c7029ba7601459e41ea7770aa (diff)
downloadlinux-78ca40724713bd422873cb4ebee86f9f499650f7.tar.xz
nvme: don't abort completed request in nvme_cancel_request
Before aborting in-flight requests, all IO queues and their interrupts have been shutdown. However, request's completion function may not be done yet because it can be scheduled to run via IPI. So don't abort one request if it is marked as completed, otherwise we may abort one normal completed request. Cc: Max Gurtovoy <maxg@mellanox.com> Cc: Sagi Grimberg <sagi@grimberg.me> Cc: Keith Busch <keith.busch@intel.com> Cc: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions