diff options
author | Ingo Molnar <mingo@kernel.org> | 2019-04-10 03:14:42 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2019-04-10 03:14:42 -0400 |
commit | 54bbfe75cbb10384b0a62efae80fde21deea1dd0 (patch) | |
tree | eed22c29cdecce36153bbb83ee7a9da7eed60ccd /fs/cifs/cifsglob.h | |
parent | ddb20d1d3aed8f130519c0a29cd5392efcc067b8 (diff) | |
parent | 771acc7e4a6e5dba779cb1a7fd851a164bc81033 (diff) |
Merge branch 'linus' into locking/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 38feae812b47..5b18d4585740 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h | |||
@@ -60,6 +60,12 @@ | |||
60 | #define CIFS_MAX_ACTIMEO (1 << 30) | 60 | #define CIFS_MAX_ACTIMEO (1 << 30) |
61 | 61 | ||
62 | /* | 62 | /* |
63 | * Max persistent and resilient handle timeout (milliseconds). | ||
64 | * Windows durable max was 960000 (16 minutes) | ||
65 | */ | ||
66 | #define SMB3_MAX_HANDLE_TIMEOUT 960000 | ||
67 | |||
68 | /* | ||
63 | * MAX_REQ is the maximum number of requests that WE will send | 69 | * MAX_REQ is the maximum number of requests that WE will send |
64 | * on one socket concurrently. | 70 | * on one socket concurrently. |
65 | */ | 71 | */ |
@@ -586,6 +592,7 @@ struct smb_vol { | |||
586 | struct nls_table *local_nls; | 592 | struct nls_table *local_nls; |
587 | unsigned int echo_interval; /* echo interval in secs */ | 593 | unsigned int echo_interval; /* echo interval in secs */ |
588 | __u64 snapshot_time; /* needed for timewarp tokens */ | 594 | __u64 snapshot_time; /* needed for timewarp tokens */ |
595 | __u32 handle_timeout; /* persistent and durable handle timeout in ms */ | ||
589 | unsigned int max_credits; /* smb3 max_credits 10 < credits < 60000 */ | 596 | unsigned int max_credits; /* smb3 max_credits 10 < credits < 60000 */ |
590 | }; | 597 | }; |
591 | 598 | ||
@@ -1058,6 +1065,7 @@ struct cifs_tcon { | |||
1058 | __u32 vol_serial_number; | 1065 | __u32 vol_serial_number; |
1059 | __le64 vol_create_time; | 1066 | __le64 vol_create_time; |
1060 | __u64 snapshot_time; /* for timewarp tokens - timestamp of snapshot */ | 1067 | __u64 snapshot_time; /* for timewarp tokens - timestamp of snapshot */ |
1068 | __u32 handle_timeout; /* persistent and durable handle timeout in ms */ | ||
1061 | __u32 ss_flags; /* sector size flags */ | 1069 | __u32 ss_flags; /* sector size flags */ |
1062 | __u32 perf_sector_size; /* best sector size for perf */ | 1070 | __u32 perf_sector_size; /* best sector size for perf */ |
1063 | __u32 max_chunks; | 1071 | __u32 max_chunks; |