summaryrefslogtreecommitdiff
path: root/fs/bcachefs/bcachefs_format.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2017-03-09 08:41:05 -0900
committerKent Overstreet <kent.overstreet@gmail.com>2017-04-02 22:25:42 -0800
commit3d8f1a9b4c8c6544b24410523fd4ece6d35fcb34 (patch)
tree01a09a1535f425b6663db9a70646566da966ff1a /fs/bcachefs/bcachefs_format.h
parentdcabfc55070c8e89d66d83da857be86333327442 (diff)
bcache: zstd compression supportbcachefs-zstd
Diffstat (limited to 'fs/bcachefs/bcachefs_format.h')
-rw-r--r--fs/bcachefs/bcachefs_format.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/bcachefs/bcachefs_format.h b/fs/bcachefs/bcachefs_format.h
index 0a0dc8708b94..e964a0831ecd 100644
--- a/fs/bcachefs/bcachefs_format.h
+++ b/fs/bcachefs/bcachefs_format.h
@@ -1025,7 +1025,8 @@ enum bch_compression_opts {
BCH_COMPRESSION_NONE = 0,
BCH_COMPRESSION_LZ4 = 1,
BCH_COMPRESSION_GZIP = 2,
- BCH_COMPRESSION_NR = 3,
+ BCH_COMPRESSION_ZSTD = 3,
+ BCH_COMPRESSION_NR = 4,
};
/* backing device specific stuff: */