Skip to content

Enable F2FS on all targets - #4977

Merged
sairon merged 1 commit into
devfrom
enable-f2fs
Aug 24, 2026
Merged

sairon merged 1 commit into
devfrom
enable-f2fs

Conversation

@sairon

@sairon sairon commented Aug 24, 2026 •

Copy link
Copy Markdown
Member

Move the F2FS configuration to the shared haos.config kernel fragment so it is enabled on every board. Until now only the Rockchip boards (built-in) and Khadas VIM3 (module) had F2FS support. Build it in with security xattrs enabled, so Docker layers containing files with security.* attributes work on an F2FS data disk, and with compression support to keep feature parity with the Rockchip kernels.

Remove the F2FS options from the Rockchip and Khadas VIM kernel configs superseded by the shared fragment. CONFIG_F2FS_CHECK_FS previously enabled on Rockchip is intentionally not carried over, as it is a development option adding runtime consistency checks.

Refs #4969

Summary by CodeRabbit

  • Configuration Updates
    • Updated filesystem support across supported hardware platforms.
    • Enabled built-in F2FS support with security labeling and compression for HAOS Linux 6.18.
    • Removed F2FS support from Khadas VIM and Rockchip ARM64 kernel configurations.

Move the F2FS configuration to the shared haos.config kernel fragment
so it is enabled on every board. Until now only the Rockchip boards
(built-in) and Khadas VIM3 (module) had F2FS support. Build it in with
security xattrs enabled, so Docker layers containing files with
security.* attributes work on an F2FS data disk, and with compression
support to keep feature parity with the Rockchip kernels.

Remove the F2FS options from the Rockchip and Khadas VIM kernel configs
superseded by the shared fragment. CONFIG_F2FS_CHECK_FS previously
enabled on Rockchip is intentionally not carried over, as it is a
development option adding runtime consistency checks.

Refs #4969
@sairon
sairon requested a review from agners August 24, 2026 11:45
@sairon sairon added os linux Linux kernel related issue labels Aug 24, 2026
@coderabbitai

coderabbitai Bot commented Aug 24, 2026 •

Copy link
Copy Markdown

No actionable comments were generated in the recent review. ๐ŸŽ‰

โ„น๏ธ Recent review info
โš™๏ธ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: c7d67218-ea08-44ce-9185-e14fa667b414

๐Ÿ“ฅ Commits

Reviewing files that changed from the base of the PR and between 56e1e1e and c21f6e6.

๐Ÿ“’ Files selected for processing (3)
  • buildroot-external/board/khadas/kernel-vim.config
  • buildroot-external/kernel/v6.18.y/haos.config
  • buildroot-external/kernel/v6.18.y/kernel-arm64-rockchip.config
๐Ÿ’ค Files with no reviewable changes (2)
  • buildroot-external/board/khadas/kernel-vim.config
  • buildroot-external/kernel/v6.18.y/kernel-arm64-rockchip.config

Included review availability: Your plan provides up to 8 included reviews per hour; 7 remain after this review.


๐Ÿ“ Walkthrough

Walkthrough

The kernel configurations now enable built-in F2FS support for HAOS and remove F2FS settings from Khadas VIM and Rockchip ARM64 targets.

Changes

F2FS kernel configuration alignment

Layer / File(s) Summary
Align target kernel configurations
buildroot-external/kernel/v6.18.y/haos.config, buildroot-external/board/khadas/kernel-vim.config, buildroot-external/kernel/v6.18.y/kernel-arm64-rockchip.config
HAOS enables built-in F2FS support with security labeling and compression. Khadas VIM and Rockchip ARM64 configurations remove F2FS settings.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: โšช Minimal ยท up to c21f6

This PR centralizes F2FS kernel support across targets and enables the requested security xattrs and compression features; no actionable merge-blocking risk remains beyond normal checks and review.

Suggested reviewers: agners

Poem

A rabbit hops through kernel lines,
F2FS settings fall in signs.
HAOS grows support bright and neat,
Two boards trim what they do not need.
Configs align with carrots sweet!

๐Ÿšฅ Pre-merge checks | โœ… 5
โœ… Passed checks (5 passed)
Check name Status Explanation
Description Check โœ… Passed Check skipped - CodeRabbitโ€™s high-level summary is enabled.
Title check โœ… Passed The title clearly summarizes the main change: enabling built-in F2FS support across all targets.
Docstring Coverage โœ… Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)
Linked Issues check โœ… Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check โœ… Passed Check skipped because no linked issues were found for this pull request.
โœจ Finishing Touches
๐Ÿงช Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch enable-f2fs

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

โค๏ธ Share

Comment @coderabbitai help to get the list of available commands.

@sairon
sairon merged commit 8fc6503 into dev Aug 24, 2026
3 checks passed
@sairon
sairon deleted the enable-f2fs branch August 24, 2026 12:34
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed linux Linux kernel related issue os

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants