Skip to content

Commit

Permalink
Add MS_LAZYTIME flag
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
ManaSugi committed May 26, 2021
1 parent dc07f61 commit 1dda655
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ targets = [
]

[dependencies]
libc = { version = "0.2.93", features = [ "extra_traits" ] }
libc = { version = "0.2.95", features = [ "extra_traits" ] }
bitflags = "1.1"
cfg-if = "1.0"

Expand Down
1 change: 1 addition & 0 deletions src/mount.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ libc_bitflags!(
MS_KERNMOUNT;
MS_I_VERSION;
MS_STRICTATIME;
MS_LAZYTIME;
MS_ACTIVE;
MS_NOUSER;
MS_RMT_MASK;
Expand Down

0 comments on commit 1dda655

Please sign in to comment.