[sheepdog] [PATCH] sheep: check memory address alignment for direct IO

Liu Yuan namei.unix at gmail.com
Wed May 22 10:18:57 CEST 2013


On 05/22/2013 04:15 PM, MORITA Kazutaka wrote:
> Do you mean passing iocb->buf to get_open_flags() to check its
> alignment?

Yeah, looks like kind of ugly, it is the best place to check if buffer
is aligned. maybe we should devise a better name for get_open_flags?

Thanks,
Yuan


More information about the sheepdog mailing list