lkml.org 
[lkml]   [2009]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] writeback: reset inode dirty time when adding it back to empty s_dirty list
    From
    Date
    On Wed, 2009-03-25 at 12:55 -0400, hch@infradead.org wrote:
    > On Wed, Mar 25, 2009 at 08:17:43PM +0800, Wu Fengguang wrote:
    > > Now there are now two possible solutions:
    > > - unconditionally update dirtied_when in redirty_tail();
    > > - keep dirtied_when and redirty inodes to a new dedicated queue.
    > > The first one involves less code, the second one allows more flexible timing.
    > >
    > > NFS/XFS could be a good starting point for discussing the
    > > requirements, so that we can reach a suitable solution.
    >
    > Note that the XFS requirement also applies to all filesystems that
    > perform some sort of metadata updats on I/O completeion. That includes
    > at least ext4, btrfs and most likely the cluster filesystems too.

    btrfs at least doesn't dirty the inode on I/O completion. It just puts
    the changes directly into the btree blocks.

    -chris




    \
     
     \ /
      Last update: 2009-03-25 21:11    [W:4.469 / U:0.088 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site