From: Jan Kara Date: Wed, 9 Dec 2009 04:51:10 +0000 (-0500) Subject: ext4: Wait for proper transaction commit on fsync X-Git-Tag: v2.6.33-rc1~330^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b436b9bef84de6893e86346d8fbf7104bc520645;p=pandora-kernel.git ext4: Wait for proper transaction commit on fsync We cannot rely on buffer dirty bits during fsync because pdflush can come before fsync is called and clear dirty bits without forcing a transaction commit. What we do is that we track which transaction has last changed the inode and which transaction last changed allocation and force it to disk on fsync. Signed-off-by: Jan Kara Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed