From: Artem Bityutskiy <dedekind1@gmail.com>
To: "J. Bruce Fields" <bfields@fieldses.org>
Cc: "linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>,
Trond Myklebust <trond@netapp.com>,
Christoph Hellwig <hch@lst.de>, Jens Axboe <jaxboe@fusionio.com>
Subject: Re: hang in writeback code on nfsv4 mount
Date: Wed, 25 Aug 2010 21:46:11 +0300 [thread overview]
Message-ID: <1282761971.16502.134.camel@brekeke> (raw)
In-Reply-To: <20100825154451.GB14440@fieldses.org>
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.
next prev parent reply other threads:[~2010-08-25 18:46 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-25 2:34 hang in writeback code on nfsv4 mount J. Bruce Fields
2010-08-25 4:09 ` Artem.Bityutskiy
2010-08-25 6:32 ` Artem Bityutskiy
2010-08-25 15:25 ` Bryan Schumaker
2010-08-25 15:44 ` J. Bruce Fields
2010-08-25 18:46 ` Artem Bityutskiy [this message]
2010-08-26 11:24 ` Artem Bityutskiy
2010-08-26 13:20 ` Artem Bityutskiy
2010-08-27 6:13 ` Artem Bityutskiy
2010-08-27 7:12 ` Jens Axboe
2010-08-27 9:36 ` Artem Bityutskiy
2010-08-27 13:06 ` Bryan Schumaker
2010-08-27 16:09 ` J. Bruce Fields
2010-08-27 16:17 ` Artem.Bityutskiy
[not found] ` <10B234E0D3A1CA469E00963BF106CA392D0DB78354-xJW1crHCIS+8kqYwC468Frtp2NbXvJi8gfoxzgwHRXE@public.gmane.org>
2010-08-27 16:21 ` Artem.Bityutskiy
2010-08-27 21:06 ` J. Bruce Fields
2010-08-27 21:28 ` [PATCH] Fix lost wake-up shutting down writeback thread J. Bruce Fields
2010-08-28 1:17 ` Artem.Bityutskiy
2010-08-28 6:50 ` Jens Axboe
2010-08-29 12:21 ` Artem.Bityutskiy
[not found] ` <10B234E0D3A1CA469E00963BF106CA392D0DB78357-xJW1crHCIS+8kqYwC468Frtp2NbXvJi8gfoxzgwHRXE@public.gmane.org>
2010-08-30 11:56 ` Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1282761971.16502.134.camel@brekeke \
--to=dedekind1@gmail.com \
--cc=bfields@fieldses.org \
--cc=hch@lst.de \
--cc=jaxboe@fusionio.com \
--cc=linux-nfs@vger.kernel.org \
--cc=trond@netapp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox