Skip to content
Commit 536167d4 authored by Keith Busch's avatar Keith Busch Committed by Jens Axboe
Browse files

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: default avatarKeith Busch <kbusch@kernel.org>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent c52abf56
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment