]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: generalize the nvme_multi_css check in nvme_scan_ns
authorChristoph Hellwig <hch@lst.de>
Tue, 12 Jul 2022 16:15:01 +0000 (18:15 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 2 Aug 2022 23:22:51 +0000 (17:22 -0600)
commit203bbab0a6a39b109eca5460b133f7712a7c7729
tree02154fc08e76c21a77042b453c592ee3c0d319f0
parent9142da12187b61c43f7f4ba45984522965c88820
nvme: generalize the nvme_multi_css check in nvme_scan_ns

Check for multiple command set support early on an error out if is
not supported when a !NVM command set namespace is found.  This
prepares for adding command set independent passthrough support.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Javier González <javier.gonz@samsung.com>
Reviewed-by: Joel Granados <j.granados@samsung.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Kanchan Joshi <joshi.k@samsung.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/core.c