diff options
author | Ira Weiny <[email protected]> | 2020-05-28 08:00:00 -0700 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2020-05-28 22:09:47 -0400 |
commit | 9cb20f94afcd2964944f9468e38da736ee855b19 (patch) | |
tree | f87b49bb0d91b290cc39011d4afb23a03c138430 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
parent | 043546e46dc70c25ff7e2cf6d09cbb0424fc9978 (diff) |
fs/ext4: Make DAX mount option a tri-state
We add 'always', 'never', and 'inode' (default). '-o dax' continues to
operate the same which is equivalent to 'always'. This new
functionality is limited to ext4 only.
Specifically we introduce a 2nd DAX mount flag EXT4_MOUNT2_DAX_NEVER and set
it and EXT4_MOUNT_DAX_ALWAYS appropriately for the mode.
We also force EXT4_MOUNT2_DAX_NEVER if !CONFIG_FS_DAX.
Finally, EXT4_MOUNT2_DAX_INODE is used solely to detect if the user
specified that option for printing.
Reviewed-by: Jan Kara <[email protected]>
Signed-off-by: Ira Weiny <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions