Re: [PATCH] blk-throttle: allow configure 0 for some settings --resend

2017-11-15 Thread Tejun Heo
On Wed, Nov 15, 2017 at 03:27:29PM -0800, Shaohua Li wrote: > For io.low, latency target 0 is legit. 0 for rbps/wbps/rios/wios is ok > too. And we use 0 to clear io.low settings. > > Cc: Tejun Heo > Signed-off-by: Shaohua Li Acked-by: Tejun Heo

[PATCH] blk-throttle: allow configure 0 for some settings --resend

2017-11-15 Thread Shaohua Li
For io.low, latency target 0 is legit. 0 for rbps/wbps/rios/wios is ok too. And we use 0 to clear io.low settings. Cc: Tejun Heo Signed-off-by: Shaohua Li --- block/blk-throttle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] blk-throttle: allow configure 0 for some settings

2017-10-11 Thread Shaohua Li
For io.low, latency target 0 is legit. 0 for rbps/wbps/rios/wios is ok too as long as not all of them are 0. Signed-off-by: Shaohua Li --- block/blk-throttle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/blk-throttle.c b/block/blk-throttle.c index