All of lore.kernel.org
 help / color / mirror / Atom feed
* VFS: Busy inodes after unmount on 2 way SMP
@ 2003-09-12  0:11 Arun Sharma
  2003-09-12  1:05 ` H. Peter Anvin
                   ` (2 more replies)
  0 siblings, 3 replies; 54+ messages in thread
From: Arun Sharma @ 2003-09-12  0:11 UTC (permalink / raw)
  To: autofs; +Cc: nfs


We've seen a few "VFS: Busy inodes after unmount. Self-destruct in 5 seconds.  Have a nice day.." messages on a dual processor NFS client. Here's the use case:

- Due to network load issues, the NFS server becomes unreachable for some time
- The automounter tries to expire the mount
- The unmount finds a couple of busy inodes. Putting some debug printks shows that typically two inodes are busy i.e. have inode->i_count == 1. But they don't have any waiters on inode->i_wait. Further, the inodes that are busy are
/mnt/foo     -> autofs mount point
/mnt/foo/bar -> bar is a symbolic link

It's not clear if this is a NFS issue or a autofs issue, but it's seen often with autofs. Are there any known race conditions that have been fixed after 2.4.20 ? The two calls I'm worried about are:

fs/autofs/root.c:305:    d_instantiate(dentry, iget(dir->i_sb,ent->ino));
fs/autofs/root.c:416:    d_instantiate(dentry, iget(dir->i_sb,ino));

    -Arun




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 54+ messages in thread
* Re: [NFS] VFS: Busy inodes after unmount on 2 way SMP
@ 2003-09-12 23:58 Ion Badulescu
  2003-09-13  0:34 ` H. Peter Anvin
  0 siblings, 1 reply; 54+ messages in thread
From: Ion Badulescu @ 2003-09-12 23:58 UTC (permalink / raw)
  To: autofs

Sorry, I got the autofs list address wrong the first time around. -Ion

---------- Forwarded message ----------

On Thu, 11 Sep 2003 17:11:40 -0700, Arun Sharma <arun.sharma@intel.com> wrote:

> We've seen a few "VFS: Busy inodes after unmount. Self-destruct in 5 seconds.  Have a nice day.." messages on a dual processor NFS client. Here's the use case:
> 
> - Due to network load issues, the NFS server becomes unreachable for some time
> - The automounter tries to expire the mount
> - The unmount finds a couple of busy inodes. Putting some debug printks shows that typically two inodes are busy i.e. have inode->i_count == 1. But they don't have any waiters on inode->i_wait. Further, the inodes that are busy are
> /mnt/foo     -> autofs mount point
> /mnt/foo/bar -> bar is a symbolic link
> 
> It's not clear if this is a NFS issue or a autofs issue, but it's seen often with autofs. Are there any known race conditions that have been fixed after 2.4.20 ? The two calls I'm worried about are:
> 
> fs/autofs/root.c:305:    d_instantiate(dentry, iget(dir->i_sb,ent->ino));
> fs/autofs/root.c:416:    d_instantiate(dentry, iget(dir->i_sb,ino));

I don't know if it's the same issue, but I've seen it many many times 
while testing amd's autofs functionality. It occurs when a non-empty 
autofs filesystem is unmounted, e.g. if it has some leftover 
subdirectories from previous mounts. Therefore I'd say it's quite 
clearly an autofs issue, at least in my case.

Do you see it when shutting down the automounter, or in other cases as 
well?

Ion

-- 
  It is better to keep your mouth shut and be thought a fool,
            than to open it and remove all doubt.

^ permalink raw reply	[flat|nested] 54+ messages in thread

end of thread, other threads:[~2003-10-01 12:56 UTC | newest]

Thread overview: 54+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-12  0:11 VFS: Busy inodes after unmount on 2 way SMP Arun Sharma
2003-09-12  1:05 ` H. Peter Anvin
2003-09-12 14:23   ` Ryan Go
2003-09-12 17:57   ` Arun Sharma
2003-09-12 20:51     ` H. Peter Anvin
2003-09-12 23:33 ` Ion Badulescu
2003-09-13  0:08   ` Arun Sharma
2003-09-13  0:16     ` Ion Badulescu
2003-09-13  0:16       ` Ion Badulescu
2003-09-15 21:42       ` [NFS] " Arun Sharma
2003-09-15 22:25         ` H. Peter Anvin
2003-09-15 22:34           ` Arun Sharma
2003-09-15 23:42           ` Ion Badulescu
2003-09-16  1:34             ` [autofs] " Matt C
2003-09-16  1:34               ` Matt C
2003-09-19  2:57               ` Frank Cusack
2003-09-16 20:37           ` Re: [NFS] " Arun Sharma
2003-09-16 20:54             ` H. Peter Anvin
2003-09-17  0:28 ` Ian Kent
2003-09-17  2:05   ` Arun Sharma
2003-09-17  2:28     ` H. Peter Anvin
2003-09-17  4:56       ` Ian Kent
2003-09-17  4:52     ` Ian Kent
2003-09-17 17:47       ` Arun Sharma
2003-09-17 20:41         ` H. Peter Anvin
2003-09-17 21:00           ` Olaf Hering
2003-09-18  0:31             ` Ian Kent
2003-09-18  5:04               ` Olaf Hering
2003-09-18  5:52             ` Re: [autofs] " Trond Myklebust
2003-09-18  8:26               ` Olaf Kirch
2003-09-19 23:36               ` [NFS] " Olaf Hering
2003-09-25 23:17               ` Re: [autofs] " Matt C
2003-09-25 23:17                 ` Matt C
2003-09-26  0:24                 ` Trond Myklebust
2003-09-26  0:24                   ` Trond Myklebust
2003-09-26 18:31                   ` [NFS] " Ion Badulescu
2003-09-26 22:29                     ` Re: [autofs] " Trond Myklebust
2003-09-27 16:55                       ` Olaf Kirch
2003-09-28 23:16                         ` Steve Fosdick
2003-09-29 12:07                       ` Ion Badulescu
2003-09-29 17:22                         ` Trond Myklebust
2003-09-30 12:50                           ` Olaf Kirch
2003-09-30 13:31                             ` Trond Myklebust
2003-09-29  3:27                 ` Frank Cusack
2003-09-18  2:26           ` [NFS] " Ion Badulescu
2003-09-18  2:54             ` H. Peter Anvin
2003-09-29 12:19               ` Ion Badulescu
2003-09-30 12:24                 ` Ian Kent
2003-09-30 12:51                   ` Mike Waychison
2003-10-01 12:56                     ` Ian Kent
2003-09-30 13:12                   ` Ion Badulescu
2003-09-30 16:44                     ` Ian Kent
2003-09-17 13:14   ` Ryan Go
  -- strict thread matches above, loose matches on Subject: below --
2003-09-12 23:58 [NFS] " Ion Badulescu
2003-09-13  0:34 ` H. Peter Anvin

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.