mirror of
https://gitee.com/openharmony/third_party_f2fs-tools
synced 2024-11-27 04:00:57 +00:00
f642b24822
During mkfs, once we have issued discard for all device, we can set CP_TRIMMED_FLAG in cp pack, this can make kernel module to record undiscard blocks correctly, it will help to avoid unneeded discard. Also this patch makes f2fs-tools be with the ability of recognizing that new flag. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> |
||
---|---|---|
.. | ||
f2fs_format_main.c | ||
f2fs_format_utils.c | ||
f2fs_format_utils.h | ||
f2fs_format.c | ||
Makefile.am |