diff options
author | 2013-04-30 11:19:38 -0600 | |
---|---|---|
committer | 2013-05-17 09:18:38 -0400 | |
commit | 053ab702cc2702f25a97ead087ed344b864785b7 (patch) | |
tree | c1e37538f307692c5a1bb885bde58be6282b6378 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | NVMe: fix error return code in nvme_submit_bio_queue() (diff) | |
download | linux-dev-053ab702cc2702f25a97ead087ed344b864785b7.tar.xz linux-dev-053ab702cc2702f25a97ead087ed344b864785b7.zip |
NVMe: Do not cancel command multiple times
Cancelling an already cancelled command does not do anything, so check
the command context before cancelling it, continuing if had already been
cancelled so we do not log the same problem every second if a device
stops responding.
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions