]> git.karo-electronics.de Git - linux-beck.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)
commitf108f0f66a1f01ab077a88b1da2e2f092acd4b14
tree246da5ad24f30e238d882b635dddc42e09d0c260
parent88936259c6a42c98e23181c9e1bba4b0bddb966a
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