Skip to content

Commit a221a73

Browse files
committed
erofs: add missing documentation about directio mount option
Document the `directio` mount option for file-backed mounts, because recent users need this and this mount option has been available since commit 6422cde ("erofs: use buffered I/O for file-backed mounts by default") without proper documentation. Reported-by: Yuxuan Liu <cdjddzy@foxmail.com> Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
1 parent cc831ab commit a221a73

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Documentation/filesystems/erofs.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ dax={always,never} Use direct access (no page cache). See
125125
Documentation/filesystems/dax.rst.
126126
dax A legacy option which is an alias for ``dax=always``.
127127
device=%s Specify a path to an extra device to be used together.
128+
directio (For file-backed mounts) Use direct I/O to access backing
129+
files, and asynchronous I/O will be enabled if supported.
128130
fsid=%s Specify a filesystem image ID for Fscache back-end.
129131
domain_id=%s Specify a domain ID in fscache mode so that different images
130132
with the same blobs under a given domain ID can share storage.

0 commit comments

Comments
 (0)