Skip to content

Add 16K Support for f2fs

Daniel Rosenberg linux-f2fs-devel lkml 2 versions – Applied

Status from this message: This patch was applied to jaegeuk/f2fs.git (dev)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest1 patch 0 repliesApplied 1/1
  2. v11 patch 1 replySuperseded

Changes in v2 from the cover letter

Adjusted format string

Patches in v2 All 1 applied

#Subject and filesSizeRepliesApplied
1/1f2fs: Support Block Size == Page Sizefs/f2fs/data.c fs/f2fs/inode.c fs/f2fs/node.c +2 more+46 -330 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/1] Add 16K Support for f2fs

F2fs filesystems currently have two large restrictions around block size. The block size must equal the page size, and the block size must be 4096.

The following patch, along with the associated f2fs-tools patch set, relax the latter restriction, allowing you to use 16K block size f2fs on a 16K page size system. It does not allow mounting 4K block size f2fs on a 16k page system.

Doing that would require a lot more work, requiring a refactor of all block sized struct similar to the userspace patches, as well as handling the block reading/writing at sub page boundaries. I'm currently leaving that to future work.

changes for v2:
Adjusted format string

Daniel Rosenberg (1):
f2fs: Support Block Size == Page Size

 fs/f2fs/data.c          |  2 +-
 fs/f2fs/inode.c         |  2 +-
 fs/f2fs/node.c          |  2 +-
 fs/f2fs/super.c         |  4 +--
 include/linux/f2fs_fs.h | 69 ++++++++++++++++++++++++-----------------
 5 files changed, 46 insertions(+), 33 deletions(-)

base-commit: 3e729e50d01e6a336132d1739866a6463f82faa9

Signature · 1 line
2.42.0.582.g8ccd20d70d-goog