qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] iscsi: add iscsi_truncate support


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH] iscsi: add iscsi_truncate support
Date: Fri, 15 Feb 2013 13:56:08 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]