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

Add option to not update the file last access time with dwalk #590

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

GauthierEvd
Copy link

This is a proposal to add --no-atime option on dwalk to not update the file last access time while doing a walk without stat.

The motivation behind this patch is that at CEA we have tools to administrate our filesystems and we want to use mpifileutils in these tools. We don't want the atime of a folder to be modified when admins walk a filesystem. For us, updating the atime is a user-side action and should therefore not be modified by our tools.

Add flag option no_atime in mfu_walk_opts_t structure to add the
possibility to not update the file last access time in
walk_getdents_process() while doing a walk without stat.

Signed-off-by: Gauthier EVRAERD <gauthier.evraerd@cea.fr>
Add --no-atime option to not update the last file access time when
walking file system without stat.

Signed-off-by: Gauthier EVRAERD <gauthier.evraerd@cea.fr>
Add new --no-atime option in dwalk manpages.

Signed-off-by: Gauthier EVRAERD <gauthier.evraerd@cea.fr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant