mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
blk-wbt: allow reset of default latency through sysfs
Allow a write of '-1' to reset the default latency target for a given device. This removes knowledge of the different default settings for rotational vs non-rotational from user space. Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
feffa5cc7b
commit
80e091d10e
4 changed files with 37 additions and 12 deletions
|
|
@ -188,7 +188,9 @@ wb_lat_usec (RW)
|
|||
If the device is registered for writeback throttling, then this file shows
|
||||
the target minimum read latency. If this latency is exceeded in a given
|
||||
window of time (see wb_window_usec), then the writeback throttling will start
|
||||
scaling back writes.
|
||||
scaling back writes. Writing a value of '0' to this file disables the
|
||||
feature. Writing a value of '-1' to this file resets the value to the
|
||||
default setting.
|
||||
|
||||
|
||||
Jens Axboe <[email protected]>, February 2009
|
||||
|
|
|
|||
Loading…
Reference in a new issue