From: Roger Pau Monne Date: Mon, 2 Feb 2015 11:28:21 +0000 (+0000) Subject: xen-blkfront: fix accounting of reqs when migrating X-Git-Tag: fixes-v4.0-rc1~117^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bb8c98e5612f069010ad04e5f463389e2eb6563;p=pandora-kernel.git xen-blkfront: fix accounting of reqs when migrating Current migration code uses blk_put_request in order to finish a request before requeuing it. This function doesn't update the statistics of the queue, which completely screws accounting. Use blk_end_request_all instead which properly updates the statistics of the queue. Signed-off-by: Roger Pau Monné Reported-and-Tested-by: Ouyang Zhaowei (Charles) Cc: Konrad Rzeszutek Wilk Cc: Boris Ostrovsky Cc: David Vrabel Cc: xen-devel@lists.xenproject.org --- Reading git-diff-tree failed