All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jaegeuk Kim via Linux-f2fs-devel <linux-f2fs-devel@lists.sourceforge.net>
To: Hongbo Li <lihongbo22@huawei.com>
Cc: linux-fsdevel@vger.kernel.org, sandeen@redhat.com,
	linux-f2fs-devel@lists.sourceforge.net
Subject: Re: [f2fs-dev] [PATCH v4 0/7] f2fs: new mount API conversion
Date: Mon, 2 Jun 2025 16:05:34 +0000	[thread overview]
Message-ID: <aD3Lzsp-u6KuyGRt@google.com> (raw)
In-Reply-To: <20250602090224.485077-1-lihongbo22@huawei.com>

Thanks you, Hongbo.

I just applied this series to the dev-test branch as below, and will
keep testing with incoming patches together. Let's see. :)

https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git/log/?h=dev-test

On 06/02, Hongbo Li wrote:
> In this version, we have finished the issues pointed in v3.
> First, I'd like to express my sincere thanks to Jaegeuk and Chao
> for reviewing this patch series and providing corrections. I also
> appreciate Eric for rebasing the patches onto the latest branch to
> ensure forward compatibility.
> 
> The latest patch series has addressed all the issues mentioned in
> the previous set. For modified patches, I've re-added Signed-off-by
> tags (SOB) and uniformly removed all Reviewed-by tags.
> 
> v4:
>   - Change is_remount as bool type in patch 2.
>   - Remove the warning reported by Dan for patch 5.
>   - Enhance sanity check and fix some coding style suggested by
>     Jaegeuk in patch 5.
>   - Change the log info when compression option conflicts in patch 5.
>   - Fix the issues reported by code-reviewing in patch 5.
>   - Context modified in patch 7.
> 
> V3: https://lore.kernel.org/all/20250423170926.76007-1-sandeen@redhat.com/
> - Rebase onto git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git
>   dev branch
> - Fix up some 0day robot warnings
> 
> (Here is the origianl cover letter:)
> 
> Since many filesystems have done the new mount API conversion,
> we introduce the new mount API conversion in f2fs.
> 
> The series can be applied on top of the current mainline tree
> and the work is based on the patches from Lukas Czerner (has
> done this in ext4[1]). His patch give me a lot of ideas.
> 
> Here is a high level description of the patchset:
> 
> 1. Prepare the f2fs mount parameters required by the new mount
> API and use it for parsing, while still using the old API to
> get mount options string. Split the parameter parsing and
> validation of the parse_options helper into two separate
> helpers.
> 
>   f2fs: Add fs parameter specifications for mount options
>   f2fs: move the option parser into handle_mount_opt
> 
> 2. Remove the use of sb/sbi structure of f2fs from all the
> parsing code, because with the new mount API the parsing is
> going to be done before we even get the super block. In this
> part, we introduce f2fs_fs_context to hold the temporary
> options when parsing. For the simple options check, it has
> to be done during parsing by using f2fs_fs_context structure.
> For the check which needs sb/sbi, we do this during super
> block filling.
> 
>   f2fs: Allow sbi to be NULL in f2fs_printk
>   f2fs: Add f2fs_fs_context to record the mount options
>   f2fs: separate the options parsing and options checking
> 
> 3. Switch the f2fs to use the new mount API for mount and
> remount.
> 
>   f2fs: introduce fs_context_operation structure
>   f2fs: switch to the new mount api
> 
> [1] https://lore.kernel.org/all/20211021114508.21407-1-lczerner@redhat.com/
> 
> Hongbo Li (7):
>   f2fs: Add fs parameter specifications for mount options
>   f2fs: move the option parser into handle_mount_opt
>   f2fs: Allow sbi to be NULL in f2fs_printk
>   f2fs: Add f2fs_fs_context to record the mount options
>   f2fs: separate the options parsing and options checking
>   f2fs: introduce fs_context_operation structure
>   f2fs: switch to the new mount api
> 
>  fs/f2fs/super.c | 2108 +++++++++++++++++++++++++++--------------------
>  1 file changed, 1197 insertions(+), 911 deletions(-)
> 
> -- 
> 2.33.0


_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

WARNING: multiple messages have this Message-ID (diff)
From: Jaegeuk Kim <jaegeuk@kernel.org>
To: Hongbo Li <lihongbo22@huawei.com>
Cc: chao@kernel.org, linux-f2fs-devel@lists.sourceforge.net,
	sandeen@redhat.com, linux-fsdevel@vger.kernel.org
Subject: Re: [PATCH v4 0/7] f2fs: new mount API conversion
Date: Mon, 2 Jun 2025 16:05:34 +0000	[thread overview]
Message-ID: <aD3Lzsp-u6KuyGRt@google.com> (raw)
In-Reply-To: <20250602090224.485077-1-lihongbo22@huawei.com>

Thanks you, Hongbo.

I just applied this series to the dev-test branch as below, and will
keep testing with incoming patches together. Let's see. :)

https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git/log/?h=dev-test

On 06/02, Hongbo Li wrote:
> In this version, we have finished the issues pointed in v3.
> First, I'd like to express my sincere thanks to Jaegeuk and Chao
> for reviewing this patch series and providing corrections. I also
> appreciate Eric for rebasing the patches onto the latest branch to
> ensure forward compatibility.
> 
> The latest patch series has addressed all the issues mentioned in
> the previous set. For modified patches, I've re-added Signed-off-by
> tags (SOB) and uniformly removed all Reviewed-by tags.
> 
> v4:
>   - Change is_remount as bool type in patch 2.
>   - Remove the warning reported by Dan for patch 5.
>   - Enhance sanity check and fix some coding style suggested by
>     Jaegeuk in patch 5.
>   - Change the log info when compression option conflicts in patch 5.
>   - Fix the issues reported by code-reviewing in patch 5.
>   - Context modified in patch 7.
> 
> V3: https://lore.kernel.org/all/20250423170926.76007-1-sandeen@redhat.com/
> - Rebase onto git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git
>   dev branch
> - Fix up some 0day robot warnings
> 
> (Here is the origianl cover letter:)
> 
> Since many filesystems have done the new mount API conversion,
> we introduce the new mount API conversion in f2fs.
> 
> The series can be applied on top of the current mainline tree
> and the work is based on the patches from Lukas Czerner (has
> done this in ext4[1]). His patch give me a lot of ideas.
> 
> Here is a high level description of the patchset:
> 
> 1. Prepare the f2fs mount parameters required by the new mount
> API and use it for parsing, while still using the old API to
> get mount options string. Split the parameter parsing and
> validation of the parse_options helper into two separate
> helpers.
> 
>   f2fs: Add fs parameter specifications for mount options
>   f2fs: move the option parser into handle_mount_opt
> 
> 2. Remove the use of sb/sbi structure of f2fs from all the
> parsing code, because with the new mount API the parsing is
> going to be done before we even get the super block. In this
> part, we introduce f2fs_fs_context to hold the temporary
> options when parsing. For the simple options check, it has
> to be done during parsing by using f2fs_fs_context structure.
> For the check which needs sb/sbi, we do this during super
> block filling.
> 
>   f2fs: Allow sbi to be NULL in f2fs_printk
>   f2fs: Add f2fs_fs_context to record the mount options
>   f2fs: separate the options parsing and options checking
> 
> 3. Switch the f2fs to use the new mount API for mount and
> remount.
> 
>   f2fs: introduce fs_context_operation structure
>   f2fs: switch to the new mount api
> 
> [1] https://lore.kernel.org/all/20211021114508.21407-1-lczerner@redhat.com/
> 
> Hongbo Li (7):
>   f2fs: Add fs parameter specifications for mount options
>   f2fs: move the option parser into handle_mount_opt
>   f2fs: Allow sbi to be NULL in f2fs_printk
>   f2fs: Add f2fs_fs_context to record the mount options
>   f2fs: separate the options parsing and options checking
>   f2fs: introduce fs_context_operation structure
>   f2fs: switch to the new mount api
> 
>  fs/f2fs/super.c | 2108 +++++++++++++++++++++++++++--------------------
>  1 file changed, 1197 insertions(+), 911 deletions(-)
> 
> -- 
> 2.33.0

  parent reply	other threads:[~2025-06-02 16:05 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-02  9:02 [f2fs-dev] [PATCH v4 0/7] f2fs: new mount API conversion Hongbo Li via Linux-f2fs-devel
2025-06-02  9:02 ` Hongbo Li
2025-06-02  9:02 ` [f2fs-dev] [PATCH v4 1/7] f2fs: Add fs parameter specifications for mount options Hongbo Li via Linux-f2fs-devel
2025-06-02  9:02   ` Hongbo Li
2025-06-02  9:02 ` [f2fs-dev] [PATCH v4 2/7] f2fs: move the option parser into handle_mount_opt Hongbo Li via Linux-f2fs-devel
2025-06-02  9:02   ` Hongbo Li
2025-07-04  3:27   ` [f2fs-dev] " Chao Yu via Linux-f2fs-devel
2025-07-04  3:27     ` Chao Yu
2025-07-07 13:20     ` [f2fs-dev] " Hongbo Li via Linux-f2fs-devel
2025-07-07 13:20       ` Hongbo Li
2025-07-09 17:48       ` [f2fs-dev] " Jaegeuk Kim via Linux-f2fs-devel
2025-07-09 17:48         ` Jaegeuk Kim
2025-07-10  9:25         ` [f2fs-dev] " Hongbo Li via Linux-f2fs-devel
2025-07-10  9:25           ` Hongbo Li
2025-06-02  9:02 ` [f2fs-dev] [PATCH v4 3/7] f2fs: Allow sbi to be NULL in f2fs_printk Hongbo Li via Linux-f2fs-devel
2025-06-02  9:02   ` Hongbo Li
2025-06-02  9:02 ` [f2fs-dev] [PATCH v4 4/7] f2fs: Add f2fs_fs_context to record the mount options Hongbo Li via Linux-f2fs-devel
2025-06-02  9:02   ` Hongbo Li
2025-06-02  9:02 ` [f2fs-dev] [PATCH v4 5/7] f2fs: separate the options parsing and options checking Hongbo Li via Linux-f2fs-devel
2025-06-02  9:02   ` Hongbo Li
2025-07-07 12:17   ` [f2fs-dev] " Chao Yu via Linux-f2fs-devel
2025-07-07 12:17     ` Chao Yu
2025-07-08  2:56     ` [f2fs-dev] " Hongbo Li via Linux-f2fs-devel
2025-07-08  2:56       ` Hongbo Li
2025-07-10  6:54       ` [f2fs-dev] " Chao Yu via Linux-f2fs-devel
2025-07-10  6:54         ` Chao Yu
2025-06-02  9:02 ` [f2fs-dev] [PATCH v4 6/7] f2fs: introduce fs_context_operation structure Hongbo Li via Linux-f2fs-devel
2025-06-02  9:02   ` Hongbo Li
2025-06-02  9:02 ` [f2fs-dev] [PATCH v4 7/7] f2fs: switch to the new mount api Hongbo Li via Linux-f2fs-devel
2025-06-02  9:02   ` Hongbo Li
2025-06-02 16:05 ` Jaegeuk Kim via Linux-f2fs-devel [this message]
2025-06-02 16:05   ` [PATCH v4 0/7] f2fs: new mount API conversion Jaegeuk Kim
2025-06-03  1:09   ` [f2fs-dev] " Hongbo Li via Linux-f2fs-devel
2025-06-03  1:09     ` Hongbo Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aD3Lzsp-u6KuyGRt@google.com \
    --to=linux-f2fs-devel@lists.sourceforge.net \
    --cc=jaegeuk@kernel.org \
    --cc=lihongbo22@huawei.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=sandeen@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.