]> git.baikalelectronics.ru Git - kernel.git/commit
blk-wbt: allow reset of default latency through sysfs
authorJens Axboe <axboe@fb.com>
Mon, 28 Nov 2016 16:22:47 +0000 (09:22 -0700)
committerJens Axboe <axboe@fb.com>
Mon, 28 Nov 2016 17:27:03 +0000 (10:27 -0700)
commit309bcc44b8b3b0068631d61856b57478d1489ab9
tree05d99a001b158de7e3f6f9eb119f28bb226b8bc2
parentda3748d2ec912bdd27e3d12b94b2e6e400fc2bb4
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 <axboe@fb.com>
Documentation/block/queue-sysfs.txt
block/blk-sysfs.c
block/blk-wbt.c
block/blk-wbt.h