-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
passthrough: validate config regarding to cache mode
Kernel fuse module defaults to KEEP_CACHE in no_open mode, and passthroughfs only sets KEEP_CACHE in cache=always mode. So we should reject no_open if cache is not always. Also disable writeback cache if cache=none, as we should disable all cache in cache=none mode. Signed-off-by: Eryu Guan <[email protected]>
- Loading branch information
Showing
1 changed file
with
62 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters