User Tools

Site Tools


fs_mount_options

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
fs_mount_options [2020/06/12 16:19]
Ira Weiny [Details]
fs_mount_options [2020/10/27 17:01] (current)
Ira Weiny
Line 1: Line 1:
-**NOTE: kernel 5.8 is yet to be released. ​ This document is therefore preliminary until it's release and subject to change.** 
- 
 ====== Prior to kernel 5.8 ====== ====== Prior to kernel 5.8 ======
  
Line 14: Line 12:
 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 =====+===== 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 =====+===== ext4 and xfs =====
  
-As of kernel 5.8 xfs supports the new per-file dax configuration.+As of kernel 5.8 ext4 and xfs supports the new per-file dax configuration.
  
 ==== Summary ==== ==== Summary ====
Line 118: Line 116:
  
  
-=== Seeing ​if a file is using dax ===+=== Detecting ​if a file is using dax ===
  
 The current enabled state (S_DAX) is set when a file inode is instantiated in memory by the kernel. ​ It is set based on the underlying media support, the value of FS_XFLAG_DAX and the file system'​s dax mount option. The current enabled state (S_DAX) is set when a file inode is instantiated in memory by the kernel. ​ It is set based on the underlying media support, the value of FS_XFLAG_DAX and the file system'​s dax mount option.
fs_mount_options.1591978792.txt.gz ยท Last modified: 2020/06/12 16:19 by Ira Weiny