diff options
author | Keith Busch <kbusch@kernel.org> | 2020-04-07 03:13:48 +0900 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-04-06 13:43:56 -0600 |
commit | 536167d47ade11a5540b4b1a7125308b1641da7a (patch) | |
tree | c6f6d8d729c0a6dc01880e56e3969ca6f013fbe2 /block/blk-mq-sched.h | |
parent | c52abf563049e787c1341cdf15c7dbe1bfbc951b (diff) |
blk-mq: don't commit_rqs() if none were queued
Unburden the drivers from checking if a call to commit_rqs() is valid by
not calling it when there are no requests to commit.
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-sched.h')
0 files changed, 0 insertions, 0 deletions