Christoph Hellwig
35897b920c
nvme-fabrics: fix and refine state checks in __nvmf_check_ready
...
- make sure we only allow internally generates commands in any non-live
state
- only allow connect commands on non-live queues when actually in the
new or connecting states
- treat all other non-live, non-dead states the same as a default
cach-all
This fixes a regression where we could not shutdown a controller
orderly as we didn't allow the internal generated Property Set
command, and also ensures we don't accidentally let a Connect command
through in the wrong state.
Signed-off-by: Christoph Hellwig <hch@lst.de >
Reviewed-by: James Smart <james.smart@broadcom.com >
2018-06-15 11:21:00 +02:00
..
2018-06-04 10:00:01 -07:00
2018-04-26 10:35:04 +02:00
2018-04-23 12:12:41 +02:00
2018-06-04 07:58:06 -07:00
2018-05-29 09:59:53 -04:00
2018-05-25 18:12:11 -07:00
2018-05-12 11:36:59 +03:00
2018-06-05 09:50:46 -06:00
2018-04-30 10:56:04 +02:00
2018-04-26 16:53:23 +02:00
2018-05-14 08:55:12 -06:00
2018-05-16 07:24:30 +02:00
2018-05-15 15:47:03 -07:00
2018-04-19 13:21:35 +02:00
2018-05-16 07:23:35 +02:00
2018-05-14 22:25:56 +02:00
2018-04-09 11:54:57 +02:00
2018-05-26 23:58:44 +08:00
2018-04-19 15:11:50 -07:00
2018-05-17 16:16:49 +05:30
2018-04-05 14:21:13 -07:00
2018-04-04 20:07:20 -07:00
2018-05-24 22:36:45 -05:00
2018-03-27 09:51:22 +02:00
2018-04-23 13:27:05 +02:00
2018-04-30 10:48:08 +02:00
2018-05-31 13:08:26 -05:00
2018-05-09 13:58:01 +02:00
2018-04-09 11:42:31 -07:00
2018-05-13 09:00:49 -07:00
2018-05-26 08:49:24 +02:00
2018-05-29 20:14:32 +02:00
2018-06-04 10:00:01 -07:00
2018-05-09 17:08:29 +02:00
2018-06-02 09:55:44 -07:00
2018-06-04 10:00:01 -07:00
2018-05-03 16:36:07 +02:00
2018-05-02 15:56:10 +02:00
2018-06-04 10:00:01 -07:00
2018-06-05 09:20:27 -06:00
2018-05-16 07:23:35 +02:00
2018-06-08 08:41:17 -06:00
2018-05-16 07:23:35 +02:00
2018-04-18 10:07:13 -07:00
2018-05-14 08:31:06 -06:00
2018-06-04 10:00:01 -07:00
2018-05-23 06:59:00 +01:00
2018-06-04 10:00:01 -07:00
2018-06-04 10:00:01 -07:00
2018-06-04 10:00:01 -07:00
2018-06-04 10:00:01 -07:00
2018-05-16 07:23:35 +02:00
2018-04-19 15:10:56 -07:00
2018-06-15 11:21:00 +02:00
2018-04-04 20:07:20 -07:00
2018-05-07 05:33:29 -10:00
2018-03-29 15:07:48 -04:00
2018-06-04 10:00:01 -07:00
2018-04-04 20:07:20 -07:00
2018-05-16 07:23:35 +02:00
2018-04-09 09:26:36 -07:00
2018-04-05 21:29:35 -07:00
2018-04-05 21:21:08 -07:00
2018-05-02 14:36:00 +02:00
2018-06-04 10:00:01 -07:00
2018-05-16 07:23:35 +02:00
2018-04-05 21:21:08 -07:00
2018-04-13 15:46:21 -07:00
2018-04-20 17:18:35 -07:00
2018-03-28 10:33:53 +08:00
2018-04-25 16:46:55 -07:00
2018-04-27 11:51:12 +02:00
2018-04-25 16:46:55 -07:00
2018-05-16 07:24:30 +02:00
2018-06-04 10:00:01 -07:00
2018-05-15 13:56:16 -06:00
2018-06-04 10:00:01 -07:00
2018-04-23 13:40:15 +02:00
2018-06-02 10:12:23 -07:00
2018-05-04 08:09:02 +09:00
2018-05-12 11:38:13 +03:00
2018-06-02 09:55:44 -07:00
2018-06-04 07:58:06 -07:00
2018-05-07 11:51:03 +02:00
2018-05-11 09:37:21 +08:00
2018-05-15 18:02:00 +02:00
2018-05-16 07:24:30 +02:00
2018-04-23 12:43:48 +02:00
2018-06-04 10:00:01 -07:00
2018-06-02 08:41:44 -06:00
2018-05-30 13:29:03 -04:00
2018-05-16 07:23:35 +02:00
2018-04-23 13:41:55 +02:00
2018-04-11 18:58:27 -07:00
2018-04-16 10:22:40 +02:00
2018-05-18 14:37:16 -04:00
2018-05-16 07:23:35 +02:00
2018-03-29 13:38:10 +03:00