lkml.org 
[lkml]   [2009]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Linux 2.6.29
    On Wed, Mar 25, 2009 at 10:44:44PM -0400, Kyle Moffett wrote:

    > Perhaps we ought to add a couple extra open flags, O_BARRIER_BEFORE and
    > O_BARRIER_AFTER, and rename3(), etc functions that take flags arguments?
    > Or maybe a new set of syscalls like barrier(file1, file2) and
    > fbarrier(fd1, fd2), which cause all pending changes (perhaps limit to this
    > process?) to the file at fd1 to occur before any successive changes (again
    > limited to this process?) to the file at fd2.

    That's an option, but what would benefit? If rename is expected to
    preserve ordering (which I think it has to, in order to avoid breaking
    existing code) then are there any other interesting use cases?

    --
    Matthew Garrett | mjg59@srcf.ucam.org


    \
     
     \ /
      Last update: 2009-03-26 03:51    [W:4.086 / U:0.120 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site