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

directory timestamps modified behind user's back #50

Open
GoogleCodeExporter opened this issue Dec 17, 2015 · 0 comments
Open

directory timestamps modified behind user's back #50

GoogleCodeExporter opened this issue Dec 17, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Due to the background operations (deduping and BG compression) being performed 
asynchronously, the directory timestamps are sometimes updated even though we 
don't want that.

Since the operations causing these timestamp updates are fast (link() for 
dedup, rename() for compression), we could lock the directory while doing them 
and write the old timestamps back again after completion. Problem: There is no 
mechanism in place for locking entire directories.

Without locking, we would risk losing legitimate updates caused by 
modifications to entries in the directory that happen while we do our thing.

Original issue reported on code.google.com by ulrich.h...@gmail.com on 8 Nov 2011 at 12:04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant