diff options
author | Eric Biggers <ebiggers@google.com> | 2019-05-20 09:29:52 -0700 |
---|---|---|
committer | Eric Biggers <ebiggers@google.com> | 2019-05-28 10:27:53 -0700 |
commit | 6e4b73bcd1519d50680d92ba74887c80c4e59140 (patch) | |
tree | 36dcd075033712f765fedf4340713b8f23122803 /scripts/gdb/linux/cpus.py | |
parent | ec39a36867440995c9675b2800f5ddaeb51b024e (diff) |
ext4: encrypt only up to last block in ext4_bio_write_page()
As an optimization, don't encrypt blocks fully beyond i_size, since
those definitely won't need to be written out. Also add a comment.
This is in preparation for allowing encryption on ext4 filesystems with
blocksize != PAGE_SIZE.
This is based on work by Chandan Rajendra.
Reviewed-by: Chandan Rajendra <chandan@linux.ibm.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'scripts/gdb/linux/cpus.py')
0 files changed, 0 insertions, 0 deletions