diff options
author | Paulo Alcantara <pc@manguebit.com> | 2023-10-05 22:04:25 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-10-12 17:41:04 +0300 |
commit | e95f3f74465072c2545d8e65a3c3a96e37129cf8 (patch) | |
tree | d0301b7a7efda7e19b0f158d78c308dd7507d929 /fs/jbd2/commit.c | |
parent | 94f6f0550c625fab1f373bb86a6669b45e9748b3 (diff) | |
download | linux-e95f3f74465072c2545d8e65a3c3a96e37129cf8.tar.xz |
smb: client: make laundromat a delayed worker
By having laundromat kthread processing cached directories on every
second turned out to be overkill, especially when having multiple SMB
mounts.
Relax it by using a delayed worker instead that gets scheduled on
every @dir_cache_timeout (default=30) seconds per tcon.
This also fixes the 1s delay when tearing down tcon.
Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions