]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ext3: Use WRITE_SYNC for commits which are caused by fsync()
authorTheodore Ts'o <tytso@mit.edu>
Sat, 28 Mar 2009 02:14:27 +0000 (22:14 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 28 Mar 2009 02:14:27 +0000 (22:14 -0400)
commit512a004382f2c60d5c4f855476ba965adc00250c
treee0ecfce01aab892a415b95d6d4c8c5a8bd033a49
parenta64c8610bd3b753c6aff58f51c04cdf0ae478c18
ext3: 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>
Acked-by: Jan Kara <jack@suse.cz>
fs/jbd/commit.c
fs/jbd/transaction.c
include/linux/jbd.h