qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Regression: block: Add .bdrv_co_pwrite_zeroes()


From: Paolo Bonzini
Subject: Re: [Qemu-devel] Regression: block: Add .bdrv_co_pwrite_zeroes()
Date: Tue, 5 Jul 2016 17:09:45 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1


On 05/07/2016 16:59, Eric Blake wrote:
> And yes, we could probably switch to (potentially slower) / % * instead
> of bit operations in block/io.c to accommodate a non-power-of-2 optimal
> size, but it would require a careful audit to make sure we don't have
> even more bit-wise operations lurking that were assuming a power of 2.

Yes, it would require some auditing but it has always worked.  Regarding
speed, I'm sure that / % * are not slower than a system call! :)

Paolo



reply via email to

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