Re: [libvirt] [PATCH 25/27] fdstream: Suppress use of IO helper for sparse streams

2016-05-09 Thread Michal Privoznik
On 05.05.2016 17:51, Eric Blake wrote: > On 05/05/2016 09:32 AM, Daniel P. Berrange wrote: >> On Thu, Apr 28, 2016 at 12:05:12PM +0200, Michal Privoznik wrote: >>> This is kind of a hacky approach to the following problem, but so >>> far I am unable to come up with anything better. On some >>> occa

Re: [libvirt] [PATCH 25/27] fdstream: Suppress use of IO helper for sparse streams

2016-05-09 Thread Michal Privoznik
On 05.05.2016 18:12, Daniel P. Berrange wrote: > On Thu, May 05, 2016 at 09:51:22AM -0600, Eric Blake wrote: >> On 05/05/2016 09:32 AM, Daniel P. Berrange wrote: >>> On Thu, Apr 28, 2016 at 12:05:12PM +0200, Michal Privoznik wrote: This is kind of a hacky approach to the following problem, but

Re: [libvirt] [PATCH 25/27] fdstream: Suppress use of IO helper for sparse streams

2016-05-05 Thread Daniel P. Berrange
On Thu, May 05, 2016 at 09:51:22AM -0600, Eric Blake wrote: > On 05/05/2016 09:32 AM, Daniel P. Berrange wrote: > > On Thu, Apr 28, 2016 at 12:05:12PM +0200, Michal Privoznik wrote: > >> This is kind of a hacky approach to the following problem, but so > >> far I am unable to come up with anything

Re: [libvirt] [PATCH 25/27] fdstream: Suppress use of IO helper for sparse streams

2016-05-05 Thread Eric Blake
On 05/05/2016 09:32 AM, Daniel P. Berrange wrote: > On Thu, Apr 28, 2016 at 12:05:12PM +0200, Michal Privoznik wrote: >> This is kind of a hacky approach to the following problem, but so >> far I am unable to come up with anything better. On some >> occasions (esp. when dealing with regular files)

Re: [libvirt] [PATCH 25/27] fdstream: Suppress use of IO helper for sparse streams

2016-05-05 Thread Daniel P. Berrange
On Thu, Apr 28, 2016 at 12:05:12PM +0200, Michal Privoznik wrote: > This is kind of a hacky approach to the following problem, but so > far I am unable to come up with anything better. On some > occasions (esp. when dealing with regular files) libvirt_iohelper > is spawned to prefetch data for us.

[libvirt] [PATCH 25/27] fdstream: Suppress use of IO helper for sparse streams

2016-04-28 Thread Michal Privoznik
This is kind of a hacky approach to the following problem, but so far I am unable to come up with anything better. On some occasions (esp. when dealing with regular files) libvirt_iohelper is spawned to prefetch data for us. We will then have a pipe then for reading the data from it. This does not