[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [BUG] qemu-1.1.2 [FIXED-BY] qcow2: Fix avail_sectors in
From: |
Michael Tokarev |
Subject: |
Re: [Qemu-devel] [BUG] qemu-1.1.2 [FIXED-BY] qcow2: Fix avail_sectors in cluster allocation code |
Date: |
Tue, 18 Dec 2012 16:12:16 +0400 |
User-agent: |
Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.10) Gecko/20121028 Icedove/10.0.10 |
On 18.12.2012 13:46, Philipp Hahn wrote:
> I think I found your missing link:
> After filling in "QCowL2Meta *m", that request ist queued:
> QLIST_INSERT_HEAD(&s->cluster_allocs, m, next_in_flight);
> do prevent double allocating the same cluster for overlapping requests, which
> is checked in do_alloc_cluster_offset().
>
> I guess that since the sector count was wrong, the overlap detection didn't
> work and the two concurrent write requests to the same cluster overwrote each
> other.
Meh. And I already closed the debian bugreport... :)
But thank you Philipp for your excellent work on the matter!
/mjt