linux_dsm_epyc7002/drivers/infiniband/ulp/srpt
Bart Van Assche 88936259c6 IB/srpt: Simplify srpt_shutdown_session()
The target core guarantees that shutdown_session() is only invoked
once per session. This means that the ib_srpt target driver doesn't
have to track whether or not shutdown_session() has been called.
Additionally, ensure that target_sess_cmd_list_set_waiting() is
called before target_wait_for_sess_cmds() by moving it into
srpt_release_channel_work().

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>
2016-02-29 17:12:35 -05:00
..
ib_dm_mad.h
ib_srpt.c IB/srpt: Simplify srpt_shutdown_session() 2016-02-29 17:12:35 -05:00
ib_srpt.h IB/srpt: Simplify srpt_shutdown_session() 2016-02-29 17:12:35 -05:00
Kconfig
Makefile