Comments (3)
You have a good point. gVisor always assumed that all file system ops are non-blocking (and implemented blocking ops on top of that on the client side), so we built that assumption into the library.
from p9.
I'm looking into this right now. I don't think it's the O_NONBLOCK, but I'm having to write some debugging tools before I can figure out what it actually is.
from p9.
Turning on debug output, there ended up being two problems:
2019/09/01 17:15:46 recv [conn 0xc00009e028] [Tag 000002] Twalk{FID: 1, newFID: 3, Names: []}
2019/09/01 17:15:46 send [conn 0xc00009e028] [Tag 000002] Rlerror{Error: 22}
as the most likely cause for the EINVAL
. Let's see where it's coming from.
(in this case, localfs
did not allow walking to self. :/)
The other problem was indeed the flags.
from p9.
Related Issues (15)
- Support 9P2000.u and vanilla 9P
- Set up Windows and OS X builds & tests in CircleCI HOT 4
- Rename local_server to 9p_server
- server.Handle returns an unchecked error
- Twalk returns Rlerror{Error: 16} while directory is still open HOT 2
- Make a release 0.2.0 to break u-root dependency HOT 1
- Invalid message type: 52/53 HOT 3
- internal error packages should be exported (or something) HOT 1
- Walk Server/Client interface inconsistency with 9P spec HOT 4
- Server prevents walks to ".." HOT 4
- Regression in `ReadAt` causes 0'd payloads HOT 4
- Support 9P errors with messages
- gVisor extensions: yay or nay? HOT 2
- localfs does not implement unlinkat HOT 3
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 p9.