[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <6183530.UoL3poR4K9@dhcp-9-109-212-164>
Date: Mon, 06 May 2019 14:12:57 +0530
From: Chandan Rajendra <chandan@...ux.ibm.com>
To: Eric Biggers <ebiggers@...nel.org>
Cc: linux-fscrypt@...r.kernel.org, linux-ext4@...r.kernel.org,
linux-f2fs-devel@...ts.sourceforge.net,
linux-mtd@...ts.infradead.org, linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH 07/13] fscrypt: handle blocksize < PAGE_SIZE in fscrypt_zeroout_range()
On Thursday, May 2, 2019 4:15:09 AM IST Eric Biggers wrote:
> From: Eric Biggers <ebiggers@...gle.com>
>
> Adjust fscrypt_zeroout_range() to encrypt a block at a time rather than
> a page at a time, so that it works when blocksize < PAGE_SIZE.
>
> This isn't optimized for performance, but then again this function
> already wasn't optimized for performance. As a future optimization, we
> could submit much larger bios here.
>
> This is in preparation for allowing encryption on ext4 filesystems with
> blocksize != PAGE_SIZE.
>
> This is based on work by Chandan Rajendra.
Looks good to me,
Reviewed-by: Chandan Rajendra <chandan@...ux.ibm.com>
--
chandan
Powered by blists - more mailing lists