diff options
author | Keith Busch <kbusch@kernel.org> | 2020-04-06 20:13:48 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-04-06 21:43:56 +0200 |
commit | 536167d47ade11a5540b4b1a7125308b1641da7a (patch) | |
tree | c6f6d8d729c0a6dc01880e56e3969ca6f013fbe2 /block/partitions | |
parent | loop: Better discard support for block devices (diff) | |
download | linux-536167d47ade11a5540b4b1a7125308b1641da7a.tar.xz linux-536167d47ade11a5540b4b1a7125308b1641da7a.zip |
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/partitions')
0 files changed, 0 insertions, 0 deletions