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

Track ctimes internally #43

Open
jmmv opened this issue Oct 28, 2018 · 0 comments
Open

Track ctimes internally #43

jmmv opened this issue Oct 28, 2018 · 0 comments

Comments

@jmmv
Copy link
Contributor

jmmv commented Oct 28, 2018

sandboxfs currently does not track ctimes for the nodes it manages. Instead, it relies on the ctimes returned by the underlying file systems and propagates those to the caller.

This has unfortunate consequences: because we don't track ctimes, we cannot synthesize what the attributes of a file should be e.g. immediately after creation, which means we end up issuing extra stat calls in cases where we shouldn't.

So: track ctimes (and possibly also creation times) and avoid these unnecessary operations.

jmmv added a commit to jmmv/sandboxfs that referenced this issue Oct 28, 2018
jmmv added a commit to jmmv/sandboxfs that referenced this issue Oct 31, 2018
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

No branches or pull requests

1 participant