-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Fixed issue where mount threw an error on large folders #1604
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1604 +/- ##
======================================
Coverage 38.7% 38.7%
======================================
Files 51 51
Lines 2604 2604
======================================
Hits 1008 1008
Misses 1418 1418
Partials 178 178 Continue to review full report at Codecov.
|
Can you add an integration test case with a really long filename? Would that be sufficient to test this? |
linux has a maximum file-name length of 255 chars it seems https://serverfault.com/questions/9546/filename-length-limits-on-linux |
@aaron-prindle Confirming that this works fine in my environment. (tho' I have another issue that the amount of reads(?) - it's a php app - leads to kernel panic, but I'm still investigating the possible root cause) |
@cu12 Definitely post an issue regarding the amount of reads problem you are encountering if it appears that mount is the issue there. |
If this is a potential cause for the missing files issue I'm seeing (#1515), then it's a problem with a directory of only 127 files. They do have long-ish filenames (~70-80 chars). |
Closing as setting the --msize flag is the appropriate way to this which was added in: #1705 |
@aaron-prindle - do you think this would have been the cause of, and fix for #1515 ? |
@georgecrawford yes, the issue was that if a directory listing exceeded the default msize, the 9p server would return an error (minikube mount) and the xhyve 9p server would return an incomplete listing. If you use minikube's 9p server (minikube mount --msize=) and configure this value, you should be able to use arbitrarily sized directories. |
fixes #1562