]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
nvme-rdma: Don't local invalidate if the queue is not live
authorSagi Grimberg <sagi@grimberg.me>
Wed, 11 Oct 2017 12:29:10 +0000 (15:29 +0300)
committerChristoph Hellwig <hch@lst.de>
Wed, 18 Oct 2017 17:27:54 +0000 (19:27 +0200)
commit60a518863368c7e124cd8411c2481d0938f53e08
tree07e7d109da456641dfbabf6c7d3b0389e04cd5d1
parent5e1fe61d4170b1f498e20de92c7ce4cd5e40c3c5
nvme-rdma: Don't local invalidate if the queue is not live

No chance for the local invalidate to succeed if the queue-pair
is in error state. Most likely the target will do a remote
invalidation of our mr so not a big loss on the test_bit.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/rdma.c