[Ocfs2-devel] [PATCH] OCFS2: fdatasync should skip unimportant metadata writeout

Mark Fasheh mfasheh at suse.com
Tue Jun 9 10:36:54 PDT 2009


On Tue, Jun 09, 2009 at 04:47:45PM +0900, Hisashi Hifumi wrote:
> Hi.
> 
> In ocfs2, fdatasync and fsync are identical.
> I think fdatasync should skip committing transaction when 
> inode->i_state is set just I_DIRTY_SYNC and this indicates
> only atime or/and mtime updates.
> Following patch improves fdatasync throughput.

That looks great, thanks for the patch Hisashi!

> Signed-off-by: Hisashi Hifumi <hifumi.hisashi at oss.ntt.co.jp>
Acked-by: Mark Fasheh <mfasheh at suse.com>
	--Mark

--
Mark Fasheh



More information about the Ocfs2-devel mailing list