diff options
author | Roger Pau Monne <roger.pau@citrix.com> | 2013-10-29 18:31:14 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2013-11-08 09:10:30 -0700 |
commit | bfe11d6de1c416cea4f3f0f35f864162063ce3fa (patch) | |
tree | 25bc44562e7794cc41327c7c447cd49a9935a876 /drivers/block/pktcdvd.c | |
parent | f1a3c6191369632ada5b709997b91a7f15045ff4 (diff) | |
download | linux-bfe11d6de1c416cea4f3f0f35f864162063ce3fa.tar.gz linux-bfe11d6de1c416cea4f3f0f35f864162063ce3fa.tar.xz |
xen-blkfront: restore the non-persistent data path
When persistent grants were added they were always used, even if the
backend doesn't have this feature (there's no harm in always using the
same set of pages). This restores the old data path when the backend
doesn't have persistent grants, removing the burden of doing a memcpy
when it is not actually needed.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reported-by: Felipe Franciosi <felipe.franciosi@citrix.com>
Cc: Felipe Franciosi <felipe.franciosi@citrix.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
[v2: Fix up whitespace issues]
Diffstat (limited to 'drivers/block/pktcdvd.c')
0 files changed, 0 insertions, 0 deletions