nvme: Restore hotplug warning
Restore hotplug warning in recovery state machine. No functional change other than what message gets printed. Sponsored by: Netflix
This commit is contained in:
parent
df7d763849
commit
18dc12bfd2
@ -1010,7 +1010,8 @@ nvme_qpair_timeout(void *arg)
|
||||
* controller.
|
||||
*/
|
||||
nvme_printf(ctrlr, "Resetting controller due to a timeout%s.\n",
|
||||
cfs ? " and fatal error status" : "");
|
||||
(csts == 0xffffffff) ? " and possible hot unplug" :
|
||||
(cfs ? " and fatal error status" : ""));
|
||||
nvme_printf(ctrlr, "RECOVERY_WAITING\n");
|
||||
qpair->recovery_state = RECOVERY_WAITING;
|
||||
nvme_ctrlr_reset(ctrlr);
|
||||
|
Loading…
Reference in New Issue
Block a user