]> www.infradead.org Git - users/hch/block.git/commit
nvme: move hidden device and multipath handling out of nvme_update_ns_info
authorChristoph Hellwig <hch@lst.de>
Thu, 29 Aug 2024 05:10:39 +0000 (08:10 +0300)
committerChristoph Hellwig <hch@lst.de>
Thu, 29 Aug 2024 06:24:46 +0000 (09:24 +0300)
commit8a1bb7f4ff283c8428bcfddd20fec8ca18c741e0
treea0b961803bccaf9e73d490c9dd45a0465b0ebb53
parent3695a9a79b185148d948a5fa263ae2cadb93cf72
nvme: move hidden device and multipath handling out of nvme_update_ns_info

Turn nvme_update_ns_info into a pure multiplexer and move the real work
into nvme_update_ns_info_generic and nvme_update_ns_block, which allows
to set the flags more coherently while the queue is still frozen.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/core.c