]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-multipath: set bdi capabilities once
authorKeith Busch <kbusch@kernel.org>
Thu, 9 Apr 2020 16:09:04 +0000 (09:09 -0700)
committerJens Axboe <axboe@kernel.dk>
Sat, 9 May 2020 22:18:35 +0000 (16:18 -0600)
commit8efeadcea0623a8e0b7b7c7ab860ab506f26b909
treed060d5215ade2106c0940fdaaf8dcd558faa4cc1
parent70d426c6122052ebc3348efc1b7bab4f4abcbd47
nvme-multipath: set bdi capabilities once

The queues' backing device info capabilities don't change with each
namespace revalidation. Set it only when each path's request_queue
is initially added to a multipath queue.

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