On 05/07/2016 03:53, Eric Blake wrote:
>> > I think we cannot assert that that these alignments are a power of 2.
> Perhaps that means we should just fix our code to round things down to
> the nearest power of 2 (8MB) for the opt_transfer_len and
> opt_discard_alignment values.  Can you post a stack-trace of the actual
> assertion you are hitting?

It doesn't work for opt_discard_alignment.  Neither 8MB nor 16MB is
aligned to 15MB for example.

Paolo

Reply via email to