forked from openzfs/zfs
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Starting in the Linux kernel 6.3, the iov_iter API added iov_iter_extract_user_pages(). Direct I/O requests should be using the pin_user_pages* interfaces through kernel documentation. Since the pages for Direct I/O are pinned under the iov_iter API in the UIO code, the pin_user_pages* interfaces can now be leveraged by calling iov_iter_extract_user_pages(). The Linux UIO code was updated to leverage these new interfaces and keeps the Direct I/O patch up to date with the latest kernel API's. Signed-off-by: Brian Atkinson <[email protected]>
- Loading branch information
1 parent
45f796b
commit c21806d
Showing
2 changed files
with
110 additions
and
12 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