Re: [Xen-devel] [PATCH 2/2] xen/grant: introduce func gnttab_unmap_refs_async_wait_completion()

2015-04-01 Thread Bob Liu
On 04/01/2015 06:18 PM, David Vrabel wrote: > On 26/03/15 12:16, Bob Liu wrote: >> There are several place using gnttab async unmap and wait for >> completion, so move the common code to a function >> gnttab_unmap_refs_async_wait_completion(). >> > [...] >> + >> +int gnttab_unmap_refs_async_wait_

Re: [Xen-devel] [PATCH 2/2] xen/grant: introduce func gnttab_unmap_refs_async_wait_completion()

2015-04-01 Thread David Vrabel
On 26/03/15 12:16, Bob Liu wrote: > There are several place using gnttab async unmap and wait for > completion, so move the common code to a function > gnttab_unmap_refs_async_wait_completion(). > [...] > + > +int gnttab_unmap_refs_async_wait_completion(struct gntab_unmap_queue_data* > item) Thi

Re: [Xen-devel] [PATCH 2/2] xen/grant: introduce func gnttab_unmap_refs_async_wait_completion()

2015-04-01 Thread David Vrabel
On 30/03/15 01:03, Bob Liu wrote: > > On 03/28/2015 08:44 AM, Konrad Rzeszutek Wilk wrote: >> On Thu, Mar 26, 2015 at 04:32:45PM +0100, Roger Pau Monné wrote: >>> El 26/03/15 a les 13.16, Bob Liu ha escrit: There are several place using gnttab async unmap and wait for completion, so move

Re: [PATCH 2/2] xen/grant: introduce func gnttab_unmap_refs_async_wait_completion()

2015-03-29 Thread Bob Liu
On 03/28/2015 08:44 AM, Konrad Rzeszutek Wilk wrote: > On Thu, Mar 26, 2015 at 04:32:45PM +0100, Roger Pau Monné wrote: >> El 26/03/15 a les 13.16, Bob Liu ha escrit: >>> There are several place using gnttab async unmap and wait for >>> completion, so move the common code to a function >>> gnttab_

Re: [PATCH 2/2] xen/grant: introduce func gnttab_unmap_refs_async_wait_completion()

2015-03-27 Thread Konrad Rzeszutek Wilk
On Thu, Mar 26, 2015 at 04:32:45PM +0100, Roger Pau Monné wrote: > El 26/03/15 a les 13.16, Bob Liu ha escrit: > > There are several place using gnttab async unmap and wait for > > completion, so move the common code to a function > > gnttab_unmap_refs_async_wait_completion(). > > > > Signed-off-b

Re: [PATCH 2/2] xen/grant: introduce func gnttab_unmap_refs_async_wait_completion()

2015-03-26 Thread Konrad Rzeszutek Wilk
On Thu, Mar 26, 2015 at 08:16:01PM +0800, Bob Liu wrote: > There are several place using gnttab async unmap and wait for > completion, so move the common code to a function > gnttab_unmap_refs_async_wait_completion(). > > Signed-off-by: Bob Liu Jens, and would you be OK if this patch went throug

Re: [PATCH 2/2] xen/grant: introduce func gnttab_unmap_refs_async_wait_completion()

2015-03-26 Thread Roger Pau Monné
El 26/03/15 a les 13.16, Bob Liu ha escrit: > There are several place using gnttab async unmap and wait for > completion, so move the common code to a function > gnttab_unmap_refs_async_wait_completion(). > > Signed-off-by: Bob Liu For the blkback parts: Acked-by: Roger Pau Monné Although, as

[PATCH 2/2] xen/grant: introduce func gnttab_unmap_refs_async_wait_completion()

2015-03-26 Thread Bob Liu
There are several place using gnttab async unmap and wait for completion, so move the common code to a function gnttab_unmap_refs_async_wait_completion(). Signed-off-by: Bob Liu --- drivers/block/xen-blkback/blkback.c | 31 +++ drivers/xen/gntdev.c| 28