Hi, On Sun, 10 Oct 1999 16:57:18 +0200 (CEST), Andrea Arcangeli <[EMAIL PROTECTED]> said: > My point was that even being forced to do a lookup before creating > each empty buffer, will be still faster than 2.2.x as in 2.3.x the hash > will contain only metadata. Less elements means faster lookups. The _fast_ quick fix is to maintain a per-inode list of dirty buffers and to invalidate that list when we do a delete. This works for directories if we only support truncate back to zero --- it obviously gets things wrong if we allow partial truncates of directories (but why would anyone want to allow that?!) This would have minimal performance implication and would also allow fast fsync() of indirect block metadata for regular files. --Stephen
- Re: [possible race in ext2] Re: how to write get_block? Ingo Molnar
- Re: [possible race in ext2] Re: how to write get_b... Mikulas Patocka
- Re: [possible race in ext2] Re: how to write get_b... Alexander Viro
- Re: [possible race in ext2] Re: how to write g... Matti Aarnio
- Re: [possible race in ext2] Re: how to write g... Ingo Molnar
- [patch] [possible race in ext2] Re: how to write get_bl... Mikulas Patocka
- Re: [patch] [possible race in ext2] Re: how to wri... Andrea Arcangeli
- Re: [patch] [possible race in ext2] Re: how to... Ingo Molnar
- Re: [patch] [possible race in ext2] Re: how to... Andrea Arcangeli
- [patch] 2.3.20 simple fs-corruption fix [Re: [... Andrea Arcangeli
- Re: [patch] [possible race in ext2] Re: how to... Stephen C. Tweedie
- Re: [patch] [possible race in ext2] Re: how to... Alexander Viro
- Re: [patch] [possible race in ext2] Re: how to... Eric W. Biederman
- Re: [patch] [possible race in ext2] Re: how to... Stephen C. Tweedie
- Re: [patch] [possible race in ext2] Re: how to... Raul Miller
- Re: [patch] [possible race in ext2] Re: how to... Stephen C. Tweedie
- Re: [patch] [possible race in ext2] Re: how to... Steve Dodd
- Re: [patch] [possible race in ext2] Re: how to... Andrea Arcangeli
- Re: [patch] [possible race in ext2] Re: how to... tytso
- Re: [patch] [possible race in ext2] Re: how to... Mikulas Patocka
- Re: [patch] [possible race in ext2] Re: how to... Stephen C. Tweedie