[f2fs-dev] [PATCH AUTOSEL 4.19 05/37] f2fs: fix to do sanity check on valid node/block count

2019-10-25 Thread Sasha Levin
From: Chao Yu [ Upstream commit 7b63f72f73af57bb040f03b9713ec9979d8911f4 ] As Jungyeon reported in bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=203229 - Overview When mounting the attached crafted image, following errors are reported. Additionally, it hangs on sync after trying to

Re: [f2fs-dev] [bug report] compiler warning: fs/f2fs/node.c: In function ‘__set_nat_cache_dirty’: ‘head’ may be used uninitialized

2019-10-25 Thread Chao Yu
On 2019/10/24 17:54, Ardelean, Alexandru wrote: > On Thu, 2019-10-24 at 17:12 +0800, Chao Yu wrote: >> [External] >> >> On 2019/10/23 22:02, Ardelean, Alexandru wrote: >>> Seems to have been introduced via: >>> >>> >>> >>> commit

Re: [f2fs-dev] [PATCH 2/2] f2fs: Add f2fs stats to sysfs

2019-10-25 Thread Chao Yu
On 2019/10/25 11:51, Hridya Valsaraju wrote: > On Thu, Oct 24, 2019 at 2:26 AM Chao Yu wrote: >> >> On 2019/10/24 5:48, Hridya Valsaraju wrote: >>> Currently f2fs stats are only available from /d/f2fs/status. This patch >>> adds some of the f2fs stats to sysfs so that they are accessible even >>>

Re: [f2fs-dev] [PATCH 1/2] f2fs: support aligned pinned file

2019-10-25 Thread Jaegeuk Kim
On 10/24, Chao Yu wrote: > Hi Jaegeuk, > > On 2019/10/23 1:16, Jaegeuk Kim wrote: > > This patch supports 2MB-aligned pinned file, which can guarantee no GC at > > all > > by allocating fully valid 2MB segment. > > > > Signed-off-by: Jaegeuk Kim > > --- > > fs/f2fs/f2fs.h | 4 +++- > >

Re: [f2fs-dev] [PATCH 2/2] f2fs: Add f2fs stats to sysfs

2019-10-25 Thread Jaegeuk Kim
On 10/25, Chao Yu wrote: > On 2019/10/25 11:51, Hridya Valsaraju wrote: > > On Thu, Oct 24, 2019 at 2:26 AM Chao Yu wrote: > >> > >> On 2019/10/24 5:48, Hridya Valsaraju wrote: > >>> Currently f2fs stats are only available from /d/f2fs/status. This patch > >>> adds some of the f2fs stats to sysfs

Re: [f2fs-dev] [PATCH 1/2] f2fs: delete duplicate information on sysfs nodes

2019-10-25 Thread Jaegeuk Kim
On 10/24, Chao Yu wrote: > On 2019/10/24 5:48, Hridya Valsaraju wrote: > > This patch merges the sysfs node documentation present in > > Documentation/filesystems/f2fs.txt and > > Documentation/ABI/testing/sysfs-fs-f2fs > > and deletes the duplicate information from > >

Re: [f2fs-dev] [PATCH 1/2] f2fs: delete duplicate information on sysfs nodes

2019-10-25 Thread Chao Yu
On 2019/10/26 2:23, Jaegeuk Kim wrote: > On 10/24, Chao Yu wrote: >> On 2019/10/24 5:48, Hridya Valsaraju wrote: >>> This patch merges the sysfs node documentation present in >>> Documentation/filesystems/f2fs.txt and >>> Documentation/ABI/testing/sysfs-fs-f2fs >>> and deletes the duplicate

Re: [f2fs-dev] [PATCH 2/2] f2fs: Add f2fs stats to sysfs

2019-10-25 Thread Chao Yu
On 2019/10/26 2:22, Jaegeuk Kim wrote: > On 10/25, Chao Yu wrote: >> On 2019/10/25 11:51, Hridya Valsaraju wrote: >>> On Thu, Oct 24, 2019 at 2:26 AM Chao Yu wrote: On 2019/10/24 5:48, Hridya Valsaraju wrote: > Currently f2fs stats are only available from /d/f2fs/status. This patch

Re: [f2fs-dev] [PATCH 1/2] f2fs: support aligned pinned file

2019-10-25 Thread Chao Yu
On 2019/10/26 2:18, Jaegeuk Kim wrote: > On 10/24, Chao Yu wrote: >> Hi Jaegeuk, >> >> On 2019/10/23 1:16, Jaegeuk Kim wrote: >>> This patch supports 2MB-aligned pinned file, which can guarantee no GC at >>> all >>> by allocating fully valid 2MB segment. >>> >>> Signed-off-by: Jaegeuk Kim >>>