[LEDE-DEV] [PATCH] include: image.mk: ext4: double the default inode counter
Bastian Bittorf
bb at npl.de
Tue Nov 22 01:29:29 PST 2016
* Jo-Philipp Wich <jo at mein.io> [22.11.2016 10:08]:
> a huge block size on small partition simply makes no sense. If you
> already configure 16MB partitions then you can as well change block size
> from 4K to 1K or 512B as well since you're deviating from the defaults
> anyway.
>
> Having different code paths for small and huge partitions is annoying
> and leads to maintenance overhead, having to care about inode counts is
> not ideal either as this is imho too much of a filesystem implementation
> detail.
i understand, so we can:
1)
detect via makefile if PARTITION is small and autoadjust BLOCKSIZE
(if not given)
2)
set BLOCKSIZE default to 1K via x86/UML-Makefile
3)
the first approach by changing 'make_ext4fs.c'
what is the best method? - bye, bastian
More information about the Lede-dev
mailing list