diff options
author | Dai Ngo <dai.ngo@oracle.com> | 2023-01-12 03:06:51 +0300 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2023-01-12 17:38:30 +0300 |
commit | 7c24fa225081f31bc6da6a355c1ba801889ab29a (patch) | |
tree | 6f829666e4f97f71627481a4002bfdfd88186443 /fs/orangefs | |
parent | f385f7d244134246f984975ed34cd75f77de479f (diff) | |
download | linux-7c24fa225081f31bc6da6a355c1ba801889ab29a.tar.xz |
NFSD: replace delayed_work with work_struct for nfsd_client_shrinker
Since nfsd4_state_shrinker_count always calls mod_delayed_work with
0 delay, we can replace delayed_work with work_struct to save some
space and overhead.
Also add the call to cancel_work after unregister the shrinker
in nfs4_state_shutdown_net.
Signed-off-by: Dai Ngo <dai.ngo@oracle.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/orangefs')
0 files changed, 0 insertions, 0 deletions