block: avoid setting nr_requests to current value
There's no reason to freeze queue and set nr_requests value if current value is the same. Signed-off-by: NAleksei Zakharov <zakharov.a.g@yandex.ru> Signed-off-by: NJens Axboe <axboe@kernel.dk>
Showing
想要评论请 注册 或 登录