summaryrefslogtreecommitdiff
path: root/fs/ubifs/ubifs-media.h
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2015-02-24 20:49:18 -0500
committerMike Snitzer <snitzer@redhat.com>2015-04-15 12:10:13 -0400
commit9d1deb83d489364f8749a3a1ba1689efb07d94b0 (patch)
tree30ddc2eaf3ce455b7b6cf5d7a1959bb538f430da /fs/ubifs/ubifs-media.h
parent9a0e609e3fd8a95c96629b9fbde6b8c5b9a1456a (diff)
downloadlwn-9d1deb83d489364f8749a3a1ba1689efb07d94b0.tar.gz
lwn-9d1deb83d489364f8749a3a1ba1689efb07d94b0.zip
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>
Diffstat (limited to 'fs/ubifs/ubifs-media.h')
0 files changed, 0 insertions, 0 deletions