Comments (5)
Hmm, diod is not seeing the root fid clunked. It looks like this for me when I type exit from the t00 shell:
[root@jimbo tmp.yUSM8oDTPd]# exit
kconjoin: t00 exited with rc=0
diod: P9_TCLUNK tag 1 fid 1
diod: P9_RCLUNK tag 1
diod: P9_TCLUNK tag 1 fid 0
diod: P9_RCLUNK tag 1
kconjoin: diod exited with rc=0
PASS: t00
Here's what lsof shows right before I type exit:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
bash 12870 root cwd DIR 0,30 4096 6354507 .
lsof 12897 root cwd DIR 0,30 4096 6354507 .
lsof 12898 root cwd DIR 0,30 4096 6354507 .
Do you see anything different e.g. that might be preventing the file system from being unmounted? I don't understand how the .Trash
handling has managed to get wired in here (due to my ignorance probably) since these mounts are in a private namespace established with unshare (CLONE_NEWNS)
.
from diod.
t00 exit is the same as t05 for me:
kconjoin: t00 exited with rc=0
locked
I tried umount -f 9p partition from another shell after typing exit in t00 and I've got the prompt again.
What looks strange is lsof | grep "/tmp/tmp" gives relevant bash before exit and nothing after so there's no reason for this lock. I also tried 3.13 kernel and it's the same behaviour...
Reverting b2dd33b ("Run tests/kern on a pair of pipes (issue 68)")
and run with socketpair gives the same result.
ls -l /proc//fd only gives the pipe and 0/1/2 dev/pts/0
from diod.
The .Trash
stuff is concerning. Who is looking up those files at unmount time? Maybe some mechanism initiated by your window or file manager and executed from within the kernel?
What happens if you ssh back into the machine (thereby getting a shell outside of your windowning environment) and try the test. Does that change anything? Or maybe exit back to a console and try it?
from diod.
Still the same starting in console mode. No .Trash but test is locked as well...
from diod.
Oops, I should have closed #61 as a dup and worked on this here, but progress was already reported in #61 so I'll close this one.
from diod.
Related Issues (20)
- There may be a inconsistency or mistake in description for `fsync` of 9P2000.L . HOT 1
- kernel fcntl test fails
- kernel fstest fails
- kernel postmark test has a typo
- kernel fsx test fails
- kernel setfacl test fails
- I have already conducted tests based on RDMA, but there are issues
- configure does not find lua
- config file support is silently disabled if lua not found
- Automatically exit diod once last export has been clunked by the last client HOT 7
- Release HOT 6
- diodmount fails to build on FreeBSD 13 due to unavailable glibc. HOT 1
- audit systemd unit file HOT 2
- renameat and unlinkat are commented out. HOT 2
- Windows support? HOT 3
- Support OFD locks?
- ./configure: 2581: Syntax error: word unexpected (expecting ")")
- path->ioctx == NULL crash for rename after create
- review openembedded patch stack for diod HOT 4
- diod crashed at shutdown
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diod.