diff options
author | Long Li <longli@microsoft.com> | 2020-03-27 08:33:01 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-03-30 00:42:36 +0300 |
commit | 4ebb8795a746b2a3dbab4f12e4a1227603441a81 (patch) | |
tree | 9c19030680139bea49552202f30a20857ba8907d /fs/cifs/smbdirect.h | |
parent | f7950cb05d060b00db5e6102261417cef26c5789 (diff) | |
download | linux-4ebb8795a746b2a3dbab4f12e4a1227603441a81.tar.xz |
cifs: smbd: Check and extend sender credits in interrupt context
When a RDMA packet is received and server is extending send credits, we should
check and unblock senders immediately in IRQ context. Doing it in a worker
queue causes unnecessary delay and doesn't save much CPU on the receive path.
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 | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/cifs/smbdirect.h b/fs/cifs/smbdirect.h index 6ff880a1e186..8ede915f2b24 100644 --- a/fs/cifs/smbdirect.h +++ b/fs/cifs/smbdirect.h @@ -67,7 +67,6 @@ struct smbd_connection { bool negotiate_done; struct work_struct disconnect_work; - struct work_struct recv_done_work; struct work_struct post_send_credits_work; spinlock_t lock_new_credits_offered; |