]> 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>
Tue, 30 Aug 2011 15:31:04 +0000 (11:31 -0400)
commit0c70005a9c91fd3f77c31fcac3a1c0c2c506d071
tree6380980c240df5fb719b9a354fbe45a86c5c6ae2
parent5339a09d0bbb9b071c7b5ff949156880cf0a6380
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