diff options
author | Theodore Ts'o <tytso@mit.edu> | 2009-03-28 05:14:27 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2009-03-28 05:14:27 +0300 |
commit | 512a004382f2c60d5c4f855476ba965adc00250c (patch) | |
tree | e0ecfce01aab892a415b95d6d4c8c5a8bd033a49 /include/linux/jbd.h | |
parent | a64c8610bd3b753c6aff58f51c04cdf0ae478c18 (diff) | |
download | linux-512a004382f2c60d5c4f855476ba965adc00250c.tar.xz |
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>
Diffstat (limited to 'include/linux/jbd.h')
-rw-r--r-- | include/linux/jbd.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/jbd.h b/include/linux/jbd.h index 64246dce5663..2c6943152c21 100644 --- a/include/linux/jbd.h +++ b/include/linux/jbd.h @@ -552,6 +552,11 @@ struct transaction_s */ int t_handle_count; + /* + * This transaction is being forced and some process is + * waiting for it to finish. + */ + int t_synchronous_commit:1; }; /** |