From: Jan Kara Date: Fri, 16 Oct 2009 17:26:15 +0000 (+0200) Subject: ext3: Wait for proper transaction commit on fsync X-Git-Tag: v2.6.32-rc7~38^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe8bc91c4c30122b357d197117705cfd4fabaf28;p=pandora-kernel.git ext3: 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 Reviewed-by: Aneesh Kumar K.V --- Reading git-diff-tree failed