Re: 2.5.59 NFS server keeps local fs live after being stopped

From: Mikael Pettersson (mikpe@csd.uu.se)
Date: Tue Feb 04 2003 - 08:00:43 EST


Neil Brown writes:
> On Thursday January 30, neilb@cse.unsw.edu.au wrote:
> > On Wednesday January 29, mikpe@csd.uu.se wrote:
> > > Neil Brown writes:
> > > > On Wednesday January 29, mikpe@csd.uu.se wrote:
> > > > > Kernel 2.5.59. A local ext2 file system is mounted at $MNTPNT
> > > > > and exported through NFS V3. A client mounts and unmounts it,
> > > > > w/o any I/O in between. The NFS server is shut down. Nothing in
> > > > > user-space refers to $MNTPNT.
> > > > >
> > > > > The bug is that $MNTPNT now can't be unmounted. umount fails with
> > > > > "device is busy". A forced umount at shutdown fails with "device
> > > > > or resource busy" and "illegal seek", and leaves the underlying
> > > > > fs marked dirty.
> ....
> >
> > Ok, it defaintely sounds like a leak. I'll be back at my desk on
> > Monday and I will try to reproduce it and explore the situation then.
> >
> > NeilBrown
>
> Found and fixed... the following patch should make it work for you.

Nope. I still get the same behaviour as before, i.e. unable to umount
the underlying fs after nfsd has been shut down.

/Mikael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 07 2003 - 22:00:14 EST