]> git.baikalelectronics.ru Git - 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)
commitcde42e5eba5f4be3d96b6b464345fc8d943e9340
tree07e7d109da456641dfbabf6c7d3b0389e04cd5d1
parent62d9a47de43b3ffd6ce97347bafed2b4cd50a8f2
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