Skip to content
Commit d57d6115 authored by Stephane Gasparini's avatar Stephane Gasparini Committed by Jens Axboe
Browse files

kernel/fs: fix I/O wait not accounted for RW O_DSYNC



 When a process is doing Random Write with O_DSYNC flag
 the I/O wait are not accounted in the kernel (get_cpu_iowait_time_us).
 This is preventing the governor or the cpufreq driver to account for
 I/O wait and thus use the right pstate

Signed-off-by: default avatarStephane Gasparini <stephane.gasparini@linux.intel.com>
Signed-off-by: default avatarPhilippe Longepe <philippe.longepe@linux.intel.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 09954bad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment