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