Eric Biggers 51e4e3153e fscrypt: support decrypting data from large folios
Try to make the filesystem-level decryption functions in fs/crypto/
aware of large folios.  This includes making fscrypt_decrypt_bio()
support the case where the bio contains large folios, and making
fscrypt_decrypt_pagecache_blocks() take a folio instead of a page.

There's no way to actually test this with large folios yet, but I've
tested that this doesn't cause any regressions.

Note that this patch just handles *decryption*, not encryption which
will be a little more difficult.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Link: https://lore.kernel.org/r/20230127224202.355629-1-ebiggers@kernel.org
2023-01-28 15:10:12 -08:00
..
2022-10-05 01:15:38 -05:00
2022-08-02 12:34:04 -04:00
2020-12-10 12:40:07 -06:00
2022-10-20 10:13:27 +02:00
2022-10-20 10:13:27 +02:00
2022-12-13 19:29:45 -08:00
2020-07-09 08:14:01 +02:00
2022-11-09 13:57:59 -07:00
2020-12-15 12:13:39 -08:00
2021-03-25 11:51:23 -06:00
2022-10-20 10:13:27 +02:00