Coder Social home page Coder Social logo

Comments (6)

kungf avatar kungf commented on August 12, 2024

hi, @stapelberg have you encounterd this panic error?

from fuse.

stapelberg avatar stapelberg commented on August 12, 2024

I have not seen this before. It seems like the kernel is sending you more data than the FUSE library ever expects to get.

MaxReadSize is 128K as per

const MaxReadSize = 1 << 17

Not sure why you’re seeing 256K. Have you changed some parts of the code?

from fuse.

kungf avatar kungf commented on August 12, 2024

Have you changed some parts of the code?

No. Not find something useful clue yet!

from fuse.

kungf avatar kungf commented on August 12, 2024

someone change the fuse.ko, and modify the FUSE_MAX_PAGES_PER_REQ casuse this issue.

from fuse.

stapelberg avatar stapelberg commented on August 12, 2024

someone change the fuse.ko, and modify the FUSE_MAX_PAGES_PER_REQ casuse this issue.

Thanks for letting us know. To be clear, are you saying that the code was changed (incorrectly), or are you saying that only the kernel side was changed and that triggered an issue in the code?

If the latter, we should fix that. The fuse library and kernel are supposed to negotiate what they support.

from fuse.

kungf avatar kungf commented on August 12, 2024

are you saying that only the kernel side was changed and that triggered an issue in the code

yes, the FUSE_MAX_PAGES_PER_REQ in kernel/fs/fuse/fuse_i.h was changed from 32 to 64, so trigger this issue!

If the latter, we should fix that. The fuse library and kernel are supposed to negotiate what they support.

i think so, the out message size may allocated according the size from kernel message, not always
MaxReadSize

from fuse.

Related Issues (20)

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.