Skip to content
  • Wu Fengguang's avatar
    writeback: account IO throttling wait as iowait · d25105e8
    Wu Fengguang authored
    
    
    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: default avatarWu Fengguang <fengguang.wu@intel.com>
    Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
    d25105e8