Il 15/02/2013 13:36, Peter Lieven ha scritto: >>> >> Ah, I thought qmp_block_resize did a bdrv_drain_all before calling >>> >> bdrv_truncate. >>> >> >>> >> Maybe it should. Kevin, what do you think? >> > >> > Probably. bdrv_truncate() invalidates the bdrv_check_request() result for >> > in-flight requests, so there better be none. > So you would call brdv_drain_all() before calling brdv_truncate and then > use a sync iscsi call?
Yes, please. Paolo