[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v3 for-xen-4.5] xen_disk: fix unmapping of persistent grants



On 11/13/2014 05:42 PM, Roger Pau Monne wrote:
This patch fixes two issues with persistent grants and the disk PV backend
(Qdisk):

  - Keep track of memory regions where persistent grants have been mapped
    since we need to unmap them as a whole. It is not possible to unmap a
    single grant if it has been batch-mapped. A new check has also been added
    to make sure persistent grants are only used if the whole mapped region
    can be persistently mapped in the batch_maps case.
  - Unmap persistent grants before switching to the closed state, so the
    frontend can also free them.

Signed-off-by: Roger Pau Monnà <roger.pau@xxxxxxxxxx>
Reported-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>

Tested-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.