summaryrefslogtreecommitdiff
path: root/mkfs.ubifs/ubifs.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-10-22 14:58:05 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-10-22 15:41:01 +0300
commit5469d56155ec75f3bb6682a74bae80c8e66d28b9 (patch)
tree0bac5ec3f1292b3cdaed823d976165aaf4f1dfdc /mkfs.ubifs/ubifs.h
parent38b8f4dc72e3aff117f66042a5d4ce0d71ef8b9c (diff)
Introduce favor_lzo compressor options
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'mkfs.ubifs/ubifs.h')
-rw-r--r--mkfs.ubifs/ubifs.h4
1 files changed, 4 insertions, 0 deletions
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);