forked from cloud-hypervisor/fuse-backend-rs
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
passthroughfs: add config to control count mntid in altkey or not
In commit 095d821 ("passthrough: add mnt id as inode alt key") we added mntid as part of inode alt key, and use name_to_handle_at(2) to get mntid. And recent perf tests show that name_to_handle_at(2) is kind of expensive in lookup intensive workloads. So add a knob to control it, and default to false. Signed-off-by: Eryu Guan <[email protected]>
- Loading branch information
Showing
2 changed files
with
37 additions
and
8 deletions.
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
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