aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorOlga Kornievskaia <[email protected]>2024-12-17 21:18:12 +0000
committerChuck Lever <[email protected]>2024-12-17 21:35:53 +0000
commit9048cf05a17a7bc26f0b8e2e53750b1237303970 (patch)
tree49ea2b93eea1f8b13eaeda3b09b826f1acab39c1 /drivers/platform/x86/intel/pmt/class.c
parentnfsd: Revert "nfsd: release svc_expkey/svc_export with rcu_work" (diff)
downloadkernel-9048cf05a17a7bc26f0b8e2e53750b1237303970.tar.gz
kernel-9048cf05a17a7bc26f0b8e2e53750b1237303970.zip
NFSD: fix management of pending async copies
Currently the pending_async_copies count is decremented just before a struct nfsd4_copy is destroyed. After commit aa0ebd21df9c ("NFSD: Add nfsd4_copy time-to-live") nfsd4_copy structures sticks around for 10 lease periods after the COPY itself has completed, the pending_async_copies count stays high for a long time. This causes NFSD to avoid the use of background copy even though the actual background copy workload might no longer be running. In this patch, decrement pending_async_copies once async copy thread is done processing the copy work. Fixes: aa0ebd21df9c ("NFSD: Add nfsd4_copy time-to-live") Signed-off-by: Olga Kornievskaia <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions