f2fs-tools/lib
Jaegeuk Kim 1d2683f551 f2fs-tools: support small RO partition
This patch adds a readonly feature on small partitions by eliminating
on-disk layout for data writes such as provisioning/reserved space and
SSA.

This requires f2fs updates to understand RO feature in superblock.

Tested 4 cases:
 sload.f2fs -c -a lz0 -f kernel/fs $DEV
 sload.f2fs -c -a lz4 -f kernel/fs $DEV
 sload.f2fs -c -r -a lz4 -f kernel/fs $DEV
 sload.f2fs -c -L 3 -r -a lz4 -f kernel/fs $DEV

after:
 mkfs.f2fs -O ro,compression,extra_attr -f $DEV
 fsck.f2fs $DEV

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2021-05-26 10:07:43 -07:00
..
libf2fs_io.c f2fs-tools: support small RO partition 2021-05-26 10:07:43 -07:00
libf2fs_zoned.c resize.f2fs: fix wrong ovp calculation 2021-04-01 20:19:10 -07:00
libf2fs.c f2fs-tools: correct get kernel version logic 2021-05-19 19:15:25 -07:00
Makefile.am f2fs-tools: Add support for Casefolding 2019-08-27 14:51:05 -07:00
nls_utf8.c f2fs-tools: Add support for Casefolding 2019-08-27 14:51:05 -07:00
utf8data.h f2fs-tools: Add support for Casefolding 2019-08-27 14:51:05 -07:00