When fewer pages are read, nr_pages may be smaller than nr_cpages. Due
to the nr_vecs limit, the compressed pages will be split into multiple
bios and then merged at the block level. In this case, nr_cpages should
be used to pre-allocate bvecs.
To handle this case, align max_nr_pages to cluster_siz
On Wed, Jun 11, 2025 at 11:25:21PM -0700, Eric Biggers wrote:
> On Thu, Jun 12, 2025 at 12:59:14AM +, Eric Biggers wrote:
> > On Thu, Jun 12, 2025 at 09:21:26AM +0900, Simon Richter wrote:
> > > Hi,
> > >
> > > On 6/12/25 05:58, Eric Biggers wrote:
> > >
> > > > But
> > > > otherwise this sty
On 6/18/25 16:17, Jianan Huang wrote:
> When fewer pages are read, nr_pages may be smaller than nr_cpages. Due
> to the nr_vecs limit, the compressed pages will be split into multiple
> bios and then merged at the block level. In this case, nr_cpages should
> be used to pre-allocate bvecs.
> To han
On 6/17/25 22:04, Daniel Lee wrote:
> A new command 'test_create_perf', has been introduced to measure
> the performance of creating and deleting many files.
>
> Signed-off-by: Daniel Lee
Reviewed-by: Chao Yu
Thanks,
___
Linux-f2fs-devel mailing li
On 6/25/25 08:14, yohan.joung wrote:
> to check the upper boundary when setting gc_boost_zoned_gc_percent
>
> Signed-off-by: yohan.joung
Fixes: 9a481a1c16f4 ("f2fs: create gc_no_zoned_gc_percent and
gc_boost_zoned_gc_percent")
Reviewed-by: Chao Yu
Thanks,
__
On 6/25/25 08:13, yohan.joung wrote:
> to allow users to dynamically tune
> the boost_zoned_gc_percent parameter
>
> Signed-off-by: yohan.joung
Reviewed-by: Chao Yu
Thanks,
___
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
ht
to check the upper boundary when setting gc_boost_zoned_gc_percent
Signed-off-by: yohan.joung
---
fs/f2fs/sysfs.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/fs/f2fs/sysfs.c b/fs/f2fs/sysfs.c
index 51be7ffb38c5..2b5c35ce7b8c 100644
--- a/fs/f2fs/sysfs.c
+++ b/fs/f2fs/sysfs.c
@@ -6
to allow users to dynamically tune
the boost_zoned_gc_percent parameter
Signed-off-by: yohan.joung
---
fs/f2fs/gc.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/fs/f2fs/gc.h b/fs/f2fs/gc.h
index 5c1eaf55e127..11fba7636af7 100644
--- a/fs/f2fs/gc.h
+++ b/fs/f2fs/gc.h
@@ -
On 2025/6/24 11:59, wangzijie wrote:
Introduce sbi in f2fs_setattr() and convert F2FS_I_SB to it. No logic
change, just cleanup and prepare to get CAP_BLKS_PER_SEC(sbi).
Signed-off-by: wangzijie
Reviewed-by: Chao Yu
Thanks,
___
Linux-f2fs-devel
On 2025/6/24 11:59, wangzijie wrote:
To prevent scattered pin block generation, don't allow non-section aligned
truncation
to smaller or equal size on pinned file. But for truncation to larger size,
after
commit 3fdd89b452c2("f2fs: prevent writing without fallocate() for pinned
files"),
we onl
On 2025/6/19 20:09, Abinash Singh wrote:
KMSAN reported a use of uninitialized value in `__is_extent_mergeable()` and
`__is_back_mergeable()` via the read extent tree path.
The root cause is that `get_read_extent_info()` only initializes three fields
(`fofs`, `blk`, `len`) of `struct extent_info
On 2025/6/18 01:40, Swarna Prabhu wrote:
This patch fixes minor typos in comments in f2fs.
Signed-off-by: Swarna Prabhu
Reviewed-by: Chao Yu
Thanks,
___
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourcefor
On 2025/6/17 21:13, Sheng Yong wrote:
On 6/17/25 19:37, Chao Yu via Linux-f2fs-devel wrote:
On 6/17/25 13:55, Jianan Huang wrote:
When fewer pages are read, nr_pages may be smaller than nr_cpages. Due
to the nr_vecs limit, the compressed pages will be split into multiple
bios and then merged at
On Wed, 16 Apr 2025, Chao Yu wrote:
> This patch adds a new sysfs entry /sys/fs/f2fs//encoding_flags,
> it is a read-only entry to show the value of sb.s_encoding_flags, the
> value is hexadecimal.
>
> === ==
> Flag_NameFlag_Value
> ===
14 matches
Mail list logo