Skip to content

Commit

Permalink
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 <mail@gmelikov.ru>
Reviewed-by: David Qian <david.qian@intel.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #6932
  • Loading branch information
daweiq authored and behlendorf committed Dec 14, 2017
1 parent 9920950 commit f6940bb
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
Expand Up @@ -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} \\
Expand Down

0 comments on commit f6940bb

Please sign in to comment.