]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/infiniband/ulp/isert/ib_isert.c
iscsi-target: Convert transport drivers to signal rdma_shutdown
authorNicholas Bellinger <nab@linux-iscsi.org>
Sun, 15 May 2016 05:23:34 +0000 (22:23 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 17 May 2016 05:23:33 +0000 (22:23 -0700)
commitbd027d856d3d7260017d0dc932201ce5fd7561f9
treed2891ed08f6e401654fe5b3be8524bd33f176e01
parentd4b3fa4b0881b600ddeee9dd47b27dea9709f322
iscsi-target: Convert transport drivers to signal rdma_shutdown

Instead of special casing the handful of callers that check for
iser-target rdma verbs specific shutdown, use a simple flag at
iscsit_transport->rdma_shutdown so each driver can signal this.

Also, update iscsi-target/tcp + cxgbit to rdma_shutdown = false.

Cc: Varun Prakash <varun@chelsio.com>
Cc: Hariprasad Shenai <hariprasad@chelsio.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/infiniband/ulp/isert/ib_isert.c
drivers/target/iscsi/cxgbit/cxgbit_main.c
drivers/target/iscsi/iscsi_target.c
include/target/iscsi/iscsi_transport.h