Skip to content

Conversation

nbougalis
Copy link

Unless the underlying filesystem is mounted with noatime then the system will keep track of and update a file's 'last access' time stamp with every read operation.

Even if the filesystem optimizes this, it makes little sense to track this information for NuDB files that can be accessed tens of thousands of times per second.

If the O_NOATIME option is defined, we set it when attempting to open or create files.

Unless the underlying filesystem is mounted with `noatime` then
the system will keep track of and update a file's 'last access'
time stamp with every `read` operation.

Even if the filesystem optimizes this, it makes little sense to
track this information for NuDB files that can be accessed tens
of thousands of times per second.

If the `O_NOATIME` option is defined, we set it when attempting
to open or create files.
@vinniefalco
Copy link
Member

yeah I agree

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.

2 participants