-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve performance for zpool trim on linux
On Linux, ZFS uses blkdev_issue_discard in vdev_disk_io_trim to issue trim command which is synchronus. This commit updates vdev_disk_io_trim to use __blkdev_issue_discard, which is asynchronus. Unfortunately there isn't any asynchronus version for blkdev_issue_secure_erase, so performance of secure trim will still suffer. Signed-off-by: Umer Saleem <usaleem@ixsystems.com>
- Loading branch information
1 parent
2e6b3c4
commit 96c10a5
Showing
2 changed files
with
82 additions
and
14 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