diff options
author | Shyam Prasad N <sprasad@microsoft.com> | 2024-01-18 09:14:10 +0000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-01-23 20:23:29 -0600 |
commit | 4cdad80261862c8cdcbb5fd232aa713d0bdefe24 (patch) | |
tree | d24b217e24f613887c03ae21cce25a1f59f8a62a /fs/smb/client/cifsglob.h | |
parent | 4f1fffa2376922f3d1d506e49c0fd445b023a28e (diff) | |
download | linux-stable-4cdad80261862c8cdcbb5fd232aa713d0bdefe24.tar.gz linux-stable-4cdad80261862c8cdcbb5fd232aa713d0bdefe24.tar.bz2 linux-stable-4cdad80261862c8cdcbb5fd232aa713d0bdefe24.zip |
cifs: set replay flag for retries of write command
Similar to the rest of the commands, this is a change
to add replay flags on retry. This one does not add a
back-off, considering that we may want to flush a write
ASAP to the server. Considering that this will be a
flush of cached pages, the retrans value is also not
honoured.
Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/smb/client/cifsglob.h')
-rw-r--r-- | fs/smb/client/cifsglob.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/smb/client/cifsglob.h b/fs/smb/client/cifsglob.h index ceaf9857885d..16befff4cbb4 100644 --- a/fs/smb/client/cifsglob.h +++ b/fs/smb/client/cifsglob.h @@ -1506,6 +1506,7 @@ struct cifs_writedata { struct smbd_mr *mr; #endif struct cifs_credits credits; + bool replay; }; /* |