Am 24.11.2012 20:54, schrieb Blue Swirl:
On Thu, Nov 22, 2012 at 10:00 AM, Stefan Priebe <s.priebe@xxxxxxxxxxxx> wrote:
This one fixes a race which qemu had also in iscsi block driver
between cancellation and io completition.
qemu_rbd_aio_cancel was not synchronously waiting for the end of
the command.
To archieve this it introduces a new status flag which uses
-EINPROGRESS.
Signed-off-by: Stefan Priebe <s.priebe@xxxxxxxxxxxx>
...
- qemu_aio_release(acb);
+ if (!acb->cancelled)
Missing braces, please read CODING_STYLE.
Will fix this if the rest is OK. Waiting for Stefan and Paolo.
Stefan
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html