Re: [PATCH RESEND 1/2] xen/blkback: safely unmap purge persistent grants

2015-03-26 Thread Jens Axboe
On 03/26/2015 01:01 PM, Konrad Rzeszutek Wilk wrote: > On Thu, Mar 26, 2015 at 04:23:27PM +0100, Roger Pau Monné wrote: >> El 26/03/15 a les 13.16, Bob Liu ha escrit: >>> Commit c43cf3ea8385 ("xen-blkback: safely unmap grants in case they are >>> still >>> in use") use gnttab_unmap_refs_async() to

Re: [PATCH RESEND 1/2] xen/blkback: safely unmap purge persistent grants

2015-03-26 Thread Konrad Rzeszutek Wilk
On Thu, Mar 26, 2015 at 04:23:27PM +0100, Roger Pau Monné wrote: > El 26/03/15 a les 13.16, Bob Liu ha escrit: > > 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 be

Re: [PATCH RESEND 1/2] xen/blkback: safely unmap purge persistent grants

2015-03-26 Thread Roger Pau Monné
El 26/03/15 a les 13.16, Bob Liu ha escrit: > 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 pe

[PATCH RESEND 1/2] xen/blkback: safely unmap purge persistent grants

2015-03-26 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