Skip to content

Commit d816e44

Browse files
committed
update README
Signed-off-by: hexilee <[email protected]>
1 parent 244849a commit d816e44

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

README.md

+25
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,31 @@ mount -t tifs -o tls=<tls config file> tifs:<pd endpoints> <mount point>
7070

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

73+
## Other Custom Mount Options
74+
75+
### `direct_io`
76+
77+
Enable global direct io, to avoid page cache.
78+
79+
```bash
80+
mount -t tifs -o direct_io tifs:<pd endpoints> <mount point>
81+
```
82+
### `blksize`
83+
84+
Set block size in KiB, 64 by default.
85+
86+
```bash
87+
mount -t tifs -o blksize=4 tifs:<pd endpoints> <mount point>
88+
```
89+
90+
### `maxsize`
91+
92+
The quota of fs capacity, could be human-readable.
93+
94+
```bash
95+
mount -t tifs -o maxsize=1GiB tifs:<pd endpoints> <mount point>
96+
```
97+
7398
## Development
7499

75100
```bash

0 commit comments

Comments
 (0)