aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing/sysfs-driver-xen-blkfront
diff options
context:
space:
mode:
authorRoger Pau Monne <roger.pau@citrix.com>2013-05-02 10:58:50 +0200
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2013-05-08 08:46:51 -0400
commitb7649158a0d241f8d53d13ff7441858539e16656 (patch)
treeacee055fae1b48f1c986dec29481d2b999dd3127 /Documentation/ABI/testing/sysfs-driver-xen-blkfront
parentxen-blkback: allocate list of pending reqs in small chunks (diff)
downloadlinux-dev-b7649158a0d241f8d53d13ff7441858539e16656.tar.xz
linux-dev-b7649158a0d241f8d53d13ff7441858539e16656.zip
xen-blkfront: use a different scatterlist for each request
In blkif_queue_request blkfront iterates over the scatterlist in order to set the segments of the request, and in blkif_completion blkfront iterates over the raw request, which makes it hard to know the exact position of the source and destination memory positions. This can be solved by allocating a scatterlist for each request, that will be keep until the request is finished, allowing us to copy the data back to the original memory without having to iterate over the raw request. Oracle-Bug: 16660413 - LARGE ASYNCHRONOUS READS APPEAR BROKEN ON 2.6.39-400 CC: stable@vger.kernel.org Signed-off-by: Roger Pau Monné <roger.pau@citrix.com> Reported-and-Tested-by: Anne Milicia <anne.milicia@oracle.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-driver-xen-blkfront')
0 files changed, 0 insertions, 0 deletions