Skip to content

Add support for O_NOATIME flag to fs.open #2182

Closed
@jorangreef

Description

@jorangreef

I checked through the source but it doesn't look like O_NOATIME can be passed to fs.open?

fs.fstat on many files with node.js would be much faster if the fd could be opened with O_NOATIME.

For indexing or backup programs using node, O_NOATIME can significantly reduce the amount of disk activity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues that request new features to be added to Node.js.fsIssues and PRs related to the fs subsystem / file system.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions