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

2019-07-23 Thread Chao Yu
On 2019/7/23 9:35, Jaegeuk Kim wrote: > On 07/16, Chao Yu wrote: >> Hi Jaegeuk, >> >> On 2019/5/9 9:15, Chao Yu wrote: >>> On 2019/5/5 10:51, Chao Yu wrote: On 2019/5/1 11:22, Jaegeuk Kim wrote: > On 04/29, Chao Yu wrote: >> On 2019-4-28 21:38, Jaegeuk Kim wrote: >>> On 04/24, Chao

Re: [PATCH v2] f2fs: separate NOCoW and pinfile semantics

2019-07-23 Thread Chao Yu
On 2019/7/23 10:36, Jaegeuk Kim wrote: > On 07/19, Chao Yu wrote: >> Pinning a file is heavy, because skipping pinned files make GC >> running with heavy load or no effect. > > Pinned file is a part of NOCOW files, so I don't think we can simply drop it > for backward compatibility. Yes, But wha

[f2fs-dev] [PATCH 3/3] common/rc: check quota sysfile feature for f2fs

2019-07-23 Thread Chao Yu
In _require_prjquota(), f2fs missed to check whether we have enabled quota sysfile feature in the image, add it. Signed-off-by: Chao Yu --- common/quota | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/quota b/common/quota index 9af280a2..3f46eb19 100644 --- a/common/quota +++ b/comm

[f2fs-dev] [PATCH 2/3] common/quota: support f2fs in _require_quota() and _check_quota_usage()

2019-07-23 Thread Chao Yu
This can let f2fs pass the check of quota testcases. Signed-off-by: Chao Yu --- common/quota | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/quota b/common/quota index f19f81a1..9af280a2 100644 --- a/common/quota +++ b/common/quota @@ -12,7 +12,7 @@ _require_quota(

[f2fs-dev] [PATCH 1/3] generic/38[3456]: adjust to check prjquota before mount

2019-07-23 Thread Chao Yu
Move _require_prjquota() to front of _qmount() since we do the check on device directly instead of mountpoint, it can avoid potential failure if filesystem utils needs exclusive open on device. Signed-off-by: Chao Yu --- tests/generic/383 | 2 +- tests/generic/384 | 2 +- tests/generic/385 | 2 +

[f2fs-dev] [PATCH v4 0/3] Casefolding in F2FS

2019-07-23 Thread Daniel Rosenberg via Linux-f2fs-devel
These patches are largely based on the casefolding patches for ext4 v4: Added FS_CASEFOLD_FL flag, added documentation that escaped the last format-patch, moved setting dentry ops to f2fs_setup_casefold v3: Addressed feedback, apart from F2FS_CASEFOLD_FL/FS_CASEFOLD_FL Added sysfs file "en

[f2fs-dev] [PATCH v4 3/3] f2fs: Support case-insensitive file name lookups

2019-07-23 Thread Daniel Rosenberg via Linux-f2fs-devel
Modeled after commit b886ee3e778e ("ext4: Support case-insensitive file name lookups") """ This patch implements the actual support for case-insensitive file name lookups in f2fs, based on the feature bit and the encoding stored in the superblock. A filesystem that has the casefold feature set is

[f2fs-dev] [PATCH v4 1/3] fs: Reserve flag for casefolding

2019-07-23 Thread Daniel Rosenberg via Linux-f2fs-devel
In preparation for including the casefold feature within f2fs, elevate the EXT4_CASEFOLD_FL flag to FS_CASEFOLD_FL. Signed-off-by: Daniel Rosenberg --- include/uapi/linux/fs.h | 1 + tools/include/uapi/linux/fs.h | 1 + 2 files changed, 2 insertions(+) diff --git a/include/uapi/linux/fs.h

[f2fs-dev] [PATCH v4 2/3] f2fs: include charset encoding information in the superblock

2019-07-23 Thread Daniel Rosenberg via Linux-f2fs-devel
Add charset encoding to f2fs to support casefolding. It is modeled after the same feature introduced in commit c83ad55eaa91 ("ext4: include charset encoding information in the superblock") Currently this is not compatible with encryption, similar to the current ext4 imlpementation. This will chang

[f2fs-dev] [Bug 200219] Buffer overrun when reading inline data in f2fs

2019-07-23 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=200219 Chao Yu (c...@kernel.org) changed: What|Removed |Added CC||c...@kernel.org Comp

[f2fs-dev] [Bug 104211] segfault / heap out of bounds read in fsck.f2fs

2019-07-23 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=104211 Chao Yu (c...@kernel.org) changed: What|Removed |Added Status|NEW |RESOLVED CC|

[f2fs-dev] [Bug 66631] F2FS-fs reports error for valid mount options

2019-07-23 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=66631 Chao Yu (c...@kernel.org) changed: What|Removed |Added Status|NEW |RESOLVED CC|