qemu-devel
[Top][All Lists]
Advanced

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

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


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCHv3] iscsi: add iscsi_truncate support
Date: Mon, 18 Feb 2013 14:06:09 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

Il 18/02/2013 14:04, Peter Lieven ha scritto:
>>>
>>
>> I didn't write to *remove* the switch statement, I wrote to *move* it
>> into a new function and use it from iscsi_truncate.
> 
> Sorry, not enough sleep. However, truncate makes only sense for lun type
> disk, doesn't it?

I think so, mostly because anyway you can use "change" to reset the
capacity on TYPE_ROM, they are removable.  But still the code looks
better that way.

Paolo



reply via email to

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