Re: ext2 directory size bug (?)

2000-12-02 Thread Kai Henningsen
[EMAIL PROTECTED] (Alexander Viro) wrote on 02.12.00 in <[EMAIL PROTECTED]>: > On Sat, 2 Dec 2000, Chris Wedgwood wrote: > > > On Sat, Dec 02, 2000 at 12:14:34AM -0500, Alexander Viro wrote: > > > > Not really. Anything that modifies directories holds both ->i_sem and > > ->i_zombie,

Re: ext2 directory size bug (?)

2000-12-02 Thread Kai Henningsen
[EMAIL PROTECTED] (Alexander Viro) wrote on 02.12.00 in [EMAIL PROTECTED]: On Sat, 2 Dec 2000, Chris Wedgwood wrote: On Sat, Dec 02, 2000 at 12:14:34AM -0500, Alexander Viro wrote: Not really. Anything that modifies directories holds both -i_sem and -i_zombie, lookups hold

Re: ext2 directory size bug (?)

2000-12-01 Thread Alexander Viro
On Sat, 2 Dec 2000, Chris Wedgwood wrote: > On Sat, Dec 02, 2000 at 12:14:34AM -0500, Alexander Viro wrote: > > Not really. Anything that modifies directories holds both ->i_sem and > ->i_zombie, lookups hold ->i_sem and emptiness checks (i.e. victim in > rmdir and overwriting

Re: ext2 directory size bug (?)

2000-12-01 Thread Alexander Viro
On Sat, 2 Dec 2000, Chris Wedgwood wrote: > On Thu, Nov 30, 2000 at 08:24:02AM -0500, Richard B. Johnson wrote: > > This is actually a feature. The directory does not get truncated. > > Arguably directories could be truncated when objects towards the end > are removed; I believe UFS

Re: ext2 directory size bug (?)

2000-12-01 Thread Alexander Viro
On Sat, 2 Dec 2000, Chris Wedgwood wrote: On Thu, Nov 30, 2000 at 08:24:02AM -0500, Richard B. Johnson wrote: This is actually a feature. The directory does not get truncated. Arguably directories could be truncated when objects towards the end are removed; I believe UFS under

Re: ext2 directory size bug (?)

2000-12-01 Thread Alexander Viro
On Sat, 2 Dec 2000, Chris Wedgwood wrote: On Sat, Dec 02, 2000 at 12:14:34AM -0500, Alexander Viro wrote: Not really. Anything that modifies directories holds both -i_sem and -i_zombie, lookups hold -i_sem and emptiness checks (i.e. victim in rmdir and overwriting rename)

Re: ext2 directory size bug (?)

2000-11-30 Thread Richard B. Johnson
On Thu, 30 Nov 2000, Steven Van Acker wrote: > It this is a known thing, please don't kill me... > Hmm, gonna try to follow the REPORTING-BUGS file here... It is not a bug. Directory entries increase in size as allocation units are added to handle directory entries. Once allocated, they are not

Re: ext2 directory size bug (?)

2000-11-30 Thread Richard B. Johnson
On Thu, 30 Nov 2000, Steven Van Acker wrote: It this is a known thing, please don't kill me... Hmm, gonna try to follow the REPORTING-BUGS file here... It is not a bug. Directory entries increase in size as allocation units are added to handle directory entries. Once allocated, they are not

Re: ext2 directory size bug (?)

2000-11-29 Thread Andreas Dilger
You write: > Hmm, gonna try to follow the REPORTING-BUGS file here... > > [1.] One line summary of the problem: > > directory size increases when adding 0-size files, > but doesn't decrease when removing them. It may or may not be considered a bug, but in any case it has been like

ext2 directory size bug (?)

2000-11-29 Thread Steven Van Acker
It this is a known thing, please don't kill me... Hmm, gonna try to follow the REPORTING-BUGS file here... [1.] One line summary of the problem: directory size increases when adding 0-size files, but doesn't decrease when removing them. [2.] Full description of the problem/report:

ext2 directory size bug (?)

2000-11-29 Thread Steven Van Acker
It this is a known thing, please don't kill me... Hmm, gonna try to follow the REPORTING-BUGS file here... [1.] One line summary of the problem: directory size increases when adding 0-size files, but doesn't decrease when removing them. [2.] Full description of the problem/report:

Re: ext2 directory size bug (?)

2000-11-29 Thread Andreas Dilger
You write: Hmm, gonna try to follow the REPORTING-BUGS file here... [1.] One line summary of the problem: directory size increases when adding 0-size files, but doesn't decrease when removing them. It may or may not be considered a bug, but in any case it has been like this