-
Notifications
You must be signed in to change notification settings - Fork 629
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
9p: use fscache
by default for RO mounts
#787
Conversation
Shouldn't default be based on not having any writeable mounts? |
Fix issue 786 Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
I don't think the default for one mount should depend on the This is not a global setting, so it would make more sense (to me) to say: defaults to |
mmap
to fscache
fscache
by default for RO mounts
Updated PR to keep |
Already implemented before I can press the "Comment" button! 😂 |
Sounds good to me, it is more complex than just keeping the upstream default (of "none") but performance could be worth it... Never exposed the "cache" parameter on Podman Machine or for Minikube (in 2017), so there it uses I guess the same already applied to the msize parameter, where the upstream default (8K on Mac) caused runtime warnings.
|
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.
LGTM
@AkihiroSuda one thing to note: fscache failed miserably for me when doing the dd test. eG as it’s read only, dd if=largefile of=/dev/null bs=1M count=1000 that said I tested writing and it failed, so maybe reading is fine but wanted to note it anyway. |
Fix #786