James Smart
f20ef34d71
nvme-fc: fix racing controller reset and create association
...
Recent patch to prevent calling __nvme_fc_abort_outstanding_ios in
interrupt context results in a possible race condition. A controller
reset results in errored io completions, which schedules error
work. The change of error work to a work element allows it to fire
after the ctrl state transition to NVME_CTRL_CONNECTING, causing
any outstanding io (used to initialize the controller) to fail and
cause problems for connect_work.
Add a state check to only schedule error work if not in the RESETTING
state.
Fixes: 19fce0470f ("nvme-fc: avoid calling _nvme_fc_abort_outstanding_ios from interrupt context")
Signed-off-by: Nigel Kirkland <nkirkland2304@gmail.com >
Signed-off-by: James Smart <jsmart2021@gmail.com >
Signed-off-by: Christoph Hellwig <hch@lst.de >
2021-03-11 11:48:35 +01:00
..
2021-02-24 10:25:37 -08:00
2021-02-25 12:03:13 -08:00
2021-02-15 12:36:27 -08:00
2021-02-26 09:41:03 -08:00
2021-02-26 10:28:35 -08:00
2021-03-10 08:25:37 -07:00
2021-02-20 21:28:04 -08:00
2021-02-24 10:25:37 -08:00
2021-02-24 10:25:37 -08:00
2021-02-26 10:28:35 -08:00
2021-02-22 14:11:36 -08:00
2021-02-24 10:35:29 -08:00
2021-02-21 17:23:56 -08:00
2021-02-22 14:44:39 -08:00
2021-02-27 08:07:12 -08:00
2021-02-15 17:02:04 +01:00
2021-02-23 15:05:10 -08:00
2021-02-24 21:05:28 +05:30
2021-02-15 10:06:58 +01:00
2021-02-09 12:16:20 +01:00
2021-02-24 10:25:37 -08:00
2021-02-24 10:13:55 -08:00
2021-02-26 14:21:18 -08:00
2021-02-23 14:52:22 -08:00
2021-02-26 09:41:00 -08:00
2021-02-22 10:05:12 -08:00
2021-02-09 11:36:50 -06:00
2021-02-22 14:27:07 -08:00
2021-02-26 11:47:42 +01:00
2021-02-22 09:52:55 -08:00
2021-02-28 15:48:25 -08:00
2021-02-22 09:39:11 -08:00
2021-02-18 11:19:29 -04:00
2021-02-23 14:56:23 -08:00
2021-02-24 09:54:24 -08:00
2021-02-09 09:48:23 +01:00
2021-02-15 15:41:56 +01:00
2021-02-26 13:56:40 -08:00
2021-02-14 21:27:24 -07:00
2021-02-22 13:34:27 -06:00
2021-02-28 11:23:38 -08:00
2021-02-22 17:45:02 -08:00
2021-02-24 10:25:37 -08:00
2021-02-24 10:35:29 -08:00
2021-02-25 09:56:08 -08:00
2021-02-26 13:59:32 -08:00
2021-02-21 13:57:08 -08:00
2021-02-25 12:21:08 -08:00
2021-02-24 10:25:37 -08:00
2021-02-23 14:12:53 -06:00
2021-02-24 09:35:54 -08:00
2021-03-11 11:48:35 +01:00
2021-02-24 10:25:37 -08:00
2021-02-18 12:31:08 +05:30
2021-02-25 09:56:08 -08:00
2021-02-26 13:54:43 -08:00
2021-02-22 10:31:29 -08:00
2021-02-10 10:39:23 +01:00
2021-02-26 10:28:35 -08:00
2021-02-25 12:03:13 -08:00
2021-02-12 16:53:01 +01:00
2021-02-17 13:49:26 -08:00
2021-02-25 12:23:49 -08:00
2021-02-22 09:29:42 -08:00
2021-02-11 12:52:18 -06:00
2021-02-26 10:28:35 -08:00
2021-02-27 08:07:12 -08:00
2021-03-05 11:30:17 -07:00
2021-02-28 11:51:20 -08:00
2021-02-26 14:16:06 -08:00
2021-02-11 10:49:52 +05:30
2021-02-22 14:34:00 -08:00
2021-02-12 12:26:46 +01:00
2021-02-27 08:07:12 -08:00
2021-02-28 11:51:20 -08:00
2021-02-09 16:10:49 +01:00
2021-02-22 09:39:11 -08:00
2021-02-09 13:00:07 +01:00
2021-02-24 10:25:37 -08:00
2021-02-09 12:25:32 +01:00
2021-02-25 10:17:31 -08:00
2021-02-23 07:52:59 -05:00
2021-02-24 10:43:40 -08:00
2021-02-25 12:21:08 -08:00
2021-02-25 12:10:22 -08:00
2021-02-09 10:58:19 +01:00
2021-02-26 09:50:09 -08:00
2021-02-09 12:15:07 +01:00
2021-02-24 10:25:37 -08:00
2021-02-26 10:04:45 -08:00
2021-02-16 20:36:38 -08:00
2021-02-24 10:35:29 -08:00