lkml.org 
[lkml]   [1999]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] [possible race in ext2] Re: how to write get_block?
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


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.719 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site