Delay in WRITE delegation recall during COMMIT

Trond Myklebust trond.myklebust at fys.uio.no
Thu Aug 17 22:14:18 EDT 2006


On Thu, 2006-08-17 at 15:38 -0500, Ajay Gulati wrote:
> Here the close takes 90 seconds to finish. tcpdump shows that 
> commit fails 4-5 times with NFS4ERR_DELAY, delegation 
> is being recalled as part of nfsd_commit()->nfsd_open()->breaklease() 
> execution path. The server ultimately times out on delegation recall.

That is a server bug. There is _no_ reason for nfsd_commit to be calling
break_lease(): the lease should already have been broken when the client
OPENed the file for writing.

Cheers,
  Trond



More information about the NFSv4 mailing list