]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
nvme: split __nvme_revalidate_disk
authorChristoph Hellwig <hch@lst.de>
Thu, 2 Nov 2017 18:28:56 +0000 (21:28 +0300)
committerJens Axboe <axboe@kernel.dk>
Sat, 11 Nov 2017 02:53:25 +0000 (19:53 -0700)
commit24b0b58c5b4a9f6f4bbd1c1efd5afb9a565da3ea
tree2b8a979c6c813a3bf4b3c3dee8f4ec9707f89367
parent6e78f21ae4488cdab4318f781de05c8ffc4de951
nvme: split __nvme_revalidate_disk

Split out the code that applies the calculate value to a given disk/queue
into new helper that can be reused by the multipath code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/core.c