cifs: new mount option called retrans
authorShyam Prasad N <sprasad@microsoft.com>
Wed, 17 Jan 2024 06:09:16 +0000 (06:09 +0000)
committerSteve French <stfrench@microsoft.com>
Fri, 19 Jan 2024 16:31:57 +0000 (10:31 -0600)
commitce09f8d8a7130e6edfdd6fcad8eb277824d5de95
tree96e9e37fc12b6bd173b8428a0acff804b08584a2
parent49fe25ce838183afac20f40457157ec009a86930
cifs: new mount option called retrans

We have several places in the code where we treat the
error -EAGAIN very differently. Some code retry for
arbitrary number of times.

Introducing this new mount option named "retrans", so
that all these handlers of -EAGAIN can retry a fixed
number of times. This applies only to soft mounts.

Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/cifsfs.c
fs/smb/client/cifsglob.h
fs/smb/client/connect.c
fs/smb/client/fs_context.c
fs/smb/client/fs_context.h