Re: hang in writeback code on nfsv4 mount

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Wed, 2010-08-25 at 11:44 -0400, J. Bruce Fields wrote:
> > sudo mount -t nfs4 sauron:/home/dedekind/ /mnt/sauron_home/
> > 
> > works fine. Any hints about how to reproduce this are welcome.
> 
> Huh.  The simple mount hits it every time for me.  I'll investigate some
> more.

If you have any hints for me, please let me know. Note, I do not know
much about NFS and I very rarely use it. I'm very interested to
investigate this and fix, but I'm going to LinuxCon Brasil soon so not
sure I'll be able to look at this next week. But if there is a way to
reproduce this with a single laptop (without having 2 hosts separate
hosts, may be using localhost?) - I can look at this while being at the
conference as well :-)

> > I'll try to look at the code and figure out why this could happen.
> > 
> > So, does the mount at some point succeed? Or it is blocked forever? And
> > sysrq-t output would be useful to look at as well.
> 
> It's blocked forever as far as I can tell.  I'll get a sysrq-t trace.
> 
> > Also, it is strange that 'sys_mount()' involves 'nfs4_kill_super()' - is
> > this normal or this is an error path?
> 
> NFSv4 uses a temporary private namespace to look up the initial mount
> path--see c02d7adf8c5429727a98bad1d039bccad4c61c50 and preceding commits
> for explanation.  So this may well be normal (but I haven't looked at it
> closely).

Ok, thanks.

> Hm, my mount path has a mountpoint in it--if sauron:/home/dedekind/
> doesn't, then that's a difference between our setups.

Err, you mean that /home/dedekind on my NFS4 server should be a mount
point? Yes, it is an ext4 FS.

> > [1]: the kernel tree does not compile on this commit, and I applied
> > patch on top to solve the compilation issue:
> > 387ac089361fbe5ef287e6950c5c40f6b18e5c55 "block: fix missing export of
> > blk_types.h"
> 
> Maybe you only hit that if you do headers_install or headers_check?

Yes, this goes from headers_check, but I only run make -j11 and it runs
headers_check at the end, I do not do this explicitly.

Anyway, I'll try to reproduce / look at this tomorrow some more. May be
mount, then stress test, then unmount will help. I was distracted today
and did not really spend enough time to this.

Artem.

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux