Skip to content

noatime support for tmpfs mounts #26102

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

Open
pboguslawski opened this issue May 9, 2025 · 2 comments · May be fixed by #26238
Open

noatime support for tmpfs mounts #26102

pboguslawski opened this issue May 9, 2025 · 2 comments · May be fixed by #26238
Assignees
Labels
Good First Issue This issue would be a good issue for a first time contributor to undertake. kind/feature Categorizes issue or PR as related to a new feature. triaged Issue has been triaged

Comments

@pboguslawski
Copy link

Feature request description

Add noatime support for tmpfs mounts. It's available in docker and may help in reducing I/O.

Suggest potential solution

A clear and concise description of what you want to happen.

Have you considered any alternatives?

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

@pboguslawski pboguslawski added the kind/feature Categorizes issue or PR as related to a new feature. label May 9, 2025
@mheon
Copy link
Member

mheon commented May 12, 2025

Seems reasonable.

@mheon mheon added Good First Issue This issue would be a good issue for a first time contributor to undertake. triaged Issue has been triaged labels May 12, 2025
@ArthurWuTW
Copy link

/assign

ArthurWuTW added a commit to ArthurWuTW/podman that referenced this issue May 29, 2025
'noatime' flag disable updates to file access times when files are read. This can reduce unnecessary writes and improve performance, especially in read-heavy workloads. Previously, tmpfs did not recognize the 'noatime' mount option and would return an error.

With this change, tmpfs now properly accepts and handles the 'noatime' option.

Fixes: containers#26102

Signed-off-by: Arthur Wu <[email protected]>
ArthurWuTW added a commit to ArthurWuTW/podman that referenced this issue May 29, 2025
'noatime' flag disables updates to file access times when files are read. This can reduce unnecessary writes and improve performance, especially in read-heavy workloads. Previously, tmpfs did not recognize the 'noatime' mount option and would return an error.

With this change, tmpfs now properly accepts and handles the 'noatime' option.

Fixes: containers#26102

Signed-off-by: Arthur Wu <[email protected]>
@ArthurWuTW ArthurWuTW linked a pull request May 30, 2025 that will close this issue
ArthurWuTW added a commit to ArthurWuTW/podman that referenced this issue May 30, 2025
'noatime' flag disables updates to file access times when files are read. This can reduce unnecessary writes and improve performance, especially in read-heavy workloads. Previously, tmpfs did not recognize the 'noatime' mount option and would return an error.

With this change, tmpfs now properly accepts and handles the 'noatime' option.

Fixes: containers#26102

Signed-off-by: Arthur Wu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Good First Issue This issue would be a good issue for a first time contributor to undertake. kind/feature Categorizes issue or PR as related to a new feature. triaged Issue has been triaged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants