Re: [f2fs-dev] [PATCH V2] f2fs: fix to check return value of f2fs_recover_xattr_data
Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Tue, 12 Dec 2023 10:15:27 +0800 you wrote: > Should check return value of f2fs_recover_xattr_data in > __f2fs_setxattr rather than doing invalid retry if error happen. > > Also just do set_page_dirty in f2fs_recover_xattr_data when > page is changed really. > > Fixes: 50a472bbc79f ("f2fs: do not return EFSCORRUPTED, but try to run online > repair") > Signed-off-by: Zhiguo Niu > > [...] Here is the summary with links: - [f2fs-dev,V2] f2fs: fix to check return value of f2fs_recover_xattr_data https://git.kernel.org/jaegeuk/f2fs/c/86d7d57a3f09 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html ___ 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: Use wait_event_freezable_timeout() for freezable kthread
Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Thu, 21 Dec 2023 14:49:16 +0800 you wrote: > A freezable kernel thread can enter frozen state during freezing by > either calling try_to_freeze() or using wait_event_freezable() and its > variants. So for the following snippet of code in a kernel thread loop: > wait_event_interruptible_timeout(); > try_to_freeze(); > > We can change it to a simple wait_event_freezable_timeout() and then > eliminate the function calls to try_to_freeze() and freezing(). > > [...] Here is the summary with links: - [f2fs-dev,v2] f2fs: Use wait_event_freezable_timeout() for freezable kthread https://git.kernel.org/jaegeuk/f2fs/c/94e7eb42414b You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html ___ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
[f2fs-dev] Patchwork summary for: f2fs
Hello: The following patches were marked "accepted", because they were applied to jaegeuk/f2fs.git (dev): Series: [f2fs-dev,1/2] f2fs: Constrain the modification range of dir_level in the sysfs Submitter: Yongpeng Yang Committer: Jaegeuk Kim Patchwork: https://patchwork.kernel.org/project/f2fs/list/?series=812369 Lore link: https://lore.kernel.org/r/20231222032901.3861649-1-yangyongpe...@oppo.com Patches: [f2fs-dev,1/2] f2fs: Constrain the modification range of dir_level in the sysfs [f2fs-dev,2/2] f2fs: Add error handling for negative returns from do_garbage_collect Patch: [f2fs-dev,v2] f2fs: Use wait_event_freezable_timeout() for freezable kthread Submitter: Kevin Hao Committer: Jaegeuk Kim Patchwork: https://patchwork.kernel.org/project/f2fs/list/?series=812034 Lore link: https://lore.kernel.org/r/20231221064916.1930095-1-haoke...@gmail.com Patch: [f2fs-dev,V5] f2fs: show more discard status by sysfs Submitter: Zhiguo Niu Committer: Jaegeuk Kim Patchwork: https://patchwork.kernel.org/project/f2fs/list/?series=811630 Lore link: https://lore.kernel.org/r/1703037598-4359-1-git-send-email-zhiguo@unisoc.com Patch: [f2fs-dev,V2] f2fs: fix to check return value of f2fs_recover_xattr_data Submitter: Zhiguo Niu Committer: Jaegeuk Kim Patchwork: https://patchwork.kernel.org/project/f2fs/list/?series=809000 Lore link: https://lore.kernel.org/r/1702347327-24181-1-git-send-email-zhiguo@unisoc.com Total patches: 5 -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html ___ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
Re: [f2fs-dev] [PATCH V5] f2fs: show more discard status by sysfs
Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Wed, 20 Dec 2023 09:59:58 +0800 you wrote: > The current pending_discard attr just only shows the discard_cmd_cnt > information. More discard status can be shown so that we can check > them through sysfs when needed. > > Signed-off-by: Zhiguo Niu > --- > changes of v2: Improve the patch according to Chao's suggestions. > changes of v3: Add a blank line for easy reading. > changes of v4: Split to three entries > changes of v5: move these entries from disk/xxx to disk/stat/xxx. > > [...] Here is the summary with links: - [f2fs-dev,V5] f2fs: show more discard status by sysfs https://git.kernel.org/jaegeuk/f2fs/c/c3c2d45b9050 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html ___ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
Re: [f2fs-dev] [PATCH 1/2] f2fs: Constrain the modification range of dir_level in the sysfs
Hello: This series was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Fri, 22 Dec 2023 11:29:00 +0800 you wrote: > The {struct f2fs_sb_info}->dir_level can be modified through the sysfs > interface, but its value range is not limited. If the value exceeds > MAX_DIR_HASH_DEPTH and the mount options include "noinline_dentry", > the following error will occur: > [root@fedora ~]# mount -o noinline_dentry /dev/sdb /mnt/sdb/ > [root@fedora ~]# echo 128 > /sys/fs/f2fs/sdb/dir_level > [root@fedora ~]# cd /mnt/sdb/ > [root@fedora sdb]# mkdir test > [root@fedora sdb]# cd test/ > [root@fedora test]# mkdir test > mkdir: cannot create directory 'test': Argument list too long > > [...] Here is the summary with links: - [f2fs-dev,1/2] f2fs: Constrain the modification range of dir_level in the sysfs https://git.kernel.org/jaegeuk/f2fs/c/0145eed6ed32 - [f2fs-dev,2/2] f2fs: Add error handling for negative returns from do_garbage_collect https://git.kernel.org/jaegeuk/f2fs/c/19ec1d31fa56 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html ___ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel