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-10-11 18:21:13 +02:00
2019-08-06 19:06:49 +02:00
2019-09-10 10:33:52 +01:00
2019-03-13 14:02:32 -07:00
2018-12-01 09:37:27 +01:00
2019-11-06 13:05:22 +01:00
2018-12-17 09:24:40 +01:00
2019-11-12 19:20:39 +01:00
2019-11-12 19:20:42 +01:00
2019-08-06 19:06:51 +02:00
2019-11-12 19:20:47 +01:00
2018-11-13 11:08:55 -08:00
2019-11-14 14:47:50 -08:00
2019-05-08 07:21:48 +02:00
2019-03-23 20:09:59 +01:00
2019-07-31 07:27:07 +02:00
2019-07-26 09:14:29 +02:00
2018-07-22 14:13:44 +02:00
2018-11-27 16:13:00 +01:00
2018-12-17 09:24:35 +01:00
2019-03-23 20:10:03 +01:00
2019-11-14 14:47:50 -08:00
2019-11-14 14:47:50 -08:00
2019-10-07 18:57:14 +02:00
2018-12-17 09:24:40 +01:00
2019-11-06 13:06:13 +01:00
2019-10-05 13:10:07 +02:00
2018-12-17 09:24:41 +01:00
2018-12-17 09:24:41 +01:00
2018-08-17 16:20:28 -07:00
2018-08-25 12:42:33 -07:00
2019-05-22 08:00:39 +02:00
2018-08-21 11:37:41 +02:00
2019-07-28 08:29:29 +02:00
2019-05-20 17:46:45 -07:00
2018-08-15 22:47:23 -07:00
2019-05-16 19:52:46 +02:00
2019-06-09 09:17:22 +02:00
2019-11-14 14:15:21 +08:00
2019-07-10 09:53:47 +02:00
2018-09-04 16:45:02 -07:00
2019-08-12 13:36:37 -04:00
2018-08-17 16:20:27 -07:00
2019-11-12 19:21:18 +01:00
2018-08-14 12:07:14 -04:00
2019-11-06 15:30:32 +00:00
2019-10-29 09:41:48 +01:00
2019-10-07 18:56:59 +02:00
2019-07-14 08:11:15 +02:00
2018-11-27 16:12:59 +01:00
2019-10-23 11:12:33 -07:00
2018-08-02 09:34:02 -07:00
2018-08-18 11:44:53 -07:00
2018-12-17 09:24:30 +01:00
2018-07-31 11:32:44 -04:00
2019-10-07 13:29:05 -07:00
2019-07-14 08:11:16 +02:00
2019-05-25 18:23:46 +02:00
2019-09-23 13:23:30 -07:00
2019-09-23 14:11:56 -07:00
2019-10-01 08:26:12 +02:00
2019-05-02 09:58:59 +02:00
2018-07-12 10:04:27 -04:00
2018-12-05 09:48:14 -08:00
2018-07-12 10:04:20 -04:00
2019-10-05 13:10:06 +02:00
2019-07-03 13:14:44 +02:00
2018-07-10 23:29:03 -04:00
2019-11-06 13:05:37 +01:00
2019-04-17 08:38:52 +02:00
2019-11-14 14:47:50 -08:00
2019-05-31 06:46:27 -07:00
2019-08-09 17:52:34 +02:00
2018-12-05 09:48:13 -08:00
2019-08-16 10:12:52 +02:00
2019-07-31 21:34:30 -07:00
2019-03-05 17:58:50 +01:00
2019-03-13 14:02:32 -07:00
2018-06-28 10:40:47 -07:00
2019-10-11 14:04:42 -07:00
2019-08-04 09:37:11 +02:00
2018-08-15 23:03:20 -05:00
2018-08-21 18:19:09 -07:00
2019-04-05 22:32:59 +02:00
2019-10-01 09:41:17 +02:00
2019-11-12 19:21:20 +01:00
2019-07-31 21:34:30 -07:00
2019-05-31 08:14:29 -07:00
2018-11-21 09:19:14 +01:00
2019-03-13 14:02:29 -07:00
2019-10-07 13:29:05 -07:00
2018-08-02 08:06:55 +09:00
2019-10-17 13:45:35 -07:00
2018-08-21 18:19:09 -07:00
2019-10-07 13:29:05 -07:00
2019-08-17 00:18:14 +00:00
2019-08-27 21:50:14 +00:00
2019-10-07 15:27:40 -04:00
2019-05-25 18:23:26 +02:00
2019-07-31 08:03:42 +02:00
2019-05-04 09:20:11 +02:00
2019-01-19 01:25:07 +00:00
2018-12-05 09:48:13 -08:00
2018-12-05 09:48:13 -08:00
2019-10-01 09:41:17 +02:00
2018-06-28 10:40:47 -07:00
2019-08-25 10:47:43 +02:00
2019-05-04 09:20:11 +02:00
2019-10-11 18:21:39 +02:00
2019-10-07 13:29:05 -07:00
2018-12-05 09:48:12 -08:00
2018-08-13 20:56:23 -07:00
2019-10-07 15:27:41 -04:00
2018-12-05 09:48:13 -08:00
2019-11-06 15:27:46 +00:00