lkml.org 
[lkml]   [2002]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: (fwd) Re: [RFC] mount flag "direct"
On Tue, 3 Sep 2002, Peter T. Breuer wrote:

> > in addition you will have lots of potential races as one system reads a
> > block of data, modifies it, then writes it while the other system does the
>
> Uh, I am confident that there can be no races with respect to data
> writes provided I manage to make the VFS operations atomic via
> appropriate shared locking. What one has to get rid of is cached
> metadata state. I'm open to suggestions.

well you will have to change the filesystems to attempt your new atomic
VFS operations, today the kernel ext2 driver can just aquire a lock,
diddle with whatever it wants, and write the result. it doesn't do
anything that the VFS will see as atomic.

David Lang

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

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