aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/jbd2.h
diff options
context:
space:
mode:
authorYongqiang Yang <xiaoqiangnk@gmail.com>2011-12-28 13:55:51 -0500
committerTheodore Ts'o <tytso@mit.edu>2011-12-28 13:55:51 -0500
commit5872ddaaf05bf25e3ab90580295ebc946405928c (patch)
tree6dacee8fbc61ae67e9853edfdcddc8b9bc788b00 /include/linux/jbd2.h
parentext4: allocate delalloc blocks before changing journal mode (diff)
downloadwireguard-linux-5872ddaaf05bf25e3ab90580295ebc946405928c.tar.xz
wireguard-linux-5872ddaaf05bf25e3ab90580295ebc946405928c.zip
ext4: flush journal when switching from data=journal mode
It's necessary to flush the journal when switching away from data=journal mode. This is because there are no revoke records when data blocks are journalled, but revoke records are required in the other journal modes. However, it is not necessary to flush the journal when switching into data=journal mode, and flushing the journal is expensive. So let's avoid it in that case. Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'include/linux/jbd2.h')
0 files changed, 0 insertions, 0 deletions