Re: [datapoint] Re: 2.5.7 rm -r in tmpfs problem

From: Alexander Viro (viro@math.psu.edu)
Date: Sat Mar 23 2002 - 10:41:17 EST


On Sat, 23 Mar 2002, Mike Galbraith wrote:

> On Fri, 22 Mar 2002, Mike Galbraith wrote:
>
> > Greetings,
> >
> > While doing some testing, I ran into a problem where rm -r doesn't
> > remove all files in a tmpfs directory is there are lots of files
> > in that directory. (rm -rf linux is failing)
>
> I traced this back to the locking changes introduced in 2.5.5-pre1,
> and verified it by moving the changes for the filesystems I use into
> an otherwise pristine 2.4.4.

2.5.4, probably?

There are known problems with rm(1) on ramfs/tmpfs/etc. - the thing assumes
that offsets in directory remain stable after unlink(2), but locking changes
didn't affect. Could you send me strace for 2.5.4 and 2.5.5-pre1?

-
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 : Sat Mar 23 2002 - 22:00:29 EST