commit | 6e9d4ed65ad140c1cdd3ce2d96fe91bf4b8a08d2 | [log] [tgz] |
---|---|---|
author | Jaeyoon Choi <j_yoon.choi@samsung.com> | Tue Apr 27 16:10:27 2021 +0900 |
committer | Brett Wilson <brettw@google.com> | Mon May 17 15:46:41 2021 +0000 |
tree | a8027f1b9012b6c8c07dd2f797e105d37e7f1797 | |
parent | b917a6fc4c420d396cb019e93ebdcf5f5aa691cf [diff] |
[f2fs] code refactoring: mkfs.h, mkfs.cc Add default destructor (mkfs.h) Change ASCIIToUNICODE function name and Change output prameter position to last (mkfs.h, mkfs.cc) (comments on mkfs.h: #23, #35, #51 https://fuchsia-review.googlesource.com/c/third_party/f2fs/+/511845) Change multi line printf to one line (mkfs.cc) Change while roop to range-based for loop (mkfs.cc) (comments on mkfs.cc: #31, #173, #467 https://fuchsia-review.googlesource.com/c/third_party/f2fs/+/511846/6) Init struct member pointer to nullptr (mkfs.h) (comment: #53 https://fuchsia-review.googlesource.com/c/third_party/f2fs/+/511839) Change unsigned int style to uint32_t (mkfs.h, mkfs.cc) (comment: #142 https://fuchsia-review.googlesource.com/c/third_party/f2fs/+/511840) Change struct xxx to xxx (mkfs.h, mkfs.cc) (comment: #312 https://fuchsia-review.googlesource.com/c/third_party/f2fs/+/520881/2) Change int8_t err to zx_status_t (mkfs.h, mkfs.cc) (comment: #24, #106 https://fuchsia-review.googlesource.com/c/third_party/f2fs/+/520882) Change hard coded value to constexpr (mkfs.h, mkfs.cc) (comment: #9, #128 https://fuchsia-review.googlesource.com/c/third_party/f2fs/+/511840) Remove f2fs prefix (mkfs.h) (comment: #84 https://fuchsia-review.googlesource.com/c/third_party/f2fs/+/511841) Change-Id: I1d3b82437f57c87105af2bc8d620eb6424f07d0e Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/f2fs/+/530799 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 bringup.x64 --with //bundles:tools --with-base //bundles/buildbot:bringup --with-base third_party/f2fs --with-base third_party/f2fs/tools:f2fs-tools $ fx build $ fx emu -N --headless -hda third_party/f2fs/test_files/blk{500m or 1g}.bin (see third_party/f2fs/test_files/README.md for test)