diff options
author | cfzhu <[email protected]> | 2019-04-17 03:38:36 +0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-04-16 12:38:36 -0700 |
commit | 5090f72743f5a587b1a8b64aaa1023913735d0bf (patch) | |
tree | 6ab4731f14ffebc4895e31c7aed85ce8970fa45e /module/zfs/arc.c | |
parent | 59f6594cf605635c22311c7f0752bbc67807a508 (diff) |
Code improvement and bug fixes for QAT support
1. Support QAT when ZFS is root file-system:
When ZFS module is loaded before QAT started, the QAT can
be started again in post-process, e.g.:
echo 0 > /sys/module/zfs/parameters/zfs_qat_compress_disable
echo 0 > /sys/module/zfs/parameters/zfs_qat_encrypt_disable
echo 0 > /sys/module/zfs/parameters/zfs_qat_checksum_disable
2. Verify alder checksum of the de-compress result
3. Allocate Digest, IV and AAD buffer in physical contiguous
memory by QAT_PHYS_CONTIG_ALLOC.
4. Update the documentation for zfs_qat_compress_disable,
zfs_qat_checksum_disable, zfs_qat_encrypt_disable.
Reviewed-by: Tom Caputi <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Weigang Li <[email protected]>
Signed-off-by: Chengfeix Zhu <[email protected]>
Closes #8323
Closes #8610
Diffstat (limited to 'module/zfs/arc.c')
0 files changed, 0 insertions, 0 deletions