diff options
author | Long Li <longli@microsoft.com> | 2019-04-05 21:36:31 +0000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2019-05-07 23:24:54 -0500 |
commit | e8b3bfe9bc651acd0338b331fcee3aaafb27caeb (patch) | |
tree | e0f99f6f28a381d4f066817c93469985ff9b4eec /fs/cifs/smbdirect.h | |
parent | 050b8c374019c10e4bcc3fbc9023884f76a85d9c (diff) | |
download | lwn-e8b3bfe9bc651acd0338b331fcee3aaafb27caeb.tar.gz lwn-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 'fs/cifs/smbdirect.h')
-rw-r--r-- | fs/cifs/smbdirect.h | 9 |
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; |