summaryrefslogtreecommitdiffstats
path: root/include/sys/zcp_global.h
diff options
context:
space:
mode:
authorTom Caputi <[email protected]>2018-03-31 14:12:51 -0400
committerBrian Behlendorf <[email protected]>2018-03-31 11:12:51 -0700
commita2c2ed1bd4c3dc6d52b6058b9c74245cad2ae331 (patch)
treede5ad1fd1bc04f0ee496316305871d0b0e26d74e /include/sys/zcp_global.h
parent4515b1d01c936b8cf156e20ba42cdb8916bca80b (diff)
Decryption error handling improvements
Currently, the decryption and block authentication code in the ZIO / ARC layers is a bit inconsistent with regards to the ereports that are produces and the error codes that are passed to calling functions. This patch ensures that all of these errors (which begin as ECKSUM) are converted to EIO before they leave the ZIO or ARC layer and that ereports are correctly generated on each decryption / authentication failure. In addition, this patch fixes a bug in zio_decrypt() where ECKSUM never gets written to zio->io_error. Reviewed by: Matt Ahrens <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Tom Caputi <[email protected]> Closes #7372
Diffstat (limited to 'include/sys/zcp_global.h')
0 files changed, 0 insertions, 0 deletions