From 5469d56155ec75f3bb6682a74bae80c8e66d28b9 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Wed, 22 Oct 2008 14:58:05 +0300 Subject: Introduce favor_lzo compressor options Signed-off-by: Artem Bityutskiy --- mkfs.ubifs/ubifs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mkfs.ubifs/ubifs.h') diff --git a/mkfs.ubifs/ubifs.h b/mkfs.ubifs/ubifs.h index 0804801..fbefc53 100644 --- a/mkfs.ubifs/ubifs.h +++ b/mkfs.ubifs/ubifs.h @@ -272,6 +272,8 @@ struct ubifs_znode * @main_lebs: count of LEBs in the main area * @main_first: first LEB of the main area * @default_compr: default compression type + * @favor_lzo: favor LZO compression method + * @favor_percent: lzo vs. zlib threshold used in case favor LZO * * @key_hash_type: type of the key hash * @key_hash: direntry key hash function @@ -342,6 +344,8 @@ struct ubifs_info int main_lebs; int main_first; int default_compr; + int favor_lzo; + int favor_percent; uint8_t key_hash_type; uint32_t (*key_hash)(const char *str, int len); -- cgit v1.2.3