forked from containers/composefs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib: Add LCFS_BUILD_NO_INLINE option to build flags
Unless you pass this to lcfs_load_node_from_file() then it will automatically add the file content for small files to the lcfs_nodes, which means that the file data will be stored in the erofs image instead of in a separate file in the basedir. The limit for small files is 64 bytes, which is the size of a sha256 digest in hex form. That is typically the size of a redirect xattr that would be used otherwise, so the end result is that we always get a smaller image if we inline these. 64 is also the typical size of a erofs inode entry, so this will inline well in the inode table. Signed-off-by: Alexander Larsson <[email protected]>
- Loading branch information
1 parent
7412067
commit d636bee
Showing
4 changed files
with
67 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters