[Ocfs2-devel] [PATCH] OCFS2: fdatasync should skip unimportant metadata writeout
Joel Becker
Joel.Becker at oracle.com
Tue Jun 9 11:01:02 PDT 2009
On Tue, Jun 09, 2009 at 04:47:45PM +0900, Hisashi Hifumi wrote:
> 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.
Nicely done, thanks. This is now in the ocfs2 git tree.
Joel
--
"Always give your best, never get discouraged, never be petty; always
remember, others may hate you. Those who hate you don't win unless
you hate them. And then you destroy yourself."
- Richard M. Nixon
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
More information about the Ocfs2-devel
mailing list