Re: [Xen-devel] [PATCH RESEND 3/4] qdisk, hw/block/xen_disk: Perform grant copy instead of grant map.

2016-06-02 Thread Roger Pau Monné
On Tue, May 31, 2016 at 06:44:57AM +0200, Paulina Szubarczyk wrote: > Grant copy operation is divided into two phases different for > 'read' and 'write' operation. > > For a 'read' operation the flow is as follow: > 1. allocate local buffers for all the segments contained in >a

Re: [Xen-devel] [PATCH RESEND 3/4] qdisk, hw/block/xen_disk: Perform grant copy instead of grant map.

2016-06-01 Thread David Vrabel
On 01/06/16 08:52, Paulina Szubarczyk wrote: > On Tue, 2016-05-31 at 10:37 +0100, David Vrabel wrote: >> On 31/05/2016 05:44, Paulina Szubarczyk wrote: >>> Grant copy operation is divided into two phases different for >>> 'read' and 'write' operation. >>> >>> For a 'read' operation the flow is as

Re: [Xen-devel] [PATCH RESEND 3/4] qdisk, hw/block/xen_disk: Perform grant copy instead of grant map.

2016-06-01 Thread Paulina Szubarczyk
On Tue, 2016-05-31 at 10:37 +0100, David Vrabel wrote: > On 31/05/2016 05:44, Paulina Szubarczyk wrote: > > Grant copy operation is divided into two phases different for > > 'read' and 'write' operation. > > > > For a 'read' operation the flow is as follow: > > 1. allocate local buffers for

Re: [Xen-devel] [PATCH RESEND 3/4] qdisk, hw/block/xen_disk: Perform grant copy instead of grant map.

2016-05-31 Thread David Vrabel
On 31/05/2016 05:44, Paulina Szubarczyk wrote: > Grant copy operation is divided into two phases different for > 'read' and 'write' operation. > > For a 'read' operation the flow is as follow: > 1. allocate local buffers for all the segments contained in >a request. Allocating

[Xen-devel] [PATCH RESEND 3/4] qdisk, hw/block/xen_disk: Perform grant copy instead of grant map.

2016-05-30 Thread Paulina Szubarczyk
Grant copy operation is divided into two phases different for 'read' and 'write' operation. For a 'read' operation the flow is as follow: 1. allocate local buffers for all the segments contained in a request. 2. fill the request io vectors with the buffers' addresses 3. invoke