Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
Signed-off-by: hexilee <[email protected]>
  • Loading branch information
Hexilee committed Jul 13, 2021
1 parent 244849a commit d816e44
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,31 @@ mount -t tifs -o tls=<tls config file> tifs:<pd endpoints> <mount point>

By default, the tls-config should be located in `~/.tifs/tls.toml`, refer to the [tls.toml](config-examples/tls.toml) for detailed configuration.

## Other Custom Mount Options

### `direct_io`

Enable global direct io, to avoid page cache.

```bash
mount -t tifs -o direct_io tifs:<pd endpoints> <mount point>
```
### `blksize`

Set block size in KiB, 64 by default.

```bash
mount -t tifs -o blksize=4 tifs:<pd endpoints> <mount point>
```

### `maxsize`

The quota of fs capacity, could be human-readable.

```bash
mount -t tifs -o maxsize=1GiB tifs:<pd endpoints> <mount point>
```

## Development

```bash
Expand Down

0 comments on commit d816e44

Please sign in to comment.