[PATCH 2/2] f2fs: Support case-insensitive file name lookups

2019-07-11 Thread Daniel Rosenberg
ementation is not completely linguistic accurate, because different languages have conflicting rules, which would require the specialization of the filesystem to a given locale, which brings all sorts of problems for removable media and for users who use more than one language. """

[PATCH 1/2] f2fs: include charset encoding information in the superblock

2019-07-11 Thread Daniel Rosenberg
decrypting every directory entry, because of normalization cases. My quickest solution is to simply block the concurrent use of these features for now, and enable it later, once we have a better solution. """ Signed-off-by: Daniel Rosenberg --- fs/f2fs/f2fs.h

[PATCH v2 2/2] f2fs: Support case-insensitive file name lookups

2019-07-16 Thread Daniel Rosenberg
ementation is not completely linguistic accurate, because different languages have conflicting rules, which would require the specialization of the filesystem to a given locale, which brings all sorts of problems for removable media and for users who use more than one language. """

[PATCH v2 1/2] f2fs: include charset encoding information in the superblock

2019-07-16 Thread Daniel Rosenberg
decrypting every directory entry, because of normalization cases. My quickest solution is to simply block the concurrent use of these features for now, and enable it later, once we have a better solution. """ Signed-off-by: Daniel Rosenberg --- fs/f2fs/f2fs.h

[PATCH v2 0/2] Casefolding in F2FS

2019-07-16 Thread Daniel Rosenberg
These patches are largely based on the casefolding patches for ext4 v2: Rebased patches again master, changed f2fs_msg to f2fs_info/f2fs_err Daniel Rosenberg (2): f2fs: include charset encoding information in the superblock f2fs: Support case-insensitive file name lookups fs/f2fs/dir.c

Re: [PATCH v2 2/2] f2fs: Support case-insensitive file name lookups

2019-07-18 Thread Daniel Rosenberg
On 7/17/19 3:11 AM, Chao Yu wrote: We need to add one more entry f2fs_fsflags_map[] to map F2FS_CASEFOLD_FL to FS_CASEFOLD_FL correctly and adapt F2FS_GETTABLE_FS_FL/F2FS_SETTABLE_FS_FL as well. I don't see FS_CASEFOLD_FL. It would make sense for it to exist, but unless it's in some recent

[PATCH v3 0/2] Casefolding in F2FS

2019-07-18 Thread Daniel Rosenberg
These patches are largely based on the casefolding patches for ext4 v3: Addressed feedback, apart from F2FS_CASEFOLD_FL/FS_CASEFOLD_FL Added sysfs file "encoding" to see the encoding set on a filesystem v2: Rebased patches again master, changed f2fs_msg to f2fs_info/f2fs_err Daniel

[PATCH v3 1/2] f2fs: include charset encoding information in the superblock

2019-07-18 Thread Daniel Rosenberg
decrypting every directory entry, because of normalization cases. My quickest solution is to simply block the concurrent use of these features for now, and enable it later, once we have a better solution. """ Signed-off-by: Daniel Rosenberg --- fs/f2fs/f2fs.h

[PATCH v3 2/2] f2fs: Support case-insensitive file name lookups

2019-07-18 Thread Daniel Rosenberg
ementation is not completely linguistic accurate, because different languages have conflicting rules, which would require the specialization of the filesystem to a given locale, which brings all sorts of problems for removable media and for users who use more than one language. """

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

2019-07-23 Thread Daniel Rosenberg
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

[PATCH v4 0/3] Casefolding in F2FS

2019-07-23 Thread Daniel Rosenberg
"encoding" to see the encoding set on a filesystem v2: Rebased patches again master, changed f2fs_msg to f2fs_info/f2fs_err Daniel Rosenberg (3): fs: Reserve flag for casefolding f2fs: include charset encoding information in the superblock f2fs: Support case-insensitive file na

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

2019-07-23 Thread Daniel Rosenberg
decrypting every directory entry, because of normalization cases. My quickest solution is to simply block the concurrent use of these features for now, and enable it later, once we have a better solution. """ Signed-off-by: Daniel Rosenberg --- Documentation/ABI/testing/sysfs-fs-

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

2019-07-23 Thread Daniel Rosenberg
ementation is not completely linguistic accurate, because different languages have conflicting rules, which would require the specialization of the filesystem to a given locale, which brings all sorts of problems for removable media and for users who use more than one language. """

[PATCH v3 3/4] f2fs: Fix accounting for unusable blocks

2019-05-29 Thread Daniel Rosenberg
Fixes possible underflows when dealing with unusable blocks. Signed-off-by: Daniel Rosenberg --- fs/f2fs/f2fs.h | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 9b3d9977cd1ef..a39cc4ffeb4b1 100644 --- a/fs/f2fs/f2fs.h

[PATCH v3 4/4] f2fs: Add option to limit required GC for checkpoint=disable

2019-05-29 Thread Daniel Rosenberg
2fs//unusable +Date April 2019 +Contact: "Daniel Rosenberg" +Description: + If checkpoint=disable, it displays the number of blocks that are unusable. +If checkpoint=enable it displays the enumber of blocks that would be unusable +

[PATCH v3 2/4] f2fs: Fix root reserved on remount

2019-05-29 Thread Daniel Rosenberg
user_block_count, causing an underflow. Signed-off-by: Daniel Rosenberg --- fs/f2fs/super.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 912e2619d581b..359fd68509d16 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c @@ -213,7

[PATCH v3 0/4] F2FS Checkpointing without GC, related fixes

2019-05-29 Thread Daniel Rosenberg
removes the double counting. I'm leaving that until later. Changes from v2: Adjust threshold for initial unusable blocks Patches to fix underflows Added option to set a block limit in addition to a percent for initial unusable space Daniel Rosenberg (4): f2fs: Lower threshold for disable_cp_

[PATCH v3 1/4] f2fs: Lower threshold for disable_cp_again

2019-05-29 Thread Daniel Rosenberg
try. If H+X <= OVP-reserved, then the holes end up effectively masked by the OVP region in this case. Signed-off-by: Daniel Rosenberg --- fs/f2fs/segment.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index 1a83115