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