Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support using atime to track file access #3240

Closed
SandyXSD opened this issue Feb 15, 2023 · 0 comments · Fixed by #3521
Closed

Support using atime to track file access #3240

SandyXSD opened this issue Feb 15, 2023 · 0 comments · Fixed by #3521
Labels
kind/feature New feature or request

Comments

@SandyXSD
Copy link
Contributor

What would you like to be added:
Add a new option to enable atime.

Why is this needed:

@SandyXSD SandyXSD added the kind/feature New feature or request label Feb 15, 2023
eryugey added a commit to eryugey/juicefs that referenced this issue Apr 25, 2023
Currently juicefs doesn't update atime on access, so introduce
--atime-mode option to select how to update atime. And support three
modes:

- noatime: don't update atime
- relatime: update atime relative to motify or change time
- strictatime: always update atime

Fixes: juicedata#3240
Signed-off-by: Eryu Guan <[email protected]>
eryugey added a commit to eryugey/juicefs that referenced this issue Apr 25, 2023
Currently juicefs doesn't update atime on access, so introduce
--atime-mode option to select how to update atime. And support three
modes:

- noatime: don't update atime
- relatime: update atime relative to motify or change time
- strictatime: always update atime

Fixes: juicedata#3240
Signed-off-by: Eryu Guan <[email protected]>
eryugey added a commit to eryugey/juicefs that referenced this issue Apr 25, 2023
Currently juicefs doesn't update atime on access, so introduce
--atime-mode option to select how to update atime. And support three
modes:

- noatime: don't update atime
- relatime: update atime relative to motify or change time
- strictatime: always update atime

Fixes: juicedata#3240
Signed-off-by: Eryu Guan <[email protected]>
eryugey added a commit to eryugey/juicefs that referenced this issue Apr 26, 2023
Currently juicefs doesn't update atime on access, so introduce
--atime-mode option to select how to update atime. And support three
modes:

- noatime: don't update atime
- relatime: update atime relative to motify or change time
- strictatime: always update atime

Fixes: juicedata#3240
Signed-off-by: Eryu Guan <[email protected]>
eryugey added a commit to eryugey/juicefs that referenced this issue Apr 27, 2023
Currently juicefs doesn't update atime on access, so introduce
--atime-mode option to select how to update atime. And support three
modes:

- noatime: don't update atime
- relatime: update atime relative to motify or change time
- strictatime: always update atime

Fixes: juicedata#3240
Signed-off-by: Eryu Guan <[email protected]>
eryugey added a commit to eryugey/juicefs that referenced this issue Apr 28, 2023
Currently juicefs doesn't update atime on access, so introduce
--atime-mode option to select how to update atime. And support three
modes:

- noatime: don't update atime
- relatime: update atime relative to motify or change time
- strictatime: always update atime

Fixes: juicedata#3240
Fixes: #49343312
Signed-off-by: Eryu Guan <[email protected]>
eryugey added a commit to eryugey/juicefs that referenced this issue May 7, 2023
Currently juicefs doesn't update atime on access, so introduce
--atime-mode option to select how to update atime. And support three
modes:

- noatime: don't update atime
- relatime: update atime relative to motify or change time
- strictatime: always update atime

Fixes: juicedata#3240
Signed-off-by: Eryu Guan <[email protected]>
davies pushed a commit that referenced this issue May 9, 2023
…3521)

* vfs: introduce --atime-mode option to control atime update behavior

Currently juicefs doesn't update atime on access, so introduce
--atime-mode option to select how to update atime. And support three
modes:

- noatime: don't update atime
- relatime: update atime relative to motify or change time
- strictatime: always update atime

Fixes: #3240
Signed-off-by: Eryu Guan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant