GithubHelp home page GithubHelp logo

Handle O_NONBLOCK about p9 HOT 3 CLOSED

hugelgupf avatar hugelgupf commented on June 3, 2024
Handle O_NONBLOCK

from p9.

Comments (3)

hugelgupf avatar hugelgupf commented on June 3, 2024

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.

hugelgupf avatar hugelgupf commented on June 3, 2024

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.

hugelgupf avatar hugelgupf commented on June 3, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.