[f2fs-dev] [PATCH v2] f2fs-tools: fix to check loop device for non-root users

2024-02-28 Thread Huang Jianan via Linux-f2fs-devel
Currently mkfs/fsck gets the following error when executed by non-root users: Info: open /dev/loop0 failed errno:13 Error: Not available on mounted device! Let's fix it by reading the backing file from sysfs. Fixes: 14197d546b93 ("f2fs-tools: fix to check loop device") Signed-off-by: Hua

[f2fs-dev] [PATCH] f2fs-tools: fix to check loop device for non-root users

2024-02-28 Thread Huang Jianan via Linux-f2fs-devel
Currently mkfs/fsck gets the following error when executed by non-root users: Info: open /dev/loop0 failed errno:13 Error: Not available on mounted device! Let's fix it by reading the backing file from sysfs. Fixes: 14197d546b93 ("f2fs-tools: fix to check loop device") Signed-off-by: Hua

Re: [f2fs-dev] [PATCH 1/5] f2fs: check number of blocks in a current section

2024-02-28 Thread patchwork-bot+f2fs
Hello: This series was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Fri, 23 Feb 2024 12:55:31 -0800 you wrote: > In cfd66bb715fd ("f2fs: fix deadloop in foreground GC"), we needed to check > the number of blocks in a section instead of the segment. > > In addtion, let's check the entire

Re: [f2fs-dev] [PATCH 1/4] f2fs: delete f2fs_get_new_segment() declaration

2024-02-28 Thread patchwork-bot+f2fs
Hello: This series was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Thu, 22 Feb 2024 20:18:48 +0800 you wrote: > Commit 093749e296e2 ("f2fs: support age threshold based garbage > collection") added this declaration, but w/ definition, delete > it. > > Signed-off-by: Chao Yu > --- > fs

[f2fs-dev] Patchwork summary for: f2fs

2024-02-28 Thread patchwork-bot+f2fs
Hello: The following patches were marked "accepted", because they were applied to jaegeuk/f2fs.git (dev): Series: [f2fs-dev,1/5] f2fs: check number of blocks in a current section Submitter: Jaegeuk Kim Patchwork: https://patchwork.kernel.org/project/f2fs/list/?series=829303 Lore link: htt

Re: [f2fs-dev] [PATCH] f2fs: compress: fix to check compress flag w/ .i_sem lock

2024-02-28 Thread patchwork-bot+f2fs
Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Mon, 19 Feb 2024 10:28:44 +0800 you wrote: > It needs to check compress flag w/ .i_sem lock, otherwise, compressed > inode may be disabled after the check condition, it's not needed to > set compress option on non-compres

Re: [f2fs-dev] [bug report]WARNING: CPU: 22 PID: 44011 at fs/iomap/iter.c:51 iomap_iter+0x32b observed with blktests zbd/010

2024-02-28 Thread Yi Zhang
On Wed, Feb 28, 2024 at 7:09 PM Shinichiro Kawasaki wrote: > > On Feb 19, 2024 / 00:58, Yi Zhang wrote: > > Hello > > I reproduced this issue on the latest linux-block/for-next, please > > help check it and let me know if you need more info/test, thanks. > > [...] > > > [ 4381.278858]

[f2fs-dev] [PATCH] f2fs: fix to do sanity check in update_sit_entry

2024-02-28 Thread Zhiguo Niu
If GET_SEGNO return NULL_SEGNO for some unecpected case, update_sit_entry will access invalid memory address, cause system crash. It is better to do sanity check about GET_SEGNO just like update_segment_mtime & locate_dirty_segment. Also remove some redundant judgment code. Signed-off-by: Zhiguo

Re: [f2fs-dev] [bug report]WARNING: CPU: 22 PID: 44011 at fs/iomap/iter.c:51 iomap_iter+0x32b observed with blktests zbd/010

2024-02-28 Thread Shinichiro Kawasaki via Linux-f2fs-devel
On Feb 19, 2024 / 00:58, Yi Zhang wrote: > Hello > I reproduced this issue on the latest linux-block/for-next, please > help check it and let me know if you need more info/test, thanks. [...] > [ 4381.278858] [ cut here ] > [ 4381.283484] WARNING: CPU: 22 PID: 44011 at fs/