diff options
| author | Roger Pau Monne <[email protected]> | 2015-02-02 11:28:21 +0000 |
|---|---|---|
| committer | David Vrabel <[email protected]> | 2015-02-10 16:04:45 +0000 |
| commit | 3bb8c98e5612f069010ad04e5f463389e2eb6563 (patch) | |
| tree | e667fb9a9001c954bc2f5aa3d1083c58eeae4d51 /drivers/mtd/lpddr/lpddr_cmds.c | |
| parent | bcadb699b05b828fb43c54abb75607db7e8c3e29 (diff) | |
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é <[email protected]>
Reported-and-Tested-by: Ouyang Zhaowei (Charles) <[email protected]>
Cc: Konrad Rzeszutek Wilk <[email protected]>
Cc: Boris Ostrovsky <[email protected]>
Cc: David Vrabel <[email protected]>
Cc: [email protected]
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions