[lkml]   [2004]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [Patch] BME, noatime and nodiratime
    On Tue, Apr 06, 2004 at 09:48:44PM +0100, wrote:

    > noatime/nodiratime: OK, but we still have direct modifications of i_atime
    > that need to be taken care of.

    Particulary interesting one is in tty_io.c. There we
    1) unconditionally touch i_atime on read()
    2) do not touch it on write()
    3) never mark the inode dirty.

    Note that the last one means that doing stat() in a loop will sometimes
    give atime going backwards. We also completely ignore noatime here.

    There are similar places in some other char drivers. Obvious step would
    be to have them do file_accessed() instead; however, I'd really like to
    hear the rationale for existing behaviour. Comments?
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:02    [W:0.018 / U:136.984 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site