[Ocfs2-devel] [PATCH 2/2] ocfs2: clear unaligned io flag when dio fails

Junxiao Bi junxiao.bi at oracle.com
Thu May 31 18:44:25 PDT 2012


On 05/31/2012 10:09 PM, Jeff Moyer wrote:
> Junxiao Bi <junxiao.bi at oracle.com> writes:
>
>> The unaligned io flag is set in the kiocb when an unaligned
>> dio is issued, it should be cleared even when the dio fails,
>> or it may affect the following io which are using the same
>> kiocb.
> What code is re-using kiocbs, much less re-using them without
> re-initializing them?
See my comment in another thread. aio_write seems called two times with
the same kiocb.
>
> -Jeff




More information about the Ocfs2-devel mailing list