ext4: Use WRITE_SYNC for commits which are caused by fsync()
authorTheodore Ts'o <tytso@mit.edu>
Thu, 26 Mar 2009 03:35:46 +0000 (23:35 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 26 Mar 2009 03:35:46 +0000 (23:35 -0400)
commit7058548cd50e5bda8db086bb2e5c1d82f746d047
treeacd095e9f13fcb10deab00e5da5c22d35fda646d
parentafd4672dc7610b7feef5190168aa917cc2e417e4
ext4: Use WRITE_SYNC for commits which are caused by fsync()

If a commit is triggered by fsync(), set a flag indicating the journal
blocks associated with the transaction should be flushed out using
WRITE_SYNC.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/jbd2/commit.c
fs/jbd2/transaction.c
include/linux/jbd2.h