Files
linux/fs
Eric Biggers f2ca2620dd BACKPORT: FROMLIST: ext4: add inline encryption support
Wire up ext4 to support inline encryption via the helper functions which
fs/crypto/ now provides.  This includes:

- Adding a mount option 'inlinecrypt' which enables inline encryption
  on encrypted files where it can be used.

- Setting the bio_crypt_ctx on bios that will be submitted to an
  inline-encrypted file.

  Note: submit_bh_wbc() in fs/buffer.c also needed to be patched for
  this part, since ext4 sometimes uses ll_rw_block() on file data.

- Not adding logically discontiguous data to bios that will be submitted
  to an inline-encrypted file.

- Not doing filesystem-layer crypto on inline-encrypted files.

Bug: 137270441
Test: tested as series; see I26aac0ac7845a9064f28bb1421eb2522828a6dec
Change-Id: I54a8efe388289918f4144d8138fb87aa507ae760
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Satya Tangirala <satyat@google.com>
Link: https://patchwork.kernel.org/patch/11214781/
2019-11-14 14:47:50 -08:00
..
2019-08-06 19:06:51 +02:00
2018-12-17 09:24:41 +01:00
2018-08-17 16:20:28 -07:00
2019-05-22 08:00:39 +02:00
2019-05-16 19:52:46 +02:00
2019-11-14 14:15:21 +08:00
2018-08-17 16:20:27 -07:00
2019-10-29 09:41:48 +01:00
2019-10-07 18:56:59 +02:00
2019-05-02 09:58:59 +02:00
2019-08-04 09:37:11 +02:00
2019-05-31 08:14:29 -07:00
2019-07-31 08:03:42 +02:00