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)
commit80e091d10e8bf7b801d634ea8870b9e907314424
tree05d99a001b158de7e3f6f9eb119f28bb226b8bc2
parentfeffa5cc7b47f38210d4997ceb3fe30881d6c337
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