lkml.org 
[lkml]   [2009]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 14/45] writeback: quit on wrap for .range_cyclic (afs)
    On Wed, Oct 07, 2009 at 11:17:06AM +0100, David Howells wrote:
    > Wu Fengguang <fengguang.wu@intel.com> wrote:
    >
    > > Convert wbc.range_cyclic to new behavior: when past EOF, abort writeback
    > > of the inode, which instructs writeback_single_inode() to delay it for
    > > a while if necessary.
    > >
    > > It removes one inefficient .range_cyclic IO pattern when writeback_index
    > > wraps:
    > > submit [10000-10100], (wrap), submit [0-100]
    > > In which the submitted pages may be consisted of two distant ranges.
    > >
    > > It also prevents submitting pointless IO for busy overwriters.
    > >
    > > CC: David Howells <dhowells@redhat.com>
    > > Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
    >
    > Acked-by: David Howells <dhowells@redhat.com>

    I don't see why. Then the inode is given less write bandwidth than
    those which don't wrap (or wrap on "nice" boundaries).



    \
     
     \ /
      Last update: 2009-10-07 12:29    [W:0.019 / U:64.904 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site