Delay in WRITE delegation recall during COMMIT

J. Bruce Fields bfields at fieldses.org
Thu Aug 17 22:23:34 EDT 2006


On Thu, Aug 17, 2006 at 03:38:22PM -0500, Ajay Gulati wrote:
> Hi All,
> I am testing write delegations on nfsv4 and it seems that there is some 
> sort of loop between COMMIT and DELEGRETURN, that causes commit to take 90 
> seconds on closing of a file.
> The scenario to duplicate is as follows:
> 
> f1 = open(file1, RDONLY)
> close(f1)
> f2 = open(file2, RDWR)	// you will get write delegation
> write(f2, 75KB data)
> f3= open(file2,RDWR)
> close(f2)
> close(f3)

What's the server?  The linux server currently never gives out write
delegations at all.

--b.


More information about the NFSv4 mailing list