-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #203 from truenas/NAS-129309
NAS-129309 / None / Copy offload support for block devices
- Loading branch information
Showing
13 changed files
with
450 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -218,6 +218,29 @@ Description: | |
last zone of the device which may be smaller. | ||
|
||
|
||
What: /sys/block/<disk>/queue/copy_max_bytes | ||
Date: May 2024 | ||
Contact: [email protected] | ||
Description: | ||
[RW] This is the maximum number of bytes that the block layer | ||
will allow for a copy request. This is always smaller or | ||
equal to the maximum size allowed by the hardware, indicated by | ||
'copy_max_hw_bytes'. An attempt to set a value higher than | ||
'copy_max_hw_bytes' will truncate this to 'copy_max_hw_bytes'. | ||
Writing '0' to this file will disable offloading copies for this | ||
device, instead copy is done via emulation. | ||
|
||
|
||
What: /sys/block/<disk>/queue/copy_max_hw_bytes | ||
Date: May 2024 | ||
Contact: [email protected] | ||
Description: | ||
[RO] This is the maximum number of bytes that the hardware | ||
will allow for single data copy request. | ||
A value of 0 means that the device does not support | ||
copy offload. | ||
|
||
|
||
What: /sys/block/<disk>/queue/crypto/ | ||
Date: February 2022 | ||
Contact: [email protected] | ||
|
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
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
Oops, something went wrong.