[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] request of blkfront may disorder after migration without waiting in suspend phase of migration
2011/7/13 Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
yeah, just because i didn't see any code in blkback to waiting for IO before migrating,
blkfront's the rest one to do this job that it actively switches to Closing state, then blkback can observe it and call blkif_disconnect to account for all IO.
my test procedure is like this
> More, i did some test with migration, while vm was running dd task, xm
> migrate -l . before it suspend, gdb tapdisk2. after migration, new vm > started. then quit gdb, the pending request were written back to disk after > new requests. gdb tapdisk2 , the IO of src host hanged, when xc_save did suspend, after 100s, socket was shutted down, Vm of target host resumed and continued to dd, then quit gdb.
this test is quite extreme. normal migration depends on whether all IO can be completed in 100s.
well, i need the IO have 100% safety, especially in the distributed fs.
of course, blkback is the best choice to ensure this.
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |