[sheepdog] [PATCH] sheep: check memory address alignment for direct IO
MORITA Kazutaka
morita.kazutaka at lab.ntt.co.jp
Wed May 22 10:15:03 CEST 2013
At Wed, 22 May 2013 16:12:20 +0800,
Liu Yuan wrote:
>
> On 05/22/2013 03:49 PM, MORITA Kazutaka wrote:
> > + assert(flags & O_DIRECT ? is_aligned_to_pagesize(iocb->buf) : true);
>
> how about we use get_open_flags to check buf?
Do you mean passing iocb->buf to get_open_flags() to check its
alignment?
Thanks,
Kazutaka
More information about the sheepdog
mailing list