f2fs for 6.18-rc1
Hi Linus,
Could you please consider this pull request?
Thanks,
The following changes since commit 8f5ae30d69d7543eee0d70083daf4de8fe15d585:
Linux 6.17-rc1 (2025-08-10 19:41:16 +0300)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git tags/f2fs-for-6.18-rc1
for you to fetch changes up to 4e715744bf7b4e5521cc3b77f310060f862cb719:
f2fs: add missing dput() when printing the donation list (2025-10-03 03:16:10 +0000)
----------------------------------------------------------------
f2fs-for-6.18-rc1
This release focuses on two primary updates for Android devices. First, it sets hash-based file name lookup as the default method to improve performance, while retaining an option to fall back to a linear lookup. Second, it resolves a persistent issue with the checkpoint=enable feature. The update further boosts performance by prefetching node blocks, merging FUA writes more efficiently, and optimizing block allocation policies.
The release is rounded out by a comprehensive set of bug fixes that address memory safety, data integrity, and potential system hangs, along with minor documentation and code clean-ups.
Enhancement:
- add mount option and sysfs entry to tune the lookup mode
- dump more information and add a timeout when enabling/disabling checkpoints
- readahead node blocks in F2FS_GET_BLOCK_PRECACHE mode
- merge FUA command with the existing writes
- allocate HOT_DATA for IPU writes
- Use allocate_section_policy to control write priority in multi-devices setups
- add reserved nodes for privileged users
- Add bggc_io_aware to adjust the priority of BG_GC when issuing IO
- show the list of donation files
Bug fix:
- add missing dput() when printing the donation list
- fix UAF issue in f2fs_merge_page_bio()
- add sanity check on ei.len in __update_extent_tree_range()
- fix infinite loop in __insert_extent_tree()
- fix zero-sized extent for precache extents
- fix to mitigate overhead of f2fs_zero_post_eof_page()
- fix to avoid migrating empty section
- fix to truncate first page in error path of f2fs_truncate()
- fix to update map->m_next_extent correctly in f2fs_map_blocks()
- fix wrong layout information on 16KB page
- fix to do sanity check on node footer for non inode dnode
- fix to avoid NULL pointer dereference in f2fs_check_quota_consistency()
- fix to detect potential corrupted nid in free_nid_list
- fix to clear unusable_cap for checkpoint=enable
- fix to zero data after EOF for compressed file correctly
- fix to avoid overflow while left shift operation
- fix condition in __allow_reserved_blocks()
----------------------------------------------------------------
Bagas Sanjaya (6):
Documentation: f2fs: Separate errors mode subtable
Documentation: f2fs: Format compression level subtable
Documentation: f2fs: Span write hint table section rows
Documentation: f2fs: Wrap snippets in literal code blocks
Documentation: f2fs: Indent compression_mode option list
Documentation: f2fs: Reword title
Chao Yu (22):
f2fs: dump more information when checkpoint was blocked for long time
f2fs: add time stats of checkpoint for debug
f2fs: fix condition in __allow_reserved_blocks()
f2fs: fix to avoid overflow while left shift operation
f2fs: fix to zero data after EOF for compressed file correctly
f2fs: clean up f2fs_truncate_partial_cluster()
f2fs: fix to clear unusable_cap for checkpoint=enable
f2fs: fix to detect potential corrupted nid in free_nid_list
f2fs: add timeout in f2fs_enable_checkpoint()
f2fs: dump more information for f2fs_{enable,disable}_checkpoint()
f2fs: clean up w/ get_left_section_blocks()
f2fs: fix to avoid NULL pointer dereference in f2fs_check_quota_consistency()
f2fs: fix to allow removing qf_name
f2fs: fix to do sanity check on node footer for non inode dnode
f2fs: avoid unnecessary folio_clear_uptodate() for cleanup
f2fs: clean up error handing of f2fs_submit_page_read()
f2fs: fix to update map->m_next_extent correctly in f2fs_map_blocks()
f2fs: fix to truncate first page in error path of f2fs_truncate()
f2fs: fix to avoid migrating empty section
f2fs: fix to mitigate overhead of f2fs_zero_post_eof_page()
f2fs: add sanity check on ei.len in __update_extent_tree_range()
f2fs: fix UAF issue in f2fs_merge_page_bio()
Chunhai Guo (1):
f2fs: add reserved nodes for privileged users
Daniel Lee (2):
f2fs: add lookup_mode mount option
f2fs: add sysfs entry for effective lookup mode
Jaegeuk Kim (5):
f2fs: show the list of donation files
f2fs: allocate HOT_DATA for IPU writes
f2fs: merge FUA command with the existing writes
f2fs: fix wrong layout information on 16KB page
f2fs: add missing dput() when printing the donation list
Liao Yuanhong (2):
f2fs: Add bggc_io_aware to adjust the priority of BG_GC when issuing IO
f2fs: Use allocate_section_policy to control write priority in multi-devices setups
Soham Metha (1):
docs: f2fs: fixed spelling mistakes in documentation
Yunji Kang (1):
f2fs: readahead node blocks in F2FS_GET_BLOCK_PRECACHE mode
mason.zhang (1):
f2fs: add error checking in do_write_page()
wangzijie (2):
f2fs: fix zero-sized extent for precache extents
f2fs: fix infinite loop in __insert_extent_tree()
Documentation/ABI/testing/sysfs-fs-f2fs | 56 ++++++++++++++- Documentation/filesystems/f2fs.rst | 122 ++++++++++++++++++++------------ fs/f2fs/checkpoint.c | 53 ++++++++++++++ fs/f2fs/compress.c | 43 ++++++----- fs/f2fs/data.c | 59 ++++++--------- fs/f2fs/dir.c | 17 ++++- fs/f2fs/extent_cache.c | 15 ++++ fs/f2fs/f2fs.h | 88 ++++++++++++++++++----- fs/f2fs/file.c | 49 +++++++------ fs/f2fs/gc.c | 25 ++++++- fs/f2fs/node.c | 77 ++++++++++++++------ fs/f2fs/node.h | 1 + fs/f2fs/recovery.c | 2 +- fs/f2fs/segment.c | 30 +++++++- fs/f2fs/segment.h | 28 ++++---- fs/f2fs/super.c | 121 +++++++++++++++++++++++++++---- fs/f2fs/sysfs.c | 119 ++++++++++++++++++++++++++++++- include/linux/f2fs_fs.h | 1 + 18 files changed, 702 insertions(+), 204 deletions(-)
The pull request you sent on Fri, 3 Oct 2025 17:56:27 +0000:
The pull request you sent on Fri, 3 Oct 2025 17:56:27 +0000:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.gittags/f2fs-for-6.18-rc1
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/86d563ac5fb0c6f404e82692581bb67a6f35e5de
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html
This pull request was applied to jaegeuk/f2fs.git (dev) by Linus Torvalds <[email protected]>:
Hello:
This pull request was applied to jaegeuk/f2fs.git (dev) by Linus Torvalds <[email protected]>:
Quoted 9 lines · On Fri, 3 Oct 2025 17:56:27 +0000 you wrote:
Hi Linus,
Could you please consider this pull request?
Thanks,
The following changes since commit
8f5ae30d69d7543eee0d70083daf4de8fe15d585:[...]
Here is the summary with links:
- [f2fs-dev,GIT,PULL] f2fs for 6.18-rc1
https://git.kernel.org/jaegeuk/f2fs/c/86d563ac5fb0
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html