1
0
Mirror von https://github.com/tkuschel/bees.git synchronisiert 2026-05-08 04:59:37 +02:00

Update btrfs compression types, add ZSTD, drop LAST

Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
Dieser Commit ist enthalten in:
Timofey Titovets
2018-01-04 20:32:04 +03:00
Ursprung 40112faf0f
Commit 80e4302958
2 geänderte Dateien mit 3 neuen und 2 gelöschten Zeilen
+2 -2
Datei anzeigen
@@ -112,8 +112,8 @@ namespace crucible {
BTRFS_COMPRESS_NONE = 0,
BTRFS_COMPRESS_ZLIB = 1,
BTRFS_COMPRESS_LZO = 2,
BTRFS_COMPRESS_TYPES = 2,
BTRFS_COMPRESS_LAST = 3,
BTRFS_COMPRESS_ZSTD = 3,
BTRFS_COMPRESS_TYPES = 3
} btrfs_compression_type;
struct FiemapExtent : public fiemap_extent {
+1
Datei anzeigen
@@ -468,6 +468,7 @@ namespace crucible {
static const bits_ntoa_table table[] = {
NTOA_TABLE_ENTRY_ENUM(BTRFS_COMPRESS_ZLIB),
NTOA_TABLE_ENTRY_ENUM(BTRFS_COMPRESS_LZO),
NTOA_TABLE_ENTRY_ENUM(BTRFS_COMPRESS_ZSTD),
NTOA_TABLE_ENTRY_END()
};
return bits_ntoa(compress_type, table);