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

Liu Yuan namei.unix at gmail.com
Wed May 22 10:12:20 CEST 2013


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?

Thanks,
Yuan



More information about the sheepdog mailing list