G'day! On Tue, 12 Oct 1999, Stephen C. Tweedie wrote: ... > Andrea, you are just trying to relax carefully designed buffer cache > semantics which are relied upon by the current filesystems. Saying it > is a trick doesn't help matters much. Andrea's right in that the semantics make it far too easy to introduce bugs. How about making bforget set a flag that the buffer head is to be destroyed as soon as it's released? If a filesystem re-uses the buffer, mark_buffer_dirty can clear this destroyed flag (to handle the case where a buffer head becomes legitimately reused). -ben
- Re: [patch] [possible race in ext2]... Raul Miller
- Re: [patch] [possible race in ext2]... Stephen C. Tweedie
- Re: [patch] [possible race in ext2]... Steve Dodd
- Re: [patch] [possible race in ext2]... Andrea Arcangeli
- Re: [patch] [possible race in ext2]... tytso
- Re: [patch] [possible race in ext2]... Mikulas Patocka
- Re: [patch] [possible race in ext2]... Stephen C. Tweedie
- Re: [patch] [possible race in ext2]... Andrea Arcangeli
- Re: [patch] [possible race in ext2]... Stephen C. Tweedie
- Re: [patch] [possible race in ext2]... Andrea Arcangeli
- Re: how to write get_block? Benjamin C.R. LaHaise
- Re: how to write get_block? Manfred Spraul
- Re: how to write get_block? Alexander Viro
- Re: how to write get_block? Manfred Spraul
- Re: how to write get_block? Alexander Viro
- Re: how to write get_block? Manfred Spraul
- Re: how to write get_block? Manfred Spraul
- Re: how to write get_block? Alexander Viro
- Re: how to write get_block? Andrea Arcangeli
- Re: how to write get_block? Alexander Viro
- Re: how to write get_block? Andrea Arcangeli