-
-
Notifications
You must be signed in to change notification settings - Fork 604
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
virtio-fs: add basic read using the DAX window
When the DAX window is available from the device, the filesystem prefers to use it instead of the regular FUSE_READ request. If that fails, FUSE_READ is used as a fallback. To use the DAX window, a part of the file is mapped to it with FUSE_SETUPMAPPING, the contents are copied from it to the user buffers and the mapping is cleaned-up with FUSE_REMOVEMAPPING. In this naive implementation, the window is used for a single mapping at a time, with no caching or readahead. Signed-off-by: Fotis Xenakis <foxen@windowslive.com> Message-Id: <VI1PR03MB438337071D63DDD39C416ED7A6BB0@VI1PR03MB4383.eurprd03.prod.outlook.com>
- Loading branch information
Showing
1 changed file
with
148 additions
and
23 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