lkml.org 
[lkml]   [2007]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: f_owner.lock and file->pos updates
    On Wed, 7 Mar 2007 11:17:36 -0800
    "Michael K. Edwards" <medwards.linux@gmail.com> wrote:

    > Suppose I want to create an atomic llseek+writev operation. Is this
    > more or less sufficient:

    The right way IMHO would be to do the work that was done for pread/pwrite
    and implement preadv/pwritev. The moment you want to do atomic things
    with the file->f_pos instead of doing it with a local passed pos value it
    gets ugly.. why do you need to do it with f_pos ?

    Alan
    -
    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: 2007-03-08 00:49    [W:0.080 / U:29.476 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site