]> 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)
commit49c69e170bc394facb3fca567d09c042845a4a4e
tree246da5ad24f30e238d882b635dddc42e09d0c260
parentd775e4b25000f62b7e8036466b2ddce9e06e7f4a
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