Re: [f2fs-dev] [PATCH] docs: f2fs: fix a broken table

2020-06-22 Thread Mauro Carvalho Chehab
Em Mon, 22 Jun 2020 11:22:09 -0600 Jonathan Corbet escreveu: > On Mon, 22 Jun 2020 10:11:06 -0700 > Eric Biggers wrote: > > > Someone already sent out a fix for this: > > https://lkml.kernel.org/linux-doc/52f851cb5c9fd2ecae97deec7e168e66b8c295c3.1591137229.git.mchehab+hua...@kernel.org/ No

Re: [f2fs-dev] [PATCH 1/4] fs: introduce SB_INLINECRYPT

2020-06-22 Thread Eric Biggers
Hi Dave, On Tue, Jun 23, 2020 at 10:46:36AM +1000, Dave Chinner wrote: > On Wed, Jun 17, 2020 at 08:19:35PM -0700, Eric Biggers wrote: > > On Thu, Jun 18, 2020 at 11:19:12AM +1000, Dave Chinner wrote: > > > On Wed, Jun 17, 2020 at 07:57:29AM +, Satya Tangirala wrote: > > > > Introduce

Re: [f2fs-dev] [PATCH 1/4] fs: introduce SB_INLINECRYPT

2020-06-22 Thread Dave Chinner
On Wed, Jun 17, 2020 at 08:19:35PM -0700, Eric Biggers wrote: > On Thu, Jun 18, 2020 at 11:19:12AM +1000, Dave Chinner wrote: > > On Wed, Jun 17, 2020 at 07:57:29AM +, Satya Tangirala wrote: > > > Introduce SB_INLINECRYPT, which is set by filesystems that wish to use > > > blk-crypto for file

Re: [f2fs-dev] [PATCH] docs: f2fs: fix a broken table

2020-06-22 Thread Jonathan Corbet
On Mon, 22 Jun 2020 10:11:06 -0700 Eric Biggers wrote: > Someone already sent out a fix for this: > https://lkml.kernel.org/linux-doc/52f851cb5c9fd2ecae97deec7e168e66b8c295c3.1591137229.git.mchehab+hua...@kernel.org/ > > Is it intentional that you're sending out a different fix rather than

Re: [f2fs-dev] [PATCH] docs: f2fs: fix a broken table

2020-06-22 Thread Eric Biggers
On Mon, Jun 22, 2020 at 07:39:07AM -0600, Jonathan Corbet wrote: > Commit ed318a6cc0b6 ("fscrypt: support test_dummy_encryption=v2") added an > entry to the massive option table in Documentation/filesystems/f2fs.txt. > The option was too wide for the formatting of the table, though, leading to > a

Re: [f2fs-dev] [PATCH v2] fsck: prevent buffer overrun in quota code

2020-06-22 Thread Jaegeuk Kim
A maliciously corrupted file systems can trigger buffer overruns in the quota code used by fsck. To fix it, quota file sizes are checked against real allocated block index tables (inode, direct nodes, indirect nodes, double indirect nodes). If the size mismatches, the quota file is considered

[f2fs-dev] [PATCH 2/2] f2fs: introduce inmem curseg

2020-06-22 Thread Chao Yu
Previous implementation of aligned pinfile allocation will: - allocate new segment on cold data log no matter whether last used segment is partially used or not, it makes IOs more random; - force concurrent cold data/GCed IO going into warm data area, it can make a bad effect on hot/cold data

[f2fs-dev] [PATCH 1/2] f2fs: split f2fs_allocate_new_segments()

2020-06-22 Thread Chao Yu
to two independent functions: - f2fs_allocate_new_segment() for specified type segment allocation - f2fs_allocate_new_segments() for all data type segments allocation Signed-off-by: Chao Yu --- fs/f2fs/f2fs.h | 3 ++- fs/f2fs/file.c | 2 +- fs/f2fs/recovery.c | 2 +-