]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dm: only run the queue on completion if congested or no requests pending
authorMike Snitzer <snitzer@redhat.com>
Tue, 24 Feb 2015 16:03:22 +0000 (11:03 -0500)
committerMike Snitzer <snitzer@redhat.com>
Tue, 31 Mar 2015 16:03:50 +0000 (12:03 -0400)
commitdf1b2e3655b435b25933c9a23bf3b27fe62d6030
treea12e6b45f4b8bda0eba8dfe0c2d020b244d94f6d
parent73398edc327600ba01a87488ad959b1888257bf6
dm: only run the queue on completion if congested or no requests pending

On really fast storage it can be beneficial to delay running the
request_queue to allow the elevator more opportunity to merge requests.

Otherwise, it has been observed that requests are being sent to
q->request_fn much quicker than is ideal on IOPS-bound backends.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm.c