diff options
author | 2017-08-10 11:23:31 +0200 | |
---|---|---|
committer | 2017-08-10 19:53:38 +0200 | |
commit | 634b8325905031eeafa61951623681ebc1329385 (patch) | |
tree | c82f4ec33d826a88182e7aa62cf51b3b438b0d9a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | nvme-pci: fix CMB sysfs file removal in reset path (diff) | |
download | wireguard-linux-634b8325905031eeafa61951623681ebc1329385.tar.xz wireguard-linux-634b8325905031eeafa61951623681ebc1329385.zip |
nvme: fix nvme reset command timeout handling
We need to return an error if a timeout occurs on any NVMe command during
initialization. Without this, the nvme reset work will be stuck. A timeout
will have a negative error code, meaning we need to stop initializing
the controller. All postitive returns mean the controller is still usable.
bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=196325
Signed-off-by: Keith Busch <keith.busch@intel.com>
Cc: Martin Peres <martin.peres@intel.com>
[jth consolidated cleanup path ]
Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions