-
Notifications
You must be signed in to change notification settings - Fork 880
Conversation
Upgrade lkvm to current master branch to fix a 9pfs bug. Bug details: rkt#1917 Signed-off-by: Arthur Chunqi Li <chunqi.li.pku@gmail.com>
Could you please tweak your commit message slightly?
thanks! |
I had this on my agenda also, LGTM. semaphore error seems not connected with this changes, so IMO this is ready to be merged. |
Hold a second to merge this PR, since there's another bug introduced with this fix. After lkvm upgrades, "apt-get update" works fine, but there's another bug with some "apt-get install". Here's the detailed outputs: root@clr:/# apt-get install vim I'm trying to find why "Too many open files in system" here and have no idea about this. And also I don't know how to replay this bug in a more simple way. Thanks, |
Hi All, Bug #1917 has a pretty complexed solution. Simply, bug #1917 triggered by fstat and unlinked file in 9pfs. Both kernel and lkvm need patch to fix this bug. On stage-1 kernel side, a patch has been committed by 9pfs author Eric, but has not been merged to kernel upstream. When a file is unlinked, stage-1 kernel need to search inode instead to find the real fid. Here's the patch: On lkvm side, 9pfs server need to use fstat to retrieve the attr of an unlinked file. Here's a patch from ericvh: Only with patches above, bug #1917 could be completely fixed. I think the "Too many open files in system" bug is another bug of lkvm and still have no idea of why it happens. I will have more investigation into it. Thanks, |
IMO this PR even if does not resolve an issue, moves it forward. If You want to add these patches into this PR (IMO they should be added in separate commits which could be easy reverted when this modifications will go into upstream) please add lkvm patch (as single file) into |
I have restarted the semaphore build twice and it failed with unrelated errors, but the last one is quite interesting. @jonboulle, you added some goroutine leak detection recently, right? There is some error in the semaphore build seemingly related to it. |
I'll restart the semaphore build when it is clear what's wrong with the current error. |
I don't really understand why that's showing up now - is this the only place it's occurring? |
No idea, I saw it for the first time. |
Heisenbug? |
LGTM |
Upgrade lkvm to fix a 9pfs bug
lol at heisenbug :) |
stage1: Upgrade lkvm to current master branch to fix a 9pfs bug.
Fixes: #1917
Signed-off-by: Arthur Chunqi Li chunqi.li.pku@gmail.com