diff options
| author | Jan Kara <[email protected]> | 2022-12-07 11:27:12 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2022-12-09 02:49:25 +0000 |
| commit | f30ff35f6266993405c8659e48fddc3180692164 (patch) | |
| tree | 64472f514c1d58db04cbc5c6871a5f98cd82a951 /fs/ext4/fast_commit.c | |
| parent | ext4: switch to using ext4_do_writepages() for ordered data writeout (diff) | |
| download | kernel-f30ff35f6266993405c8659e48fddc3180692164.tar.gz kernel-f30ff35f6266993405c8659e48fddc3180692164.zip | |
jbd2: switch jbd2_submit_inode_data() to use fs-provided hook for data writeout
jbd2_submit_inode_data() hardcoded use of
jbd2_journal_submit_inode_data_buffers() for submission of data pages.
Make it use j_submit_inode_data_buffers hook instead. This effectively
switches ext4 fastcommits to use ext4_writepages() for data writeout
instead of generic_writepages().
Signed-off-by: Jan Kara <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
| -rw-r--r-- | fs/ext4/fast_commit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/fast_commit.c b/fs/ext4/fast_commit.c index 1da85f626116..4594b62f147b 100644 --- a/fs/ext4/fast_commit.c +++ b/fs/ext4/fast_commit.c @@ -981,7 +981,7 @@ static int ext4_fc_submit_inode_data_all(journal_t *journal) finish_wait(&ei->i_fc_wait, &wait); } spin_unlock(&sbi->s_fc_lock); - ret = jbd2_submit_inode_data(ei->jinode); + ret = jbd2_submit_inode_data(journal, ei->jinode); if (ret) return ret; spin_lock(&sbi->s_fc_lock); |
