OSDN Git Service

Allow passing flash block sizes to libext4_utils
authorConnor O'Brien <connoro@google.com>
Wed, 25 Jan 2017 01:41:50 +0000 (17:41 -0800)
committerConnor O'Brien <connoro@google.com>
Wed, 25 Jan 2017 02:03:32 +0000 (18:03 -0800)
commitbdd06dec245b204ade230ae8d1d03923305c4a04
tree5b304d4fbe068fc12cff8e381743a6b187de97bd
parente6fb950818d144d5866bc0eec989b40cfc30bbc5
Allow passing flash block sizes to libext4_utils

Flash erase & logical block size can be used to tune the stride
and stripe_width parameters. Add make_ext4fs_directory_align,
which takes these sizes as arguments.

Test: Factory reset marlin, confirm userdata params are set correctly
Bug: 33243520
Change-Id: Ic8343cff221f0e203a463370a4f1be5ee191946d
Signed-off-by: Connor O'Brien <connoro@google.com>
ext4_utils/include/ext4_utils/make_ext4fs.h
ext4_utils/make_ext4fs.c