From: Chuck Lever <chuck.lever@xxxxxxxxxx> On Tue, 05 Nov 2024 19:03:14 +0800, Yang Erkun wrote: > The action force umount(umount -f) will attempt to kill all rpc_task even > umount operation may ultimately fail if some files remain open. > Consequently, if an action attempts to open a file, it can potentially > send two rpc_task to nfs server. > > NFS CLIENT > thread1 thread2 > open("file") > ... > nfs4_do_open > _nfs4_do_open > _nfs4_open_and_get_state > _nfs4_proc_open > nfs4_run_open_task > /* rpc_task1 */ > rpc_run_task > rpc_wait_for_completion_task > > [...] Applied to nfsd-next for v6.13, thanks! [1/1] nfsd: fix nfs4_openowner leak when concurrent nfsd4_open occur commit: 519cdbfe501ddf4a29b9c72b6961c58a33afb041 -- Chuck Lever