[lkml]   [2011]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 07/10] fs: make generic file read/write functions plug
    On Fri, Mar 04, 2011 at 02:22:21PM +0100, Jens Axboe wrote:
    > Good catch, we need to modify that logic. If the task is currently
    > plugged, it should not dispatch until blk_finish_plug() is called.
    > Essentially SYNC will not control dispatch. Will allow us to clean up
    > that logic, too.


    Time to use the opportunity to sort out what the various bio/request
    flags mean.

    REQ_UNPLUG should simply go away with the explicit stack plugging.
    What's left for REQ_SYNC? It'll control if the request goes into the
    sync bucket and some cfq tweaks. We should clearly document what it

    REQ_META? Maybe we should finally agree what it does and decide if it
    should be used consistenly. Especially the priority over REQ_SYNC in
    cfq still looks somewhat odd, as does the totally inconsequent use.


     \ /
      Last update: 2011-03-06 12:29    [W:0.034 / U:2.540 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site