mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 18:40:43 +03:00
QAT related bug fixes
1. Fix issue: Kernel BUG with QAT during decompression #9276. Now it is uninterruptible for a specific given QAT request, but Ctrl-C interrupt still works in user-space process. 2. Copy the digest result to the buffer only when doing encryption, and vise-versa for decryption. Reviewed-by: Tom Caputi <tcaputi@datto.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Chengfei Zhu <chengfeix.zhu@intel.com> Closes #9276 Closes #9303
This commit is contained in:
committed by
Brian Behlendorf
parent
4f342e45be
commit
7238cbd4d3
@@ -40,11 +40,6 @@ typedef enum qat_encrypt_dir {
|
||||
#include "dc/cpa_dc.h"
|
||||
#include "lac/cpa_cy_sym.h"
|
||||
|
||||
/*
|
||||
* Timeout - no response from hardware after 0.5 seconds
|
||||
*/
|
||||
#define QAT_TIMEOUT_MS 500
|
||||
|
||||
/*
|
||||
* The minimal and maximal buffer size which are not restricted
|
||||
* in the QAT hardware, but with the input buffer size between 4KB
|
||||
|
||||
Reference in New Issue
Block a user