未验证 提交 215e5199 编写于 作者: C Changjian Gao 提交者: GitHub

Disable data compression by default (#286)

上级 4c21efb6
......@@ -20,7 +20,7 @@ The highlighted features are:
In addition, there are some other features:
- **Global File Locks**: JuiceFS supports both BSD locks (flock) and POSIX record locks (fcntl).
- **Data Compression**: By default JuiceFS uses [LZ4](https://lz4.github.io/lz4) to compress all your data, you could also use [Zstandard](https://facebook.github.io/zstd) instead.
- **Data Compression**: JuiceFS supports use [LZ4](https://lz4.github.io/lz4) or [Zstandard](https://facebook.github.io/zstd) to compress all your data.
- **Data Encryption**: JuiceFS supports data encryption in transit and at rest, read [the guide](docs/en/encrypt.md) for more information.
---
......
......@@ -20,7 +20,7 @@
除此之外,JuiceFS 还具有其它一些特性:
- **文件锁**:支持 BSD 锁(flock)及 POSIX 锁(fcntl);
- **数据压缩**默认使用 [LZ4](https://lz4.github.io/lz4) 压缩数据,节省存储空间;
- **数据压缩**支持使用 [LZ4](https://lz4.github.io/lz4) 或者 [Zstandard](https://facebook.github.io/zstd) 压缩数据,节省存储空间;
- **数据加密**: 支持传输中加密(encryption in transit)以及静态加密(encryption at rest),请查看[这个文档](docs/en/encrypt.md)了解更多信息。
---
......
......@@ -242,7 +242,7 @@ func formatFlags() *cli.Command {
},
&cli.StringFlag{
Name: "compress",
Value: "lz4",
Value: "none",
Usage: "compression algorithm (lz4, zstd, none)",
},
&cli.StringFlag{
......
......@@ -65,7 +65,7 @@ juicefs format [command options] REDIS-URL NAME
size of block in KiB (default: 4096)
`--compress value`\
compression algorithm (lz4, zstd, none) (default: "lz4")
compression algorithm (lz4, zstd, none) (default: "none")
`--storage value`\
Object storage type (e.g. s3, gcs, oss, cos) (default: "file")
......
......@@ -59,7 +59,7 @@ JuiceFS provides strong consistency, both metadata and data. **The metadata serv
### Data compression
By default JuiceFS uses [LZ4](https://lz4.github.io/lz4) to compress all your data, you could also use [Zstandard](https://facebook.github.io/zstd) instead. Alluxio doesn't have this feature.
JuiceFS supports use [LZ4](https://lz4.github.io/lz4) or [Zstandard](https://facebook.github.io/zstd) to compress all your data. Alluxio doesn't have this feature.
### Data encryption
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册