commit | bbd2be36910728f485ac78ea36e0f4f5a38e691e | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Tue May 24 11:59:18 2011 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Tue May 24 11:59:18 2011 -0400 |
tree | 6a45da5a6ef8bafe9614de5fac68cce1fe4e13ec | |
parent | 81be12c8179c1c397d3f179cdd9b3f7146cf47f1 [diff] |
jbd2: Add function jbd2_trans_will_send_data_barrier() Provide a function which returns whether a transaction with given tid will send a flush to the filesystem device. The function will be used by ext4 to detect whether fsync needs to send a separate flush or not. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>