commit | c58bd1bf4d46a020b7a1aa0710bca8191d789caa | [log] [tgz] |
---|---|---|
author | Sagi Grimberg <sagi@grimberg.me> | Thu May 04 13:33:12 2017 +0300 |
committer | Christoph Hellwig <hch@lst.de> | Thu Jun 15 14:28:22 2017 +0200 |
tree | f8f66b66deda21e69fac561ce1dba26bcd13d5af | |
parent | b282a88d910296facf89fd1088832f9b41fa00c5 [diff] |
nvme: Don't allow to reset a reconnecting controller The reset operation is guaranteed to fail for all scenarios but the esoteric case where in the last reconnect attempt concurrent with the reset we happen to successfully reconnect. We just deny initiating a reset if we are reconnecting. Signed-off-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de>