Skip to content

Commit 74ee76b

Browse files
pcacjrbrauner
authored andcommitted
smb: client: set missing retry flag in cifs_writev_callback()
Set NETFS_SREQ_NEED_RETRY flag to tell netfslib that the subreq needs to be retried. Fixes: ee4cdf7 ("netfs: Speed up buffered reading") Signed-off-by: Paulo Alcantara (Red Hat) <pc@manguebit.org> Signed-off-by: David Howells <dhowells@redhat.com> Link: https://lore.kernel.org/20250701163852.2171681-9-dhowells@redhat.com Tested-by: Steve French <sfrench@samba.org> Cc: linux-cifs@vger.kernel.org Cc: netfs@lists.linux.dev Signed-off-by: Christian Brauner <brauner@kernel.org>
1 parent 0e60bae commit 74ee76b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

fs/smb/client/cifssmb.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1715,6 +1715,7 @@ cifs_writev_callback(struct mid_q_entry *mid)
17151715
break;
17161716
case MID_REQUEST_SUBMITTED:
17171717
case MID_RETRY_NEEDED:
1718+
__set_bit(NETFS_SREQ_NEED_RETRY, &wdata->subreq.flags);
17181719
result = -EAGAIN;
17191720
break;
17201721
default:

0 commit comments

Comments
 (0)