[f2fs-dev] [RESEND PATCH] f2fs: Use struct_size() to improve f2fs_acl_clone()

2024-10-07 Thread Thorsten Blum
Use struct_size() to calculate the number of bytes to allocate for a cloned acl. Signed-off-by: Thorsten Blum --- fs/f2fs/acl.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fs/f2fs/acl.c b/fs/f2fs/acl.c index 8bffdeccdbc3..1fbc0607363b 100644 --- a/fs/f2fs/acl.c +++ b

Re: [f2fs-dev] Plans for F2FS Supporting Large Folios

2024-10-07 Thread Jaegeuk Kim via Linux-f2fs-devel
Hi Ryan, On 10/02, Ryan Roberts wrote: > Hi Jaegeuk Kim, Chao Yu, > > I heard (via Matthew Wilcox) that you may be in the process of forming plans > to > add large folio support to f2fs? If so, I wonder if you could let me know how > those plans are progressing? I saw your v6.12-rc1 pull request

Re: [f2fs-dev] [PATCH] f2fs-toos: use getpagesize() to get default blocksize in Android

2024-10-07 Thread Jaegeuk Kim via Linux-f2fs-devel
On 09/19, Zhiguo Niu wrote: > Hi all, > please ignore this patch, we can resove this by "-b" parameter . > thanks! Ok, thanks. > Zhiguo Niu 于2024年9月14日周六 11:12写道: > > > > When 16K page/block size is enabled in Android platform, > > a error maybe detected in mount process in kernel if "-b" > > p

Re: [f2fs-dev] [PATCH v2 1/2] f2fs: use per-log target_bitmap to improve lookup performace of ssr allocation

2024-10-07 Thread Jaegeuk Kim via Linux-f2fs-devel
Hi Chao, This introduces another bitmap increasing memory footprint. Do we know how much performance benefit with this? On 04/11, Chao Yu wrote: > After commit 899fee36fac0 ("f2fs: fix to avoid data corruption by > forbidding SSR overwrite"), valid block bitmap of current openned > segment is fix

Re: [f2fs-dev] [PATCH] f2fs: fix f2fs_bug_on when uninstalling filesystem call f2fs_evict_inode.

2024-10-07 Thread Chao Yu via Linux-f2fs-devel
On 2024/9/18 16:44, Qi Han wrote: creating a large files during checkpoint disable until it runs out of space and then delete it, then remount to enable checkpoint again, and then unmount the filesystem triggers the f2fs_bug_on as below: [ cut here ] kernel BUG at fs/f2fs

Re: [f2fs-dev] [PATCH v2] f2fs_io: add fdatasync

2024-10-07 Thread Chao Yu via Linux-f2fs-devel
On 2024/9/29 14:17, LongPing Wei wrote: Signed-off-by: LongPing Wei Reviewed-by: Chao Yu Thanks, ___ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Re: [f2fs-dev] [PATCH v2] f2fs: compress: fix inconsistent update of i_blocks in release_compress_blocks and reserve_compress_blocks

2024-10-07 Thread Chao Yu via Linux-f2fs-devel
On 2024/9/29 16:00, Qi Han wrote: After release a file and subsequently reserve it, the FSCK flag is set when the file is deleted, as shown in the following backtrace: F2FS-fs (dm-48): Inconsistent i_blocks, ino:401231, iblocks:1448, sectors:1472 fs_rec_info_write_type+0x58/0x274 f2fs_rec_info_w

Re: [f2fs-dev] [PATCH v3] f2fs: introduce device aliasing file

2024-10-07 Thread Chao Yu via Linux-f2fs-devel
On 2024/9/26 5:52, Daeho Jeong wrote: From: Daeho Jeong F2FS should understand how the device aliasing file works and support deleting the file after use. A device aliasing file can be created by mkfs.f2fs tool and it can map the whole device with an extrent, not using node blocks. The file spa

[f2fs-dev] [syzbot] [f2fs?] possible deadlock in f2fs_evict_inode

2024-10-07 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:3840cbe24cf0 sched: psi: fix bogus pressure spikes from ag.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=10bbab9f98 kernel config: https://syzkaller.appspot.com/x/.config?x=f95955e3f7b5790c das