Roger Pau Monne 3bb8c98e56 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é <roger.pau@citrix.com>
Reported-and-Tested-by: Ouyang Zhaowei (Charles) <ouyangzhaowei@huawei.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: David Vrabel <david.vrabel@citrix.com>
Cc: xen-devel@lists.xenproject.org
2015-02-10 16:04:45 +00:00
..
2015-01-13 21:59:15 -07:00
2013-04-09 14:13:19 -04:00
2014-08-08 15:57:28 -07:00
2014-08-08 15:57:28 -07:00
2014-01-30 16:56:55 -08:00
2015-01-02 15:20:25 -07:00
2015-01-02 15:20:25 -07:00
2014-01-30 16:56:55 -08:00
2013-11-08 09:10:30 -07:00