]> www.infradead.org Git - users/hch/block.git/commit
nvme: freeze both the ns and multipath queues whe updating queue limits nvme-update_ns_info
authorChristoph Hellwig <hch@lst.de>
Thu, 29 Aug 2024 05:53:29 +0000 (08:53 +0300)
committerChristoph Hellwig <hch@lst.de>
Thu, 29 Aug 2024 06:24:48 +0000 (09:24 +0300)
commite34410e4f780e628b6b96e68a4cde9439a864be6
tree7a960822682199b16bc075e9638f79b3736be188
parent8a1bb7f4ff283c8428bcfddd20fec8ca18c741e0
nvme: freeze both the ns and multipath queues whe updating queue limits

We really should not have any I/O outstanding while updating the queue
limits, as that could introduce inconsistencies between the multipath
and underlying nodes.  So always freeze the multipath node first and then
the underlying one, matching the order in nvme_passthru_start.

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