[PATCH] qcow2: Document and enforce the QCowL2Meta invariants

2020-10-07 Thread Alberto Garcia
The QCowL2Meta structure is used to store information about a part of a write request that touches clusters that need changes in their L2 entries. This happens with newly-allocated clusters or subclusters. This structure has changed a bit since it was first created and its current documentation is

Re: [PATCH] qcow2: Document and enforce the QCowL2Meta invariants

2020-10-07 Thread Eric Blake
On 10/7/20 6:52 AM, Alberto Garcia wrote: > The QCowL2Meta structure is used to store information about a part of > a write request that touches clusters that need changes in their L2 > entries. This happens with newly-allocated clusters or subclusters. > > This structure has changed a bit since i

Re: [PATCH] qcow2: Document and enforce the QCowL2Meta invariants

2020-10-07 Thread Vladimir Sementsov-Ogievskiy
07.10.2020 14:52, Alberto Garcia wrote: The QCowL2Meta structure is used to store information about a part of a write request that touches clusters that need changes in their L2 entries. This happens with newly-allocated clusters or subclusters. This structure has changed a bit since it was firs

Re: [PATCH] qcow2: Document and enforce the QCowL2Meta invariants

2020-10-07 Thread Alberto Garcia
On Wed 07 Oct 2020 04:42:37 PM CEST, Vladimir Sementsov-Ogievskiy wrote: >> /** >> - * The COW Region between the start of the first allocated cluster and >> the >> - * area the guest actually writes to. >> + * The COW Region immediately before the area the guest actually >> +

Re: [PATCH] qcow2: Document and enforce the QCowL2Meta invariants

2020-10-07 Thread Vladimir Sementsov-Ogievskiy
07.10.2020 18:38, Alberto Garcia wrote: On Wed 07 Oct 2020 04:42:37 PM CEST, Vladimir Sementsov-Ogievskiy wrote: /** - * The COW Region between the start of the first allocated cluster and the - * area the guest actually writes to. + * The COW Region immediately before the are

Re: [PATCH] qcow2: Document and enforce the QCowL2Meta invariants

2020-10-07 Thread Alberto Garcia
On Wed 07 Oct 2020 05:47:32 PM CEST, Vladimir Sementsov-Ogievskiy wrote: > 07.10.2020 18:38, Alberto Garcia wrote: >> On Wed 07 Oct 2020 04:42:37 PM CEST, Vladimir Sementsov-Ogievskiy wrote: /** - * The COW Region between the start of the first allocated cluster and the >