]> git.baikalelectronics.ru Git - kernel.git/commit
fscrypt: log when starting to use inline encryption
authorEric Biggers <ebiggers@google.com>
Thu, 14 Apr 2022 05:34:15 +0000 (22:34 -0700)
committerEric Biggers <ebiggers@google.com>
Thu, 14 Apr 2022 05:35:25 +0000 (22:35 -0700)
commit61f9c1d85552276f7d2ae675c78da7f4bde40e28
tree1c5079e222ecf12e15f3370671fa59ccb7272dfc
parent554b42afd2ff35d9c61ec53cedc8e059e109268c
fscrypt: log when starting to use inline encryption

When inline encryption is used, the usual message "fscrypt: AES-256-XTS
using implementation <impl>" doesn't appear in the kernel log.  Add a
similar message for the blk-crypto case that indicates that inline
encryption was used, and whether blk-crypto-fallback was used or not.
This can be useful for debugging performance problems.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Link: https://lore.kernel.org/r/20220414053415.158986-1-ebiggers@kernel.org
fs/crypto/fscrypt_private.h
fs/crypto/inline_crypt.c
fs/crypto/keysetup.c