This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
fs_mount_options [2020/06/12 15:55] Ira Weiny |
fs_mount_options [2020/06/12 15:57] Ira Weiny |
||
---|---|---|---|
Line 14: | Line 14: | ||
As of kernel 5.8 additional DAX enabling options are available on some file systems, specifically: | As of kernel 5.8 additional DAX enabling options are available on some file systems, specifically: | ||
- | ====== ext4 and ext2====== | + | ===== ext4 and ext2 ===== |
When mounting the filesystem, use the "-o dax" option on the command line or add 'dax' to the options in /etc/fstab. This works to enable DAX on all files within the filesystem. It is equivalent to the '-o dax=always' behavior below. | When mounting the filesystem, use the "-o dax" option on the command line or add 'dax' to the options in /etc/fstab. This works to enable DAX on all files within the filesystem. It is equivalent to the '-o dax=always' behavior below. | ||
- | ====== xfs ====== | + | ===== xfs ===== |
As of kernel 5.8 xfs supports the new per-file dax configuration. | As of kernel 5.8 xfs supports the new per-file dax configuration. | ||
- | ===== Summary ===== | + | ==== Summary ==== |
- There exists an in-kernel file access mode flag S_DAX that corresponds to the statx flag STATX_ATTR_DAX. See the manpage for statx(2) for details about this access mode. | - There exists an in-kernel file access mode flag S_DAX that corresponds to the statx flag STATX_ATTR_DAX. See the manpage for statx(2) for details about this access mode. |