]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/blkback: Don't let in-flight requests defer pending ones.
authorDaniel Stodden <daniel.stodden@citrix.com>
Sat, 28 May 2011 20:21:10 +0000 (13:21 -0700)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 19 Oct 2011 20:31:04 +0000 (16:31 -0400)
commitf1b5b24eddd76c35f5939febe20752c0a5b0df7d
treeb5985853b585973f1e6c3202da00e0139f2bf3a1
parent02f8c6aee8df3cdc935e9bdd4f2d020306035dbe
xen/blkback: Don't let in-flight requests defer pending ones.

Running RING_FINAL_CHECK_FOR_REQUESTS from make_response is a bad
idea. It means that in-flight I/O is essentially blocking continued
batches. This essentially kills throughput on frontends which unplug
(or even just notify) early and rightfully assume addtional requests
will be picked up on time, not synchronously.

Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
[v1: Rebased and fixed compile problems]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/block/xen-blkback/blkback.c