Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information