summaryrefslogtreecommitdiff
path: root/bcache.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2015-06-19 00:57:03 -0700
committerKent Overstreet <kent.overstreet@gmail.com>2015-06-19 00:57:03 -0700
commitf45d84c6abcebfc83f645962191de69e3ad53edf (patch)
treef58a3b88bc2590394633e96b2827eea0dc6a2dbb /bcache.c
parent15a004c7a2a405bb8c2d5da15d9390073b0d83ee (diff)
Add support for setting data checksum type, compression type
Diffstat (limited to 'bcache.c')
-rw-r--r--bcache.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/bcache.c b/bcache.c
index c170fe7..3cb5dfe 100644
--- a/bcache.c
+++ b/bcache.c
@@ -44,6 +44,14 @@ const char * const csum_types[] = {
NULL
};
+const char * const compression_types[] = {
+ "none",
+ "lzo1x",
+ "gzip",
+ "xz",
+ NULL
+};
+
const char * const error_actions[] = {
"continue",
"readonly",