Re: [f2fs-dev] [PATCH] f2fs: fix to do sanity with enabled features in image

2019-04-30 Thread Jaegeuk Kim
On 04/29, Chao Yu wrote: > On 2019-4-28 21:38, Jaegeuk Kim wrote: > > On 04/24, Chao Yu wrote: > >> This patch fixes to do sanity with enabled features in image, if > >> there are features kernel can not recognize, just fail the mount. > > > > We need to figure out per-feature-based rejection, sin

Re: [f2fs-dev] [PATCH V2 10/13] fscrypt_encrypt_page: Loop across all blocks mapped by a page range

2019-04-30 Thread Eric Biggers
On Tue, Apr 30, 2019 at 10:11:35AM -0700, Eric Biggers wrote: > On Sun, Apr 28, 2019 at 10:01:18AM +0530, Chandan Rajendra wrote: > > For subpage-sized blocks, this commit now encrypts all blocks mapped by > > a page range. > > > > Signed-off-by: Chandan Rajendra > > --- > > fs/crypto/crypto.c |

Re: [f2fs-dev] [BUG] watchdog: BUG: soft lockup.. after heavy disk access

2019-04-30 Thread Hagbard Celine
2019-04-30 8:25 GMT+02:00, Chao Yu : > On 2019/4/29 21:39, Hagbard Celine wrote: >> 2019-04-29 9:36 GMT+02:00, Chao Yu : >>> Hi Hagbard, >>> >>> At a glance, may I ask what's your device size? Since I notice that you >>> used >>> -i >>> option during mkfs, if size is large enough, checkpoint may cr

Re: [f2fs-dev] [PATCH V2 02/13] Consolidate "read callbacks" into a new file

2019-04-30 Thread Eric Biggers
On Sun, Apr 28, 2019 at 10:01:10AM +0530, Chandan Rajendra wrote: > The "read callbacks" code is used by both Ext4 and F2FS. Hence to > remove duplicity, this commit moves the code into > include/linux/read_callbacks.h and fs/read_callbacks.c. > > The corresponding decrypt and verity "work" functi

Re: [f2fs-dev] [PATCH V2 10/13] fscrypt_encrypt_page: Loop across all blocks mapped by a page range

2019-04-30 Thread Eric Biggers
On Sun, Apr 28, 2019 at 10:01:18AM +0530, Chandan Rajendra wrote: > For subpage-sized blocks, this commit now encrypts all blocks mapped by > a page range. > > Signed-off-by: Chandan Rajendra > --- > fs/crypto/crypto.c | 37 + > 1 file changed, 25 insertions(+

Re: [f2fs-dev] [PATCH V2 11/13] ext4: Compute logical block and the page range to be encrypted

2019-04-30 Thread Eric Biggers
On Sun, Apr 28, 2019 at 10:01:19AM +0530, Chandan Rajendra wrote: > For subpage-sized blocks, the initial logical block number mapped by a > page can be different from page->index. Hence this commit adds code to > compute the first logical block mapped by the page and also the page > range to be en

Re: [f2fs-dev] [PATCH V2 12/13] fscrypt_zeroout_range: Encrypt all zeroed out blocks of a page

2019-04-30 Thread Eric Biggers
On Sun, Apr 28, 2019 at 10:01:20AM +0530, Chandan Rajendra wrote: > For subpage-sized blocks, this commit adds code to encrypt all zeroed > out blocks mapped by a page. > > Signed-off-by: Chandan Rajendra > --- > fs/crypto/bio.c | 40 ++-- > 1 file changed, 18