commit | 5bae7f73d378a986671a3cad717c721b38f80d9e | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Sat Nov 28 15:39:07 2015 +0100 |
committer | Jens Axboe <axboe@fb.com> | Tue Dec 01 10:59:40 2015 -0700 |
tree | b469adfc577da6e44aee7bae02e8ba303ab7c2cb | |
parent | ce4541f40a949cd9a9c9f308b1a6a86914ce6e1a [diff] |
nvme: move namespace scanning to common code The namespace scanning code has been mostly generic already, we just need to store a pointer to the tagset in the nvme_ctrl structure, and add a method to check if a controller is I/O incapable. The latter will hopefully be replaced by a proper controller state machine soon. Signed-off-by: Christoph Hellwig <hch@lst.de> [Fixed pr conflicts] Signed-off-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Jens Axboe <axboe@fb.com>