From: Chuck Lever <chuck.lever@xxxxxxxxxx> On Tue, 18 Feb 2025 21:54:23 +0800, Li Lingfeng wrote: > In nfsd4_run_cb, cl_cb_inflight is increased before attempting to queue > cb_work to callback_wq. This count can be decreased in three situations: > 1) If queuing fails in nfsd4_run_cb, the count will be decremented > accordingly. > 2) After cb_work is running, the count is decreased in the exception > branch of nfsd4_run_cb_work via nfsd41_destroy_cb. > 3) The count is decreased in the release callback of rpc_task — either > directly calling nfsd41_cb_inflight_end in nfsd4_cb_probe_release, or > calling nfsd41_destroy_cb in nfsd4_cb_release. > > [...] Applied to nfsd-testing, thanks! [1/1] nfsd: decrease cl_cb_inflight if fail to queue cb_work commit: bcf482e3b1f4e622c6a1bfa971cd8035227b8b56 -- Chuck Lever