diff options
author | Shyam Prasad N <sprasad@microsoft.com> | 2024-01-17 06:09:16 +0000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-01-19 10:31:57 -0600 |
commit | ce09f8d8a7130e6edfdd6fcad8eb277824d5de95 (patch) | |
tree | 96e9e37fc12b6bd173b8428a0acff804b08584a2 /fs/smb/client/cifsglob.h | |
parent | 49fe25ce838183afac20f40457157ec009a86930 (diff) | |
download | linux-stable-ce09f8d8a7130e6edfdd6fcad8eb277824d5de95.tar.gz linux-stable-ce09f8d8a7130e6edfdd6fcad8eb277824d5de95.tar.bz2 linux-stable-ce09f8d8a7130e6edfdd6fcad8eb277824d5de95.zip |
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>
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 49ec4d3713fe..20036fb16cec 100644 --- a/fs/smb/client/cifsglob.h +++ b/fs/smb/client/cifsglob.h @@ -753,6 +753,7 @@ struct TCP_Server_Info { unsigned int max_read; unsigned int max_write; unsigned int min_offload; + unsigned int retrans; __le16 compress_algorithm; __u16 signing_algorithm; __le16 cipher_type; |