• W
    writeback: account IO throttling wait as iowait · d25105e8
    Wu Fengguang 提交于
    It makes sense to do IOWAIT when someone is blocked
    due to IO throttle, as suggested by Kame and Peter.
    
    There is an old comment for not doing IOWAIT on throttle,
    however it has been mismatching the code for a long time.
    
    If we stop accounting IOWAIT for 2.6.32, it could be an
    undesirable behavior change. So restore the io_schedule.
    
    CC: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
    CC: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Signed-off-by: NWu Fengguang <fengguang.wu@intel.com>
    Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
    d25105e8
sched.c 265.9 KB