Re: [PATCH 7/9] parallels: Rework truncation logic

2020-05-07 Thread Denis V. Lunev
On 4/28/20 11:29 PM, Eric Blake wrote: > The parallels driver tries to use truncation for image growth, but can > only do so when reads are guaranteed as zero. Now that we have a way > to request zero contents from truncation, we can defer the decision to > actual allocation attempts rather than u

[PATCH 7/9] parallels: Rework truncation logic

2020-04-28 Thread Eric Blake
The parallels driver tries to use truncation for image growth, but can only do so when reads are guaranteed as zero. Now that we have a way to request zero contents from truncation, we can defer the decision to actual allocation attempts rather than up front, reducing the number of places that sti