commit | 053ab702cc2702f25a97ead087ed344b864785b7 | [log] [tgz] |
---|---|---|
author | Keith Busch <keith.busch@intel.com> | Tue Apr 30 11:19:38 2013 -0600 |
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | Fri May 17 09:18:38 2013 -0400 |
tree | c1e37538f307692c5a1bb885bde58be6282b6378 | |
parent | 1287dabd345f447bbe0f7a99fc95ab89bcfc0f5d [diff] |
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>