summaryrefslogtreecommitdiff
path: root/fs/cifs/smbdirect.h
diff options
context:
space:
mode:
authorLong Li <longli@microsoft.com>2020-03-31 20:59:23 -0700
committerSteve French <stfrench@microsoft.com>2020-04-07 12:41:16 -0500
commit044b541c11fdb7f51e5177a32ab99aae43b285ef (patch)
tree5a319c2ff933c3b7905751ff4522f4830bd07abd /fs/cifs/smbdirect.h
parentf1b7b862bf79dc9bf29dd59654c5d765b572411e (diff)
cifs: smbd: Do not schedule work to send immediate packet on every receive
Immediate packets should only be sent to peer when there are new receive credits made available. New credits show up on freeing receive buffer, not on receiving data. Fix this by avoid unnenecessary work schedules. 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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/cifs/smbdirect.h b/fs/cifs/smbdirect.h
index 07c8f5638c39..a87fca82a796 100644
--- a/fs/cifs/smbdirect.h
+++ b/fs/cifs/smbdirect.h
@@ -153,7 +153,6 @@ struct smbd_connection {
struct workqueue_struct *workqueue;
struct delayed_work idle_timer_work;
- struct delayed_work send_immediate_work;
/* Memory pool for preallocating buffers */
/* request pool for RDMA send */