Skip to content
Snippets Groups Projects
Commit 9d1deb83 authored by Mike Snitzer's avatar Mike Snitzer
Browse files

dm: don't schedule delayed run of the queue if nothing to do


In request-based DM's dm_request_fn(), if blk_peek_request() returns
NULL just return.  Avoids unnecessary blk_delay_queue().

Reported-by: default avatarJens Axboe <axboe@fb.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 9a0e609e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment