From: Greg Banks <gnb@melbourne.sgi.com>
To: raven@themaw.net
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>,
Linux NFS Mailing List <nfs@lists.sourceforge.net>
Subject: Re: [PATCH] SGI 882960: Busy inodes after unmount, oops
Date: Thu, 05 Feb 2004 09:56:47 +1100 [thread overview]
Message-ID: <402178AF.4180DDC8@melbourne.sgi.com> (raw)
In-Reply-To: Pine.LNX.4.58.0402042209030.26014@raven.themaw.net
raven@themaw.net wrote:
>
> This message has occasionally been seen for a very log time when using
> autofs but I've never seen an oops follow it???
Good luck, I guess. The oopses aren't deterministic, but on an Altix I
get them seconds to minutes after one of every few dozen umounts which
give the message.
The failure mode is that the NFS inode of the parent dir of the silly
renamed file remains used (i_count=1 for the leaked dentry) but i_sb points
to freed memory. This memory gets reused and overwritten with what appears
to be ASCII strings. Later, prune_dcache comes along and tries to get rid
of the inode, and iput dies while trying to call inode->i_sb->s_op->put_inode.
I've seen three different stack traces in oopses, all going through
prune_dcache.
> About the only thing that I'm sure of is that this happens at umount time
> in autofs, and with my latest code, only when there is a accompanying
> directory removal.
There may well be another similar bug as well.
> This is very hard to trigger so testing is difficult.
You could try turning the autofs expiry timer down to <5 sec and doing
lots of automount/create/delete/umount cycles. FWIW, it may be relevant
that for my tests the NFS server was a lot slower than the client and
was only connected by 100BaseT.
Greg.
--
Greg Banks, R&D Software Engineer, SGI Australian Software Group.
I don't speak for SGI.
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
next prev parent reply other threads:[~2004-02-04 22:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-04 7:12 [PATCH] SGI 882960: Busy inodes after unmount, oops Greg Banks
2004-02-04 10:42 ` Olaf Kirch
2004-02-04 22:59 ` Greg Banks
2004-02-04 12:09 ` Olaf Kirch
2004-02-04 22:41 ` Greg Banks
2004-02-05 16:15 ` Olaf Kirch
2004-02-05 22:23 ` Greg Banks
2004-02-06 5:50 ` Greg Banks
2004-02-13 16:26 ` canon
2004-02-04 14:24 ` raven
2004-02-04 22:56 ` Greg Banks [this message]
2004-02-05 12:40 ` James Pearson
2004-02-09 7:46 ` Greg Banks
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=402178AF.4180DDC8@melbourne.sgi.com \
--to=gnb@melbourne.sgi.com \
--cc=nfs@lists.sourceforge.net \
--cc=raven@themaw.net \
--cc=trond.myklebust@fys.uio.no \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.