Re: nfsv2 ref leak in 2.6.24?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Erez Zadok
Date: Friday, October 19, 2007 - 2:40 pm

In message <1192801277.7073.4.camel@heimdal.trondhjem.org>, Trond Myklebust writes:

Trond, I was able to narrow down the problem w/o using unionfs at all (yay!
:-).  All I do is setup a loop device, mkfs it as ext2, mount it, then
export it to localhost and mount it locally as nfs2.  I go and touch a new
file in the ext2 directory.  Then I readdir the export point to find the new
file indeed.  Then I stat(1) the new file, and get the appropriate stat
output.  Now the strange thing is that right after the stat through the
export point, the file DISAPPEARS from the lower ext2 dir, but REAPPEARS a
few seconds later.

It doesn't happen all the time, so it feels like some sort of a race or
timing-related bug.  And it only happens w/ nfs2 on 2.6.24 (v3/4 work fine;
v2/3/4 work find in previous kernels).

I'm trying to get a script that'll be able to reproduce this for you more
deterministically.

BTW, does your just-posted set of patches, subject "[GIT] NFS client fixes
for 2.6.23++" possibly fix this?  I can try it and let you know.

Hope this helps for now.

Erez.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
nfsv2 ref leak in 2.6.24?, Erez Zadok, (Thu Oct 18, 10:49 pm)
Re: nfsv2 ref leak in 2.6.24?, Trond Myklebust, (Fri Oct 19, 6:41 am)
Re: nfsv2 ref leak in 2.6.24? , Erez Zadok, (Fri Oct 19, 2:40 pm)
Re: nfsv2 ref leak in 2.6.24?, Trond Myklebust, (Fri Oct 19, 2:52 pm)
Re: nfsv2 ref leak in 2.6.24? , Erez Zadok, (Fri Oct 19, 3:59 pm)
Re: nfsv2 ref leak in 2.6.24? , Erez Zadok, (Fri Oct 19, 7:33 pm)
Re: nfsv2 ref leak in 2.6.24?, Trond Myklebust, (Sat Oct 20, 10:12 am)
Re: nfsv2 ref leak in 2.6.24? , Erez Zadok, (Sat Oct 20, 12:04 pm)
Re: nfsv2 ref leak in 2.6.24? , Erez Zadok, (Sat Oct 20, 2:35 pm)
Re: nfsv2 ref leak in 2.6.24?, Trond Myklebust, (Sun Oct 21, 9:58 am)
Re: nfsv2 ref leak in 2.6.24? , Erez Zadok, (Sun Oct 21, 3:18 pm)