summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/compression.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/compression.h')
-rw-r--r--fs/btrfs/compression.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/btrfs/compression.h b/fs/btrfs/compression.h
index 004db0b3111b..9a0e73c65b87 100644
--- a/fs/btrfs/compression.h
+++ b/fs/btrfs/compression.h
@@ -132,6 +132,10 @@ struct btrfs_compress_op {
132 void (*set_level)(struct list_head *ws, unsigned int type); 132 void (*set_level)(struct list_head *ws, unsigned int type);
133}; 133};
134 134
135/* The heuristic workspaces are managed via the 0th workspace manager */
136#define BTRFS_NR_WORKSPACE_MANAGERS (BTRFS_COMPRESS_TYPES + 1)
137
138extern const struct btrfs_compress_op btrfs_heuristic_compress;
135extern const struct btrfs_compress_op btrfs_zlib_compress; 139extern const struct btrfs_compress_op btrfs_zlib_compress;
136extern const struct btrfs_compress_op btrfs_lzo_compress; 140extern const struct btrfs_compress_op btrfs_lzo_compress;
137extern const struct btrfs_compress_op btrfs_zstd_compress; 141extern const struct btrfs_compress_op btrfs_zstd_compress;