Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: directIO read size can exceeds buffer size #68

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 21, 2019

  1. fix: directIO read size can exceed buffer size

    Since the package uses a fixed-size memory pool for out messages,
    it is important to tell fuse kernel module what the maximum read size is.
    Otherwise, a large read will cause a panic.
    
    Right now, max readahead size can only affect buffered read. The kernel
    might still send a large directIO read in spite of the max readahead size.
    We need to specify "max_read" option during mount.
    
    Signed-off-by: Shuoran Liu <[email protected]>
    shuoranliu committed Oct 21, 2019
    Configuration menu
    Copy the full SHA
    1f74c2f View commit details
    Browse the repository at this point in the history