Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable QAT support in zfs-dkms RPM
Browse files Browse the repository at this point in the history
Enable QAT accelerated gzip compression in zfs-dkms RPM package when
environment variant ICP_ROOT is set to QAT drive source code folder
and QAT hardware presence.  Otherwise, use default gzip compression.

Reviewed-by: George Melikov <[email protected]>
Reviewed-by: David Qian <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes openzfs#6932
daweiq authored and Nasf-Fan committed Jan 29, 2018
1 parent eca159d commit 71ab0e6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/dkms.mkconf
Original file line number Diff line number Diff line change
@@ -30,6 +30,12 @@ PRE_BUILD="configure
--with-spl=\${source_tree}/spl-\${PACKAGE_VERSION}
--with-spl-obj=\${dkms_tree}/spl/\${PACKAGE_VERSION}/\${kernelver}/\${arch}
--with-spl-timeout=300
\$(
[[ -n \"\${ICP_ROOT}\" ]] && \\
{
echo --with-qat=\"\${ICP_ROOT}\"
}
)
\$(
[[ -r \${PACKAGE_CONFIG} ]] \\
&& source \${PACKAGE_CONFIG} \\

0 comments on commit 71ab0e6

Please sign in to comment.