f2fs-tools/include
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
..
android_config.h f2fs_io: change fibmap to fiemap 2020-12-07 09:25:12 -08:00
f2fs_fs.h f2fs-tools: support small RO partition 2021-05-26 10:07:43 -07:00
quota.h f2fs-tools: change to use #pragma pack(push, 1) 2018-04-03 00:10:08 -07:00