Il 11/03/2013 12:52, Peter Lieven ha scritto: >> >> For example, qcow1 (and VHDX) will already call it, but that's a bug and >> should be fixed otherwise. Your patch will just cause an assertion >> failure. > > In which case can qcow1 (and VHDX) be used in conjunction with an iSCSI > Target?
No. It is a bug that they are accepted, but we have time to fix it before 1.5. Paolo > Would it be ok for you to assert if iscsi_truncate() is called when there > are aio's in flight? How can this be checked? > > I just want to make sure that nothing nasty happens in that case (such as > nested event loops).