From: Mark Fasheh Date: Tue, 9 Jun 2009 10:36:54 -0700 Subject: [Ocfs2-devel] [PATCH] OCFS2: fdatasync should skip unimportant metadata writeout In-Reply-To: <6.0.0.20.2.20090609154314.0729f488@172.19.0.2> References: <6.0.0.20.2.20090609154314.0729f488@172.19.0.2> Message-ID: <20090609173654.GI10980@wotan.suse.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ocfs2-devel@oss.oracle.com 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 Acked-by: Mark Fasheh --Mark -- Mark Fasheh