summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorOlga Kornievskaia <okorniev@redhat.com>2024-12-17 22:18:12 +0100
committerChuck Lever <chuck.lever@oracle.com>2024-12-17 22:35:53 +0100
commit9048cf05a17a7bc26f0b8e2e53750b1237303970 (patch)
tree49ea2b93eea1f8b13eaeda3b09b826f1acab39c1 /drivers/video
parentnfsd: Revert "nfsd: release svc_expkey/svc_export with rcu_work" (diff)
downloadlinux-9048cf05a17a7bc26f0b8e2e53750b1237303970.tar.xz
linux-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 <okorniev@redhat.com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions