Whamcloud - gitweb
LU-16310 sec: Lustre/HSM on enc file with enc key 53/49153/7
authorSebastien Buisson <sbuisson@ddn.com>
Mon, 14 Nov 2022 16:28:36 +0000 (17:28 +0100)
committerOleg Drokin <green@whamcloud.com>
Fri, 3 Feb 2023 06:50:24 +0000 (06:50 +0000)
commitdf7a8d92d2378e236ee83b559e7a1158f84e63f4
treef76fbb09a22f5e1e78f3e718353a659551dfe611
parentfa9da556ad22b1485c53cf0337dc6872d89aedfa
LU-16310 sec: Lustre/HSM on enc file with enc key

Support for Lustre/HSM on encrypted files when the encryption key is
available requires similar attention as with file migration.
The volatile file used for HSM restore must have the same encryption
context as the Lustre file being restored, so that file content
remains accessible after the layout swap at the end of the restore
procedure.

Please note that using Lustre/HSM with the encryption key creates
clear text copies of encrypted files on the HSM backend storage.

Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I99cba202cd2c7c747bbe5c4ec7d9208c7f6baf4b
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49153
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: jsimmons <jsimmons@infradead.org>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Etienne AUJAMES <eaujames@ddn.com>
lustre/llite/crypto.c
lustre/utils/liblustreapi_hsm.c