]> git.baikalelectronics.ru Git - kernel.git/commit
IB/srpt: Fix srpt_close_session()
authorBart Van Assche <bart.vanassche@sandisk.com>
Thu, 11 Feb 2016 19:06:14 +0000 (11:06 -0800)
committerDoug Ledford <dledford@redhat.com>
Mon, 29 Feb 2016 22:12:35 +0000 (17:12 -0500)
commit1cbd3ca58becfdd030a5e096fd3b8699e42be9c3
tree246da5ad24f30e238d882b635dddc42e09d0c260
parent0dfbdbf8e777cf93099c9b4f2b4928285e9f41e4
IB/srpt: Fix srpt_close_session()

Avoid that srpt_close_session() waits if it doesn't have to wait.
Additionally, increase the time during which srpt_close_session()
waits until closing a session has finished. This makes it easier
to detect session shutdown bugs.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Cc: Alex Estrin <alex.estrin@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/srpt/ib_srpt.c