Messages in this thread | | | From | David Lang <> | Date | Tue, 3 Sep 2002 16:05:27 -0700 (PDT) | Subject | Re: (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/
| |