-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
engines/io_uring: add support for async TRIM
6.12 kernels and newer support async trim, which means the non-cmd path no longer needs to quiesce the queue and issue a sync trim for a workload that includes trim/discard requests. The engine will assume the support is there, and if it gets -EINVAL when trying an async trim, then it'll punt back to the using the sync trim again. Signed-off-by: Jens Axboe <axboe@kernel.dk>
- Loading branch information
Showing
2 changed files
with
35 additions
and
7 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