On 9/18/25 11:32, Jiucheng Xu via B4 Relay wrote:
> From: Jiucheng Xu
>
> On 32-bit architectures, when GFP_NOFS is used, the file cache for write
> operations cannot be allocated from the highmem and CMA.
Hi,
Have you suffered any problem w/o this patch? Can you please describe more
details ab
On Mon, 29 Sep 2025 19:13:49 +0800, Julian Sun wrote:
> The logic in wbc_to_tag() is widely used in file systems, so modify this
> function to be inline and use it in file systems.
>
> This patch has only passed compilation tests, but it should be fine.
>
>
Folding:
diff --git a/include/linux/
On 25.09.25 15:41, Sean Christopherson wrote:
On Thu, Sep 25, 2025, David Hildenbrand wrote:
On 25.09.25 13:44, Garg, Shivank wrote:
On 9/25/2025 8:20 AM, Sean Christopherson wrote:
I did functional testing and it works fine.
I can queue this instead. I guess I can reuse the patch description
On Tue, Sep 16, 2025 at 02:13:39PM +0200, Jan Prusakowski wrote:
> On Mon, Sep 15, 2025 at 4:40 PM Eric Biggers wrote:
> >
> > On Mon, Sep 15, 2025 at 12:04:51PM +0200, Jan Prusakowski wrote:
> > > common/encrypt: Do not run _verify_ciphertext_for_encryption_policy on
> > > compressed FS
> >
> >
On 10/4/2025 11:12 AM, Pedro Demarchi Gomes wrote:
folio_nr_pages() is a faster helper function to get the number of pages when
NR_PAGES_IN_LARGE_FOLIO is enabled.
Signed-off-by: Pedro Demarchi Gomes
Reviewed-by: Chao Yu
Thanks,
___
Linux-f2fs-d
Hello,
syzbot found the following issue on:
HEAD commit:2ccb4d203fe4 Merge tag 'for-linus' of git://git.kernel.org..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=130b445858
kernel config: https://syzkaller.appspot.com/x/.config?x=e0e74def2d38a839
das
On 10/11, Chao Yu wrote:
> On 10/11/25 00:02, Jaegeuk Kim wrote:
> > On 10/09, Chao Yu wrote:
> >> On 10/6/2025 4:46 PM, Jan Prusakowski via Linux-f2fs-devel wrote:
> >>> Xfstests generic/335, generic/336 sometimes crash with the following
> >>> message:
> >>>
> >>> F2FS-fs (dm-0): detect filesyst
在 2025/9/29 20:43, Julian Sun 写道:
The logic in wbc_to_tag() is widely used in file systems, so modify this
function to be inline and use it in file systems.
This patch has only passed compilation tests, but it should be fine.
Signed-off-by: Julian Sun
Reviewed-by: Qu Wenruo
Thanks,
Qu
On Mon, Sep 29, 2025 at 02:52:40AM +0800, Chao Yu wrote:
> Introduce _require_inject_f2fs_command() to check whether inject.f2fs
> supports specific metaarea and member parameters.
>
> Cc: Jaegeuk Kim
> Signed-off-by: Chao Yu
> ---
> common/f2fs| 25 +
> tests/f2fs/0
Ditto, need to manual entry.
On 9/18/25 12:53, Jaegeuk Kim via Linux-f2fs-devel wrote:
> It only measures the read performance.
>
> Signed-off-by: Jaegeuk Kim
> ---
> tools/f2fs_io/f2fs_io.c | 13 -
> 1 file changed, 12 insertions(+), 1 deletion(-)
>
> diff --git a/tools/f2fs_io/f2
Please split this into the writeback infrastructure and an XFS patch.
Adding infrastructure and the user in the same patch is really annoying
for bisecting, reverting or even just reading commit logs.
___
Linux-f2fs-devel mailing list
Linux-f2fs-devel@l
On Mon, Oct 13, 2025 at 08:53:04PM +0800, Chao Yu wrote:
> On 10/13/25 05:19, Nikola Z. Ivanov wrote:
> > On Thu, Oct 09, 2025 at 10:54:40AM +0800, Chao Yu wrote:
> >> On 10/3/2025 9:47 PM, Nikola Z. Ivanov wrote:
> >>> Current i_nlink corruption check does not take into account
> >>> directory ino
Hello:
This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim :
On Wed, 1 Oct 2025 01:29:57 +0200 you wrote:
> iput() calls the problematic routine, which does a ->i_count inc/dec
> cycle. Undoing it with iput() recurses into the problem.
>
> Note f2fs should not be playing games with
---[ cut here ]
kernel BUG at fs/f2fs/data.c:358!
Call Trace:
blk_update_request+0x5eb/0xe70 block/blk-mq.c:987
blk_mq_end_request+0x3e/0x70 block/blk-mq.c:1149
blk_complete_reqs block/blk-mq.c:1224 [inline]
blk_done_softirq+0x107/0x160 block/blk-mq.c:1229
handle_softirqs
From: Daeho Jeong
The recent increase in the number of Segment Summary Area (SSA) entries
from 512 to 2048 was an unintentional change in logic of 16kb block
support. This commit corrects the issue.
To better utilize the space available from the erroneous 2048-entry
calculation, we are implement
On 10/14/25 01:56, Bai, Shuangpeng wrote:
>
>
>> On Oct 13, 2025, at 08:41, Chao Yu wrote:
>>
>> On 10/13/25 07:49, Bai, Shuangpeng wrote:
>>> Hi Kernel Maintainers,
>>>
>>> Our tool found a new kernel bug "divide error in
>>> f2fs_all_cluster_page_ready". Please see the details below.
>>>
>>>
Hello:
This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim :
On Mon, 1 Sep 2025 10:04:15 +0800 you wrote:
> It reports a bug from device w/ zufs:
>
> F2FS-fs (dm-64): Inconsistent segment (173822) type [1, 0] in SSA and SIT
> F2FS-fs (dm-64): Stopped filesystem due to reason: 4
>
>
https://bugzilla.kernel.org/show_bug.cgi?id=220575
--- Comment #15 from JY ([email protected]) ---
(In reply to Chao Yu from comment #7)
> Can you please hook fscrypt_free_bounce_page() to set page private w/
> special value, something as below:
>
> void fscrypt_free_bounce_page(struct page *bou
Hello:
This series was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim :
On Wed, 17 Sep 2025 10:36:21 +0800 you wrote:
> Script to reproduce:
> f2fs_io write 1 0 1881 rand dsync testfile
> f2fs_io fallocate 0 7708672 4096 testfile
> f2fs_io write 1 1881 1 rand buffered testfile
> fsync testfile
Hi Linus,
Could you please consider this pull request?
Thanks,
The following changes since commit 8f5ae30d69d7543eee0d70083daf4de8fe15d585:
Linux 6.17-rc1 (2025-08-10 19:41:16 +0300)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git
ta
Add more sanity check on node folio during its writeback, if node footer
indicates it is an inode:
- i_mode should be consistent w/ inode
- ofs_of_node should be consistent w/ non-xattr node
In addition, if sanity check fails, let's shutdown filesystem to avoid
looping to redirty and writeback it.
From: Daeho Jeong
total_valid_blks_available is already a multiple of c.blks_per_seg.
So, we don't need an additional alignment adjustment.
Signed-off-by: Daeho Jeong
---
mkfs/f2fs_format.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/mkfs/f2fs_format.c b/mkfs/f2fs_for
On 09/30, Juhyung Park wrote:
> I recall being told by Chao that the ext is checked with .startsWith()-like
> semantics, hence "mp" covering both mp3/mp4.
>
> Was this not the case for hot list?
Thanks, Juhyung. Yeah, it seems the code looks like that. Let me drop this
patch.
>
> On Tue, Sep 30
Hi Julian,
kernel test robot noticed the following build errors:
[auto build test ERROR on kdave/for-next]
[also build test ERROR on ceph-client/testing ceph-client/for-linus
tytso-ext4/dev jaegeuk-f2fs/dev-test jaegeuk-f2fs/dev gfs2/for-next
akpm-mm/mm-everything linus/master v6.17 next-202509
_check_f2fs_filesystem() is f2fs specific, it's better to move it to
common/f2fs.
Cc: Jaegeuk Kim
Signed-off-by: Chao Yu
---
common/f2fs | 44
common/rc | 44
2 files changed, 44 insertions(+), 44 deleti
On 9/30/2025 11:17 AM, Jiucheng Xu wrote:
On 9/24/2025 10:25 AM, Chao Yu wrote:
[ EXTERNAL EMAIL ]
On 9/18/25 11:32, Jiucheng Xu via B4 Relay wrote:
From: Jiucheng Xu
On 32-bit architectures, when GFP_NOFS is used, the file cache for write
operations cannot be allocated from the highmem an
This still allows the file system to override a bdi paramter while
the bdi is shared by all file systems on a single block device. As
said before that really needs untangling first.
___
Linux-f2fs-devel mailing list
[email protected].
From: Daeho Jeong
The recent increase in the number of Segment Summary Area (SSA) entries
from 512 to 2048 was an unintentional change in logic of 16kb block
support. This commit corrects the issue.
To better utilize the space available from the erroneous 2048-entry
calculation, we are implement
User can change the number of writeback contexts with values 1 to num
cpus using the new sysfs attribute
echo > /sys/class/bdi/:/nwritebacks
The sequence of operations when number of writebacks is changed :
- fetch the superblock for a bdi
- freezes the filesystem
- iterate through inodes
Hello:
This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim :
On Thu, 4 Sep 2025 18:16:42 + you wrote:
> FUA writes can be merged to the existing write IOs.
>
> Signed-off-by: Jaegeuk Kim
> ---
> fs/f2fs/data.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
Here is
From: Jeuk Kim
Inline encryption derives DUN from ,
so bios from different inodes can't merge. With multi-threaded
buffered O_SYNC writes where each thread writes to its own file,
4KiB-per-page LBA allocation interleaves across inodes and
causes bio split. Serialize writeback for fscrypt inline-c
On 10/13/25 07:49, Bai, Shuangpeng wrote:
> Hi Kernel Maintainers,
>
> Our tool found a new kernel bug "divide error in
> f2fs_all_cluster_page_ready". Please see the details below.
>
> Kernel commit: 6.17
> Kernel config: attachment
> Reproducer: attachment
>
> The reproducer triggers the cras
Add support to handle multiple writeback contexts and check for
dirty_exceeded across all the writeback contexts
Signed-off-by: Kundan Kumar
Signed-off-by: Anuj Gupta
---
fs/gfs2/super.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c
index
When running the test in a VM on a host with all CPUs busy, the kill command
returns before socket tool shuts down. This prevents unmounting the
scratch, causing the test to fail.
The added sleep ensures that the socket tool closes before the next test steps.
Signed-off-by: Jan Prusakowski
---
#syz fix f2fs: don't call iput() from f2fs_drop_inode()
On 10/8/25 00:34, syzbot wrote:
> Hello,
>
> syzbot found the following issue on:
>
> HEAD commit:ba9dac987319 Merge tag 'libnvdimm-for-6.18' of git://git.k..
> git tree: upstream
> console output: https://syzkaller.appspot.com/x/
As syzbot reported:
F2FS-fs (loop0): __update_extent_tree_range: extent len is zero, type: 0,
extent [0, 0, 0], age [0, 0]
[ cut here ]
kernel BUG at fs/f2fs/extent_cache.c:678!
Oops: invalid opcode: [#1] SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 5336 Comm: syz.0.0 Not taint
On Sat, Oct 11, 2025 at 04:47:14PM +0800, Chao Yu wrote:
> This testcase tries to check whether f2fs can handle "usrjquota="
> during remount correctly, it expects kernel will encounter NULL
> pointer dereference bug w/o the fix ("f2fs: fix to avoid NULL pointer
> dereference in f2fs_check_quota_co
On Wed, Oct 15, 2025, Gregory Price wrote:
> On Fri, Sep 26, 2025 at 12:36:27PM -0700, Sean Christopherson via
> Linux-f2fs-devel wrote:
> > >
> > > static struct mempolicy *kvm_gmem_get_policy(struct vm_area_struct *vma,
> > >unsigned long addr, pgoff_t *p
On 10/6/2025 4:46 PM, Jan Prusakowski via Linux-f2fs-devel wrote:
Xfstests generic/335, generic/336 sometimes crash with the following message:
F2FS-fs (dm-0): detect filesystem reference count leak during umount, type: 9,
count: 1
[ cut here ]
kernel BUG at fs/f2fs/supe
From: Daeho Jeong
Zoned storage devices provide marginal over-capacity space, typically
around 10%, for filesystem level storage control.
By utilizing this extra capacity, we can safely reduce the default
'valid_thresh_ratio' to 80. This action helps to significantly prevent
excessive garbage co
Modify flusher and dirtytime logic to iterate through all the writeback
contexts.
Signed-off-by: Kundan Kumar
Signed-off-by: Anuj Gupta
---
fs/fs-writeback.c | 16 ++--
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c
index 93f8ea3
>
> Nice results. Is testing planned for other filesystems?
>
The changes currently improve the writeback performance for XFS only.
We have introduced a callback that other filesystems can implement to
decide which writeback context an inode should be affined to.
This is because the decision to
Hello:
This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim :
On Sat, 4 Oct 2025 00:12:17 -0300 you wrote:
> folio_nr_pages() is a faster helper function to get the number of pages when
> NR_PAGES_IN_LARGE_FOLIO is enabled.
>
> Signed-off-by: Pedro Demarchi Gomes
> ---
> fs/f2fs/f2
On Thu, Oct 09, 2025 at 04:50:43PM +0800, Chao Yu wrote:
> Introduce _require_inject_f2fs_command() to check whether inject.f2fs
> supports specific metaarea and member parameters.
>
> Meanwhile, let's check inject.f2fs requirement inside
> _require_inject_f2fs_command() for cleanup.
>
> Cc: Jaeg
On Thu, Oct 09, 2025 at 04:50:41PM +0800, Chao Yu wrote:
> Let's source common/f2fs in _source_specific_fs() instead of in each
> testcase.
>
> Cc: Jaegeuk Kim
> Signed-off-by: Chao Yu
> ---
Make sense to me, thanks for fixing it.
Reviewed-by: Zorro Lang
> common/config | 1 +
> tests/f2fs
On Thu, Oct 09, 2025 at 04:50:42PM +0800, Chao Yu wrote:
> _check_f2fs_filesystem() is f2fs specific, it's better to move it to
> common/f2fs.
>
> Cc: Jaegeuk Kim
> Signed-off-by: Chao Yu
> ---
Looks good to me. With the patch 1/3, this change should work for f2fs too.
Reviewed-by: Zorro Lang
From: Daeho Jeong
Zoned storage devices provide marginal over-capacity space, typically
around 10%, for filesystem level storage control.
By utilizing this extra capacity, we can safely reduce the default
'valid_thresh_ratio' to 80. This action helps to significantly prevent
excessive garbage co
Add missing mmap mode in man page.
Signed-off-by: Jaegeuk Kim
---
man/f2fs_io.8 | 6 ++
tools/f2fs_io/f2fs_io.c | 34 +++---
2 files changed, 33 insertions(+), 7 deletions(-)
diff --git a/man/f2fs_io.8 b/man/f2fs_io.8
index 6f3e11e96ed6..8e54aa644a00 1
Hi Hong,
On 9/29/25 19:43, HONG, Yun wrote:
> Hi,
>
> I would like to kindly report a crash I encountered, identified as "WARNING
> in f2fs_init_xattr_caches". This issue can be reproduced with a Syzlang
> reproducer on the mainline version downloaded from https://www.kernel.org/
> For your con
On 10/17/2025 1:47 AM, Jaegeuk Kim wrote:
On 10/11, Chao Yu wrote:
On 10/11/25 00:02, Jaegeuk Kim wrote:
On 10/09, Chao Yu wrote:
On 10/6/2025 4:46 PM, Jan Prusakowski via Linux-f2fs-devel wrote:
Xfstests generic/335, generic/336 sometimes crash with the following message:
F2FS-fs (dm-0): de
On 10/16/2025 1:16 PM, Jeuk Kim wrote:
From: Jeuk Kim
Inline encryption derives DUN from ,
so bios from different inodes can't merge. With multi-threaded
buffered O_SYNC writes where each thread writes to its own file,
4KiB-per-page LBA allocation interleaves across inodes and
causes bio split.
51 matches
Mail list logo