commit | 91b4c1bd20f9dfe2da6afb384a4a4c8f23c4edb8 | [log] [tgz] |
---|---|---|
author | Dongjin Kim <dongjin_.kim@samsung.com> | Tue Jun 08 20:12:28 2021 +0900 |
committer | Brett Wilson <brettw@google.com> | Tue Jun 15 15:00:34 2021 +0000 |
tree | 2988b6794a38adea981be37989749efaa7413aa0 | |
parent | 39686fccc116e16e0e208f9ee68d2b14039c7b81 [diff] |
[f2fs] Enable mkfs options for f2fs This change enables to configure mkfs options as below. -l label -a heap-based allocation [default: 1] -o overprovision ratio [default: 5] -s # of segments per section [default: 1] -z # of sections per zone [default: 1] -e [extension list] e.g. "mp3,gif,mov" Test: fx test f2fs-unittest fs-tests large-fs-tests Prerequisite: FUCHSIA_DIR$ patch -p1 < \ third_party/f2fs/patches/0007-f2fs-Add-filesystem-specific-mkfs-option.patch Change-Id: Ibd944e9b4638f0ba122572355dd2e5eca3520094 Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/f2fs/+/543302 Reviewed-by: Brett Wilson <brettw@google.com>
F2FS is the most commonly used log-structured file system in Linux. It supports flash-friendly features such as adaptive logging, multi-head logging, fsync acceleration, and node address translation. For more information see: https://www.usenix.org/conference/fast15/technical-sessions/presentation/lee
$ fx set core.x64 --with-base //bundles:tools --with-base //bundles:tests --with-base third_party/f2fs $ fx emu -N --headless (see third_party/f2fs/test_files/README.md for test)