Re: [f2fs-dev] [PATCH v2 10/12] ext4: add basic fs-verity support

2018-11-05 Thread Chandan Rajendra
On Tuesday, November 6, 2018 6:55:03 AM IST Eric Biggers wrote: > Hi Chandan, > > On Fri, Nov 02, 2018 at 03:13:14PM +0530, Chandan Rajendra wrote: > > On Friday, November 2, 2018 4:22:28 AM IST Eric Biggers wrote: > > > From: Eric Biggers > > > > > > Add basic fs-verity support to ext4.

[f2fs-dev] [PATCH] f2fs: stop discard thread during fstrim

2018-11-05 Thread Yunlei He
Now, discard thread will issue discards in parallel with fstrim, which will cause problem as below: i. maybe too many discards commands at some point ii. disturb the order of block address, which is continuous in fstrim Signed-off-by: Yunlei He --- fs/f2fs/f2fs.h| 1 + fs/f2fs/segment.c |

[f2fs-dev] [PATCH] f2fs: move dir data flush to write checkpoint process

2018-11-05 Thread Yunlei He
This patch move dir data flush to write checkpoint process, by doing this, it may reduce some time for dir fsync. pre: -f2fs_do_sync_file enter -file_write_and_wait_range <- flush & wait -write_checkpoint -do_checkpoint <- wait

Re: [f2fs-dev] [PATCH v2 10/12] ext4: add basic fs-verity support

2018-11-05 Thread Eric Biggers
Hi Chandan, On Fri, Nov 02, 2018 at 03:13:14PM +0530, Chandan Rajendra wrote: > On Friday, November 2, 2018 4:22:28 AM IST Eric Biggers wrote: > > From: Eric Biggers > > > > Add basic fs-verity support to ext4. fs-verity is a filesystem feature > > that enables transparent integrity protection

Re: [f2fs-dev] [PATCH v2 10/12] ext4: add basic fs-verity support

2018-11-05 Thread Eric Biggers
Hi Andreas, On Mon, Nov 05, 2018 at 02:05:24PM -0700, Andreas Dilger wrote: > On Nov 1, 2018, at 4:52 PM, Eric Biggers wrote: > > > > From: Eric Biggers > > > > Add basic fs-verity support to ext4. fs-verity is a filesystem feature > > that enables transparent integrity protection and

[f2fs-dev] [PATCH] f2fs: Change to use DEFINE_SHOW_ATTRIBUTE macro

2018-11-05 Thread Yangtao Li
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Yangtao Li --- fs/f2fs/debug.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/fs/f2fs/debug.c b/fs/f2fs/debug.c index 214a968962a1..ef827c0d0379 100644 --- a/fs/f2fs/debug.c +++