diff options
author | Theodore Ts'o <tytso@mit.edu> | 2013-04-21 16:45:54 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2013-04-21 16:45:54 -0400 |
commit | 13fca323e9a8b63c08de7a4e05d3c702516b535d (patch) | |
tree | 1dcce50172dc6561d1509abfdaf1f602a9c904f1 /fs/ext4/ext4_jbd2.c | |
parent | 877f962c5edacfef60ab21cfed6d8d54ce25b8a6 (diff) | |
download | linux-13fca323e9a8b63c08de7a4e05d3c702516b535d.tar.bz2 |
ext4: mark metadata blocks using bh flags
This allows metadata writebacks which are issued via block device
writeback to be sent with the current write request flags.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4_jbd2.c')
-rw-r--r-- | fs/ext4/ext4_jbd2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ext4/ext4_jbd2.c b/fs/ext4/ext4_jbd2.c index 0e1dc9e70ce5..451eb4045330 100644 --- a/fs/ext4/ext4_jbd2.c +++ b/fs/ext4/ext4_jbd2.c @@ -215,6 +215,8 @@ int __ext4_handle_dirty_metadata(const char *where, unsigned int line, might_sleep(); + set_buffer_meta(bh); + set_buffer_prio(bh); if (ext4_handle_valid(handle)) { err = jbd2_journal_dirty_metadata(handle, bh); if (err) { |