Re: [Xen-devel] [PATCH 1/2] xen/blkback: safely unmap purge persistent grants

2015-04-29 Thread David Vrabel
On 03/04/15 07:42, Bob Liu wrote: > Commit c43cf3ea8385 ("xen-blkback: safely unmap grants in case they are still > in use") use gnttab_unmap_refs_async() to wait until the mapped pages are no > longer in use before unmapping them, but that commit missed the persistent > case. > Purge persistent p

[Xen-devel] [PATCH 1/2] xen/blkback: safely unmap purge persistent grants

2015-04-02 Thread Bob Liu
Commit c43cf3ea8385 ("xen-blkback: safely unmap grants in case they are still in use") use gnttab_unmap_refs_async() to wait until the mapped pages are no longer in use before unmapping them, but that commit missed the persistent case. Purge persistent pages can't be unmapped either unless no longe