Whamcloud - gitweb
LU-12275 sec: ioctls to handle encryption policies 73/37673/22
authorSebastien Buisson <sbuisson@ddn.com>
Thu, 20 Feb 2020 14:53:22 +0000 (14:53 +0000)
committerOleg Drokin <green@whamcloud.com>
Fri, 19 Jun 2020 23:01:32 +0000 (23:01 +0000)
commit3973cf8dc955c773a5f9da13216252644aa3949f
treeac4ac949b5db647ffa7fb3819fc7f6254699d184
parent598c48707cffbb813058f74bb1e663bcdde3c80e
LU-12275 sec: ioctls to handle encryption policies

Introduce support for fscrypt IOCTLs that handle encryption
policies v2. It enables setting/getting encryption policies on
individual directories, letting users decide how they want to
encrypt specific directories.

fscrypt encryption policies v2 are supported from Linux 5.4.

Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I0dc8c9ca1291ddd9c44617feb5df845b57d7dcc9
Reviewed-on: https://review.whamcloud.com/37673
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/dir.c
lustre/llite/file.c
lustre/llite/super25.c