Nitzan Carmi
8000d1fdb0
nvme-rdma: fix sysfs invoked reset_ctrl error flow
...
When reset_controller that is invoked by sysfs fails,
it enters an error flow which practically removes the
nvme ctrl entirely (similar to delete_ctrl flow). It
causes the system to hang, since a sysfs attribute cannot
be unregistered by one of its own methods.
This can be fixed by calling delete_ctrl as a work rather
than sequential code. In addition, it should give the ctrl
a chance to recover using reconnection mechanism (consistant
with FC reset_ctrl error flow). Also, while we're here, return
suitable errno in case the reset ended with non live ctrl.
Signed-off-by: Nitzan Carmi <nitzanc@mellanox.com >
Reviewed-by: Max Gurtovoy <maxg@mellanox.com >
Signed-off-by: Sagi Grimberg <sagi@grimberg.me >
2018-02-14 15:44:22 +02:00
..
2018-02-06 10:41:33 -08:00
2018-02-01 10:31:17 -08:00
2018-02-06 09:59:40 -08:00
2018-02-01 17:48:47 -08:00
2018-02-06 09:59:40 -08:00
2018-01-31 14:31:10 -08:00
2018-02-01 16:35:31 -08:00
2018-02-06 09:59:40 -08:00
2018-02-01 16:56:07 -08:00
2018-02-02 10:01:04 -08:00
2018-01-31 14:22:45 -08:00
2018-02-03 00:26:10 -07:00
2018-02-02 09:50:51 -08:00
2018-02-01 17:48:47 -08:00
2018-01-23 09:04:10 +01:00
2018-02-02 14:57:44 -08:00
2018-02-06 09:59:40 -08:00
2018-02-02 14:22:53 -08:00
2018-02-06 09:59:40 -08:00
2018-01-31 13:00:01 -08:00
2018-01-31 12:54:05 -08:00
2018-02-01 10:31:17 -08:00
2018-01-27 09:34:22 -08:00
2018-02-01 10:31:17 -08:00
2018-02-04 10:57:43 -08:00
2018-02-06 09:59:40 -08:00
2018-02-01 09:51:57 -08:00
2018-02-06 11:09:45 -08:00
2018-02-01 10:49:58 -08:00
2018-02-06 09:59:40 -08:00
2018-02-06 09:59:40 -08:00
2018-01-30 18:59:03 -08:00
2018-01-31 12:22:41 -08:00
2018-02-06 09:59:40 -08:00
2018-02-04 11:11:23 -08:00
2018-02-07 12:50:01 -07:00
2018-02-06 11:27:48 -08:00
2018-02-01 16:35:31 -08:00
2018-01-29 11:35:24 -08:00
2018-02-04 10:57:43 -08:00
2018-02-05 09:51:15 -08:00
2018-01-31 11:32:27 -08:00
2018-02-01 10:31:17 -08:00
2018-02-06 11:09:45 -08:00
2018-01-28 22:17:24 -05:00
2018-02-03 00:26:26 -07:00
2018-02-14 15:44:22 +02:00
2018-02-06 09:59:40 -08:00
2018-02-06 09:59:40 -08:00
2018-02-01 09:40:49 -08:00
2018-02-02 14:22:53 -08:00
2018-02-01 10:00:28 -08:00
2018-01-31 12:55:31 -08:00
2018-01-23 12:17:42 -06:00
2018-01-26 17:57:05 +00:00
2018-02-05 10:07:40 -08:00
2018-02-05 10:05:40 -08:00
2018-02-02 14:19:19 -08:00
2018-02-06 10:41:33 -08:00
2018-02-06 09:59:40 -08:00
2018-02-04 11:16:35 -08:00
2018-02-01 16:35:31 -08:00
2018-01-22 16:45:26 +01:00
2018-01-26 17:57:34 +00:00
2018-02-06 11:27:48 -08:00
2018-01-29 11:51:49 -08:00
2018-02-01 10:00:28 -08:00
2018-02-01 10:00:28 -08:00
2018-02-01 10:31:17 -08:00
2018-02-05 09:41:54 -08:00
2018-02-01 13:18:25 -08:00
2018-01-31 14:31:10 -08:00
2018-02-06 09:59:40 -08:00
2018-02-01 10:31:17 -08:00
2018-01-31 19:25:25 -08:00
2018-01-31 11:32:27 -08:00
2018-02-01 10:31:17 -08:00
2018-02-06 09:59:40 -08:00