Whamcloud - gitweb
LU-12275 sec: support truncate for encrypted files 94/37794/15
authorSebastien Buisson <sbuisson@ddn.com>
Thu, 20 Feb 2020 14:45:07 +0000 (14:45 +0000)
committerOleg Drokin <green@whamcloud.com>
Tue, 16 Jun 2020 15:28:29 +0000 (15:28 +0000)
Truncation of encrypted files is not a trivial operation. The page
corresponding to the point where truncation occurs must be read,
decrypted, zeroed after truncation point, re-encrypted and then
written back.

Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I834f9372913d7051b1e0821515d3fea0873ffd78
Reviewed-on: https://review.whamcloud.com/37794
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>

No differences found