commit | b6669305d35a3459877afef6e9f68e81bef92972 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trondmy@gmail.com> | Mon Jan 06 13:18:08 2020 -0500 |
committer | J. Bruce Fields <bfields@redhat.com> | Wed Jan 22 16:25:40 2020 -0500 |
tree | db070c434b3d94b16a7bd43d15f78d25d8443903 | |
parent | 55f84cc47f73bdc84ef73b702c23051b426505a4 [diff] |
nfsd: Reduce the number of calls to nfsd_file_gc() Don't call nfsd_file_gc() on every put of the reference in nfsd_file_put(). Instead, do it only when we're expecting the refcount to go to 1. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>