commit | 9d1deb83d489364f8749a3a1ba1689efb07d94b0 | [log] [tgz] |
---|---|---|
author | Mike Snitzer <snitzer@redhat.com> | Tue Feb 24 20:49:18 2015 -0500 |
committer | Mike Snitzer <snitzer@redhat.com> | Wed Apr 15 12:10:13 2015 -0400 |
tree | 30ddc2eaf3ce455b7b6cf5d7a1959bb538f430da | |
parent | 9a0e609e3fd8a95c96629b9fbde6b8c5b9a1456a [diff] |
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: Jens Axboe <axboe@fb.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>