On Fri, 8 Oct 1999, Alexander Viro wrote: > Stephen, Ingo, could you look at the stuff above? Methink it means that we > either must separate ext2_truncate() for directories (doing bforget() on > the data blocks) _or_ put the directory blocks into the page cache and do > block_flush(). I'ld rather prefer the latter. Moreover, we can stuff the > indirect blocks into the page cache too (using negative offsets). That > would leave us with pure buffer cache only for static structures. yep we knew about this problem ... it's not quite an easy hack though. Putting the directory block cache (and symlink block cache) into the page cache would be the preferred method - this would also clean up the code alot i think. -- mingo
- how to write get_block? Mikulas Patocka
- Re: how to write get_block? Jan Kara
- Re: how to write get_block? Mikulas Patocka
- Re: how to write get_block? Alexander Viro
- Re: how to write get_block? Mikulas Patocka
- [possible race in ext2] Re: how to wri... Alexander Viro
- Re: [possible race in ext2] Re: h... Mikulas Patocka
- Re: [possible race in ext2] Re: h... Ingo Molnar
- Re: [possible race in ext2] R... Mikulas Patocka
- Re: [possible race in ext2] R... Alexander Viro
- Re: [possible race in ext... Matti Aarnio
- Re: [possible race in ext... Ingo Molnar
- [patch] [possible race in ext2] R... Mikulas Patocka
- Re: [patch] [possible race in... Andrea Arcangeli
- Re: [patch] [possible rac... Ingo Molnar
- Re: [patch] [possible rac... Andrea Arcangeli
- [patch] 2.3.20 simple fs-... Andrea Arcangeli
- Re: [patch] [possible rac... Stephen C. Tweedie