On Wed, 3 Jan 2001, Alexander Viro wrote: > On Wed, 3 Jan 2001, Stephen C. Tweedie wrote: > > > Having preallocated blocks allocated immediately is deliberate: > > directories grow slowly and remain closed most of the time, so the > > normal preallocation regime of only preallocating open files and > > discarding preallocation on close just doesn't work. > > Erm. For directories we would not have the call of discard_prealloc() > on close(2) - they have NULL ->release() anyway and for them it would > happen only on ext2_put_inode(), i.e. upon the final dput(). Which would > not happen while some descendent would stay in dcache. I bet it long predates dcache though.. -- "Love the dolphins," she advised him. "Write by W.A.S.T.E.." - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- [CFT][RFC] ext2_new_inode() fixes and cleanup Alexander Viro
- Re: [CFT][RFC] ext2_new_inode() fixes and cleanup Theodore Y. Ts'o
- Re: [CFT][RFC] ext2_new_inode() fixes and clea... Alexander Viro
- Re: [CFT][RFC] ext2_new_inode() fixes and cleanup Andreas Dilger
- Re: [CFT][RFC] ext2_new_inode() fixes and clea... Alexander Viro
- [RFC] ext2_new_block() behaviour Alexander Viro
- Re: [RFC] ext2_new_block() behaviour Andreas Dilger
- Re: [RFC] ext2_new_block() behaviour Alexander Viro
- Re: [Ext2-devel] Re: [RFC] ext2_n... Stephen C. Tweedie
- Re: [Ext2-devel] Re: [RFC] ex... Alexander Viro
- Re: [Ext2-devel] Re: [RFC... Oliver Xymoron
- Re: [Ext2-devel] Re: [RFC... Alexander Viro
- Re: [Ext2-devel] Re: [RFC... Oliver Xymoron
- Re: [Ext2-devel] Re: [RFC... Stephen C. Tweedie
- Re: [Ext2-devel] Re: [RFC... Alexander Viro
- -bird tree Re: [Ext2-deve... Marcelo Tosatti
- Re: [Ext2-devel] Re: [RFC... Stephen C. Tweedie
- Re: [Ext2-devel] Re: [RFC... Andreas Dilger
- Re: [Ext2-devel] Re: [RFC... Stephen C. Tweedie