Re: [PATCH 2/2] ocfs2: clear unaligned io flag when dio fails

From: Jeff Moyer
Date: Thu May 31 2012 - 10:09:14 EST


Junxiao Bi <junxiao.bi@xxxxxxxxxx> 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?

-Jeff
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/