Whamcloud - gitweb
EX-7331 csdc: prohibit set compression upon encrypted file
authorBobi Jam <bobijam@whamcloud.com>
Fri, 10 Nov 2023 09:17:50 +0000 (17:17 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Wed, 22 Nov 2023 21:07:20 +0000 (21:07 +0000)
commita20fe3f54b2ea6e99d2fbce755e8cf18a601b104
tree82466534572ea785ffe72819a8f608f5ced551c2
parentc33fc0ac98344a09c90fdca7c6b1ad3f476c55da
EX-7331 csdc: prohibit set compression upon encrypted file

Setting compression layout component upon encrypted file is not
allowed for now.

This patch add this check on MDS in creating file with layout,
adding/merging new mirror to existing file.

Test-Parameters: testlist=sanity-sec env=ONLY=67,PTLDEBUG=-1
Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: I60d9f4bfce3a498f1eb3994c6276afb9d89c99a7
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/53075
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Tested-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/lod/lod_internal.h
lustre/lod/lod_lov.c
lustre/lod/lod_object.c
lustre/lod/lod_qos.c
lustre/tests/sanity-sec.sh