-
Notifications
You must be signed in to change notification settings - Fork 283
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
Add 2 options --noattrcache --nodatacache #500
Conversation
--nocache : disables attr and data cache. --noattrcache : disables attr cache only. --nodatacache : disables data cache only.
Hmm. What is the use case here? |
Current "problem" is that if you want to cache attributes for a small amount of time, with let's say for example |
Why would you want that? Shouldn't the user just use --nocache to be safe? |
If there is a user need for this, we should do it, but if not, I'd suggest to keep things as simple as possible |
On some systems you may like to have a small attributes' cache to speed-up directory listing during which you can get several subsequent getattr operations for the same item. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, if you think it is useful, let's go for it
Thank you @rfjakob 👍 |
Hi,
This PR adds 2 new options :
--noattrcache : disables attr cache only.
--nodatacache : disables data cache only.
So this is in addition to the existing one :
--nocache : disables attr and data cache.
Thank you 👍
Ben