commit | 69be23fc2679ba4572945214a2ef062509c82e1f | [log] [tgz] |
---|---|---|
author | Jaeyoon Choi <j_yoon.choi@samsung.com> | Wed Apr 28 16:59:50 2021 +0900 |
committer | Brett Wilson <brettw@google.com> | Mon May 17 15:49:51 2021 +0000 |
tree | fb8f6e4dff1b159d8f6410748e188f83504144db | |
parent | 6bedb2fd5a99211debb3b0d4e28b4aa303cedb3f [diff] |
[f2fs] code refactoring: segment.h, segment.cc Add default initializers for struct member variables (segment.h) (comment: #53 https://fuchsia-review.googlesource.com/c/third_party/f2fs/+/511839) Change unsigned int style to uint32_t (segment.h, segmenet.cc) (comment: #142 https://fuchsia-review.googlesource.com/c/third_party/f2fs/+/511840) Change struct xxx to xxx (segment.h, segment.cc) (comment: #312 https://fuchsia-review.googlesource.com/c/third_party/f2fs/+/520881/2) Change #define to inline function (segment.h, segment.cc, node.cc, recovery.cc) (comment: #749 https://fuchsia-review.googlesource.com/c/third_party/f2fs/+/511842) Change enum to enum class (segment.h, segment.cc) (comment: #429 https://fuchsia-review.googlesource.com/c/third_party/f2fs/+/511841) Change C style cast to static_cast (segment.cc) (comment: #571 https://fuchsia-review.googlesource.com/c/third_party/f2fs/+/520880) Change #define to constexpr (segment.cc) (comment: #9, #128 https://fuchsia-review.googlesource.com/c/third_party/f2fs/+/511840) Change error return using zx_status_t (segment.h, segment.cc) (comment: #24, #106 https://fuchsia-review.googlesource.com/c/third_party/f2fs/+/520882) Apply C++ Style (segment.cc) Change-Id: I2822d3d3375aabf537141d0e3ac53402ef702259 Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/f2fs/+/530805 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)