Whamcloud - gitweb
LU-16045 enc: force use of new enc xattr on new servers 36/48036/3
authorSebastien Buisson <sbuisson@ddn.com>
Mon, 25 Jul 2022 14:39:56 +0000 (16:39 +0200)
committerOleg Drokin <green@whamcloud.com>
Sat, 10 Sep 2022 00:53:10 +0000 (00:53 +0000)
commit3cefc9413d615d2803cff1d27ef736d19391e816
tree6fafcf744d7b8202a7af2a8019eaeaf4e858dee1
parent304b486fa310381733bc1fdbcd2b98a2f4077e2e
LU-16045 enc: force use of new enc xattr on new servers

When an older client uses encryption with a newer server, the client
wants to see the encryption context in security.c xattr. But
internally on server side, we force use of newer encryption.c xattr
for consistency purpose. When required, the encryption context is put
in the request to the client as usual, which interprets it as desired.

Lustre-change: https://review.whamcloud.com/48035
Lustre-commit: afa4c31087f21fef8d64f572e08a7bec77bc7325

Fixes: 4231fab66e ("LU-13717 sec: make client encryption compatible with ext4")
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I667e123bdff912acc270666e8c74ebda6f0534e7
Reviewed-on: https://review.whamcloud.com/48036
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdd/mdd_internal.h