aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/smbdirect.h
diff options
context:
space:
mode:
authorLong Li <longli@microsoft.com>2019-04-05 21:36:31 +0000
committerSteve French <stfrench@microsoft.com>2019-05-07 23:24:54 -0500
commite8b3bfe9bc651acd0338b331fcee3aaafb27caeb (patch)
treee0f99f6f28a381d4f066817c93469985ff9b4eec /fs/cifs/smbdirect.h
parentsmbd: Make upper layer decide when to destroy the transport (diff)
downloadlinux-dev-e8b3bfe9bc651acd0338b331fcee3aaafb27caeb.tar.xz
linux-dev-e8b3bfe9bc651acd0338b331fcee3aaafb27caeb.zip
cifs: smbd: Don't destroy transport on RDMA disconnect
Now upper layer is handling the transport shutdown and reconnect, remove the code that handling transport shutdown on RDMA disconnect. Signed-off-by: Long Li <longli@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to '')
-rw-r--r--fs/cifs/smbdirect.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/fs/cifs/smbdirect.h b/fs/cifs/smbdirect.h
index 73cc923b953c..a3c7b3d0561e 100644
--- a/fs/cifs/smbdirect.h
+++ b/fs/cifs/smbdirect.h
@@ -70,13 +70,11 @@ struct smbd_connection {
int ri_rc;
struct completion ri_done;
wait_queue_head_t conn_wait;
- wait_queue_head_t wait_destroy;
wait_queue_head_t disconn_wait;
struct completion negotiate_completion;
bool negotiate_done;
- struct work_struct destroy_work;
struct work_struct disconnect_work;
struct work_struct recv_done_work;
struct work_struct post_send_credits_work;
@@ -124,13 +122,6 @@ struct smbd_connection {
wait_queue_head_t wait_for_mr_cleanup;
/* Activity accoutning */
- /* Pending reqeusts issued from upper layer */
- int smbd_send_pending;
- wait_queue_head_t wait_smbd_send_pending;
-
- int smbd_recv_pending;
- wait_queue_head_t wait_smbd_recv_pending;
-
atomic_t send_pending;
wait_queue_head_t wait_send_pending;
atomic_t send_payload_pending;