diff options
author | Manabu Sugimoto <Manabu.Sugimoto@sony.com> | 2021-05-26 15:06:58 +0900 |
---|---|---|
committer | Manabu Sugimoto <Manabu.Sugimoto@sony.com> | 2021-05-31 09:30:33 +0900 |
commit | 50e6b22b3a47b0aaa142dd782587d94d37a72df4 (patch) | |
tree | 2a6d982447cd7f13bb21d4104f41f97ff34a9576 /src | |
parent | 9f1b35b5d4a176ed7c09b576b461620c632c0182 (diff) | |
download | nix-50e6b22b3a47b0aaa142dd782587d94d37a72df4.zip |
Add MS_LAZYTIME flag
MS_LAZYTIME (since Linux 4.0) reduces on-disk updates of inode
timestamps (atime, mtime, ctime) by maintaining these changes only in memory.
Signed-off-by: Manabu Sugimoto <Manabu.Sugimoto@sony.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/mount.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mount.rs b/src/mount.rs index 2c54761e..edb8afbd 100644 --- a/src/mount.rs +++ b/src/mount.rs @@ -38,6 +38,7 @@ libc_bitflags!( MS_KERNMOUNT; MS_I_VERSION; MS_STRICTATIME; + MS_LAZYTIME; MS_ACTIVE; MS_NOUSER; MS_RMT_MASK; |