linux-f2fs-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
From: Eric Sandeen via Linux-f2fs-devel <linux-f2fs-devel@lists.sourceforge.net>
To: Jaegeuk Kim <jaegeuk@kernel.org>
Cc: linux-fsdevel@vger.kernel.org, lihongbo22@huawei.com,
	linux-f2fs-devel@lists.sourceforge.net
Subject: Re: [f2fs-dev] [PATCH V3 0/7] f2fs: new mount API conversion
Date: Tue, 6 May 2025 21:56:16 -0500	[thread overview]
Message-ID: <380f3d52-1e48-4df0-a576-300278d98356@redhat.com> (raw)
In-Reply-To: <aBq2GrqV9hw5cTyJ@google.com>

On 5/6/25 8:23 PM, Jaegeuk Kim wrote:
> On 05/06, Eric Sandeen wrote:
>> On 5/6/25 7:35 PM, Jaegeuk Kim wrote:
>>> Hmm, I had to drop the series at the moment, since it seems needing more
>>> work to deal with default_options(), which breaks my device setup.
>>> For example, set_opt(sbi, READ_EXTENT_CACHE) in default_options is not propagating
>>> to the below logics. In this case, do we need ctx_set_opt() if user doesn't set?
>>
>> Hm, can you describe the test or environment that fails for you?
>> (I'm afraid that I may not have all the right hardware to test everything,
>> so may have missed some cases)
>>
>> However, from a quick test here, a loopback mount of an f2fs image file does
>> set extent_cache properly, so maybe I don't understand the problem:
>>
>> # mount -o loop f2fsfile.img mnt
>> # mount | grep -o extent_cache
>> extent_cache
>> #
>>
>> I'm happy to try to look into it though. Maybe you can put the patches
>> back on a temporary branch for me to pull and test?
> 
> Thank you! I pushed here the last version.
> 
> https://github.com/jaegeuk/f2fs/commits/mount/
> 
> What about:
> # mount -o loop,noextent_cache f2fsfile.img mnt
> 
> In this case, 1) ctx_clear_opt(), 2) set_opt() in default_options,
> 3) clear_opt since mask is set?

Not sure what I'm missing, it seems to work properly here but I haven't
pulled your (slightly) modified patches yet:

# mount -o loop,extent_cache f2fsfile.img mnt
# mount | grep -wo extent_cache
extent_cache
# umount mnt

# mount -o loop,noextent_cache f2fsfile.img mnt
# mount | grep -wo noextent_cache
noextent_cache
#

this looks right?

I'll check your tree tomorrow, though it doesn't sound like you made many
changes.

> And, device_aliasing check is still failing, since it does not understand
> test_opt(). Probably it's the only case?

I think you can blame me, not Hongbo on that one ;) - I will look into it.

-Eric

>>
>> Thanks,
>> - Eric
>>
> 



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

  reply	other threads:[~2025-05-07  2:56 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-23 17:08 [f2fs-dev] [PATCH V3 0/7] f2fs: new mount API conversion Eric Sandeen via Linux-f2fs-devel
2025-04-23 17:08 ` [f2fs-dev] [PATCH V3 1/7] f2fs: Add fs parameter specifications for mount options Eric Sandeen via Linux-f2fs-devel
2025-05-08  2:40   ` Hongbo Li via Linux-f2fs-devel
2025-05-08  5:24   ` Chao Yu via Linux-f2fs-devel
2025-07-11 16:30   ` patchwork-bot+f2fs--- via Linux-f2fs-devel
2025-04-23 17:08 ` [f2fs-dev] [PATCH V3 2/7] f2fs: move the option parser into handle_mount_opt Eric Sandeen via Linux-f2fs-devel
2025-05-06 20:24   ` Jaegeuk Kim via Linux-f2fs-devel
2025-05-08  5:30   ` Chao Yu via Linux-f2fs-devel
2025-04-23 17:08 ` [f2fs-dev] [PATCH V3 3/7] f2fs: Allow sbi to be NULL in f2fs_printk Eric Sandeen via Linux-f2fs-devel
2025-05-08  5:30   ` Chao Yu via Linux-f2fs-devel
2025-04-23 17:08 ` [f2fs-dev] [PATCH V3 4/7] f2fs: Add f2fs_fs_context to record the mount options Eric Sandeen via Linux-f2fs-devel
2025-05-08  6:34   ` Chao Yu via Linux-f2fs-devel
2025-04-23 17:08 ` [f2fs-dev] [PATCH V3 5/7] f2fs: separate the options parsing and options checking Eric Sandeen via Linux-f2fs-devel
2025-05-06 22:01   ` Jaegeuk Kim via Linux-f2fs-devel
2025-05-06 22:52     ` Eric Sandeen via Linux-f2fs-devel
2025-05-06 23:30       ` Jaegeuk Kim via Linux-f2fs-devel
2025-05-08  8:13   ` Chao Yu via Linux-f2fs-devel
2025-05-08 15:52     ` Eric Sandeen via Linux-f2fs-devel
2025-05-08 22:11       ` Eric Sandeen via Linux-f2fs-devel
2025-05-12  3:59         ` Chao Yu via Linux-f2fs-devel
2025-05-12  3:32       ` Chao Yu via Linux-f2fs-devel
2025-05-14  1:10         ` Hongbo Li via Linux-f2fs-devel
2025-05-14  1:03       ` Hongbo Li via Linux-f2fs-devel
2025-05-13  2:15   ` Jaegeuk Kim via Linux-f2fs-devel
2025-04-23 17:08 ` [f2fs-dev] [PATCH V3 6/7] f2fs: introduce fs_context_operation structure Eric Sandeen via Linux-f2fs-devel
2025-05-08  8:14   ` Chao Yu via Linux-f2fs-devel
2025-04-23 17:08 ` [f2fs-dev] [PATCH V3 7/7] f2fs: switch to the new mount api Eric Sandeen via Linux-f2fs-devel
2025-05-08  9:19   ` Chao Yu via Linux-f2fs-devel
2025-05-08 15:59     ` Eric Sandeen via Linux-f2fs-devel
2025-05-12  3:43       ` Chao Yu via Linux-f2fs-devel
2025-05-13  2:19         ` Eric Sandeen via Linux-f2fs-devel
2025-05-13  2:48           ` Chao Yu via Linux-f2fs-devel
2025-05-13 15:36             ` Jaegeuk Kim via Linux-f2fs-devel
2025-05-13  8:59   ` Chao Yu via Linux-f2fs-devel
2025-05-14  2:33     ` Hongbo Li via Linux-f2fs-devel
2025-05-14  4:03       ` Chao Yu via Linux-f2fs-devel
2025-05-14  6:15         ` Hongbo Li via Linux-f2fs-devel
2025-05-14 15:30           ` Jaegeuk Kim via Linux-f2fs-devel
2025-05-14 15:46             ` Eric Sandeen via Linux-f2fs-devel
2025-05-15  1:17             ` Hongbo Li via Linux-f2fs-devel
2025-05-16  2:01             ` Hongbo Li via Linux-f2fs-devel
2025-05-16 17:35               ` Jaegeuk Kim via Linux-f2fs-devel
2025-05-19  2:38                 ` Hongbo Li via Linux-f2fs-devel
2025-05-13 16:11   ` Jaegeuk Kim via Linux-f2fs-devel
2025-05-06  2:18 ` [f2fs-dev] [PATCH V3 0/7] f2fs: new mount API conversion Eric Sandeen via Linux-f2fs-devel
2025-05-06 16:02   ` Jaegeuk Kim via Linux-f2fs-devel
2025-05-06 22:53     ` Eric Sandeen via Linux-f2fs-devel
2025-05-06 23:55 ` Ian Kent
2025-05-07  0:35 ` Jaegeuk Kim via Linux-f2fs-devel
2025-05-07  0:51   ` Eric Sandeen via Linux-f2fs-devel
2025-05-07  1:23     ` Jaegeuk Kim via Linux-f2fs-devel
2025-05-07  2:56       ` Eric Sandeen via Linux-f2fs-devel [this message]
2025-05-07  3:45         ` Eric Sandeen via Linux-f2fs-devel
2025-05-07 14:46           ` Jaegeuk Kim via Linux-f2fs-devel
2025-05-07 17:11             ` Eric Sandeen via Linux-f2fs-devel
2025-05-07 19:48               ` Jaegeuk Kim via Linux-f2fs-devel
2025-05-07 20:19                 ` Eric Sandeen via Linux-f2fs-devel
2025-05-07 20:28                   ` Jaegeuk Kim via Linux-f2fs-devel
2025-05-07 20:46                     ` Eric Sandeen via Linux-f2fs-devel
2025-05-07 21:36                       ` Jaegeuk Kim via Linux-f2fs-devel

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=380f3d52-1e48-4df0-a576-300278d98356@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).