diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2024-07-15 08:29:39 +0900 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-07-14 21:45:40 -0500 |
commit | d484d621d40f4a8b8959008802d79bef3609641b (patch) | |
tree | 0338a09c12a39c327f1bd02720391dd8075999dd /fs/smb/server/smb2pdu.c | |
parent | 520da3c488c5bb177871634e713eb8a106082e6b (diff) |
ksmbd: add durable scavenger timer
Launch ksmbd-durable-scavenger kernel thread to scan durable fps that
have not been reclaimed by a client within the configured time.
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/smb/server/smb2pdu.c')
-rw-r--r-- | fs/smb/server/smb2pdu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/smb/server/smb2pdu.c b/fs/smb/server/smb2pdu.c index 840c71c66b30..37a39ab4ee65 100644 --- a/fs/smb/server/smb2pdu.c +++ b/fs/smb/server/smb2pdu.c @@ -3526,7 +3526,7 @@ int smb2_open(struct ksmbd_work *work) SMB2_CREATE_GUID_SIZE); if (dh_info.timeout) fp->durable_timeout = min(dh_info.timeout, - 300000); + DURABLE_HANDLE_MAX_TIMEOUT); else fp->durable_timeout = 60; } |