]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: add discard/zeroout flags to journal flush
authorLeah Rumancik <leah.rumancik@gmail.com>
Tue, 18 May 2021 15:13:25 +0000 (15:13 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 22 Jun 2021 23:27:10 +0000 (19:27 -0400)
commit0fa6222a768d41cfd121d68f23b0182671a137cc
treecc7fc418d36a2cda0f939cc19a499c8d2bce953e
parent09573f8c2b7da20e8d7d9beb6c0ff14e7a00f097
ext4: add discard/zeroout flags to journal flush

Add a flags argument to jbd2_journal_flush to enable discarding or
zero-filling the journal blocks while flushing the journal.

Signed-off-by: Leah Rumancik <leah.rumancik@gmail.com>
Link: https://lore.kernel.org/r/20210518151327.130198-1-leah.rumancik@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/inode.c
fs/ext4/ioctl.c
fs/ext4/super.c
fs/jbd2/journal.c
fs/ocfs2/alloc.c
fs/ocfs2/journal.c
include/linux/jbd2.h