cifs: set replay flag for retries of write command
authorShyam Prasad N <sprasad@microsoft.com>
Thu, 18 Jan 2024 09:14:10 +0000 (09:14 +0000)
committerSteve French <stfrench@microsoft.com>
Wed, 24 Jan 2024 02:23:29 +0000 (20:23 -0600)
commit4cdad80261862c8cdcbb5fd232aa713d0bdefe24
treed24b217e24f613887c03ae21cce25a1f59f8a62a
parent4f1fffa2376922f3d1d506e49c0fd445b023a28e
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>
fs/smb/client/cifsglob.h
fs/smb/client/file.c
fs/smb/client/smb2pdu.c