ext4 fast commit fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest22 patches 0 repliesNew
- v110 patches 21 repliesSuperseded
Changes in v2 from the cover letter
- Broke couple of misc patches into separate patches
- Added a few new fixes:
- atomic update of mount flags
- no fast commits on aborted journal
- Dropped confusing fast commit mount options
- Dropped jbd2_fc_init()
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/22 | ext4: describe fast_commit feature flagsDocumentation/ Documentation/ fs/ | +20 | 0 replies | |
| 2/22 | ext4: mark fc ineligible if inode gets evictied due to mem pressurefs/ fs/ fs/ +1 more | +8 | 0 replies | |
| 3/22 | ext4: drop redundant calls ext4_fc_track_rangefs/ fs/ | +0 | 0 replies | |
| 4/22 | ext4: fixup ext4_fc_track_* functions' signaturefs/ fs/ fs/ +2 more | +74 | 0 replies | |
| 5/22 | jbd2: rename j_maxlen to j_total_len and add jbd2_journal_max_txn_bufsfs/ fs/ fs/ +4 more | +20 | 0 replies | |
| 6/22 | ext4: clean up the JBD2 API that initializes fast commitsfs/ fs/ fs/ +2 more | +65 | 0 replies | |
| 7/22 | jbd2: drop jbd2_fc_init documentationDocumentation/ | +2 | 0 replies | |
| 8/22 | jbd2: don't use state lock during commit pathfs/ include/ | +6 | 0 replies | |
| 9/22 | jbd2: don't pass tid to jbd2_fc_end_commit_fallback()fs/ fs/ include/ | +11 | 0 replies | |
| 10/22 | jbd2: add todo for a fast commit performance optimizationfs/ | +9 | 0 replies | |
| 11/22 | jbd2: don't touch buffer state until it is filledfs/ | +0 | 0 replies | |
| 12/22 | jbd2: don't read journal->j_commit_sequence without taking a lockfs/ | +4 | 0 replies | |
| 13/22 | ext4: dedpulicate the code to wait on inode that's being committedfs/ | +27 | 0 replies | |
| 14/22 | ext4: fix code documentatioonfs/ | +2 | 0 replies | |
| 15/22 | ext4: mark buf dirty before submitting fast commit bufferfs/ | +1 | 0 replies | |
| 16/22 | ext4: remove unnecessary fast commit calls from ext4_file_mmapfs/ | +0 | 0 replies | |
| 17/22 | ext4: fix inode dirty check in case of fast commitsfs/ fs/ fs/ | +1 | 0 replies | |
| 18/22 | ext4: disable fast commit with data journallingfs/ fs/ fs/ +1 more | +14 | 0 replies | |
| 19/22 | ext4: issue fsdev cache flush before starting fast commitfs/ | +7 | 0 replies | |
| 20/22 | ext4: make s_mount_flags modifications atomicfs/ fs/ fs/ +4 more | +52 | 0 replies | |
| 21/22 | jbd2: don't start fast commit on aborted journalfs/ | +2 | 0 replies | |
| 22/22 | ext4: cleanup fast commit mount optionsfs/ | +4 | 0 replies |
Reviews trailers per patch
4 of 22 patches have a Reviewed-by or Acked-by.
| Patch | Jan Kara | Andrea Righi |
|---|---|---|
| 1/22 | R-b | |
| 2/22 | ||
| 3/22 | ||
| 4/22 | ||
| 5/22 | ||
| 6/22 | ||
| 7/22 | ||
| 8/22 | ||
| 9/22 | ||
| 10/22 | ||
| 11/22 | ||
| 12/22 | ||
| 13/22 | ||
| 14/22 | ||
| 15/22 | ||
| 16/22 | ||
| 17/22 | R-b | T-b |
| 18/22 | R-b | |
| 19/22 | R-b | |
| 20/22 | ||
| 21/22 | ||
| 22/22 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/22] ext4 fast commit fixes
ext4: fast commit fixes
This patch series adds several code-only (no on disk format changes) fixes for the fast commit code. I verified that there were no regressions introduced by this patch series in xfstests auto and log groups in fast_commit and 4k configurations.
Changes since V1:
- Broke couple of misc patches into separate patches
- Added a few new fixes:
- atomic update of mount flags
- no fast commits on aborted journal
- Dropped confusing fast commit mount options
- Dropped jbd2_fc_init()
Harshad Shirwadkar (22):
ext4: describe fast_commit feature flags
ext4: mark fc ineligible if inode gets evictied due to mem pressure
ext4: drop redundant calls ext4_fc_track_range
ext4: fixup ext4_fc_track_* functions' signature
jbd2: rename j_maxlen to j_total_len and add jbd2_journal_max_txn_bufs
ext4: clean up the JBD2 API that initializes fast commits
jbd2: drop jbd2_fc_init documentation
jbd2: don't use state lock during commit path
jbd2: don't pass tid to jbd2_fc_end_commit_fallback()
jbd2: add todo for a fast commit performance optimization
jbd2: don't touch buffer state until it is filled
jbd2: don't read journal->j_commit_sequence without taking a lock
ext4: dedpulicate the code to wait on inode that's being committed
ext4: fix code documentatioon
ext4: mark buf dirty before submitting fast commit buffer
ext4: remove unnecessary fast commit calls from ext4_file_mmap
ext4: fix inode dirty check in case of fast commits
ext4: disable fast commit with data journalling
ext4: issue fsdev cache flush before starting fast commit
ext4: make s_mount_flags modifications atomic
jbd2: don't start fast commit on aborted journal
ext4: cleanup fast commit mount options
Documentation/filesystems/ext4/journal.rst | 6 + Documentation/filesystems/ext4/super.rst | 7 + Documentation/filesystems/journalling.rst | 6 +- fs/ext4/ext4.h | 66 +++++--- fs/ext4/extents.c | 7 +- fs/ext4/fast_commit.c | 169 +++++++++++---------- fs/ext4/fast_commit.h | 6 +- fs/ext4/file.c | 6 +- fs/ext4/fsmap.c | 2 +- fs/ext4/fsync.c | 2 +- fs/ext4/inode.c | 19 +-- fs/ext4/mballoc.c | 4 +- fs/ext4/namei.c | 61 ++++---- fs/ext4/super.c | 43 +++--- fs/jbd2/commit.c | 11 +- fs/jbd2/journal.c | 138 +++++++++-------- fs/jbd2/recovery.c | 6 +- fs/ocfs2/journal.c | 2 +- include/linux/jbd2.h | 23 ++- include/trace/events/ext4.h | 10 +- 20 files changed, 328 insertions(+), 266 deletions(-)
Signature · 1 line
2.29.1.341.ge80a0c044ae-goog