* Re: [GIT PULL for v6.7] autofs updates
[not found] <20231027-vfs-autofs-018bbf11ed67@brauner>
@ 2023-10-29 7:54 ` Ian Kent
2023-10-30 10:24 ` Christian Brauner
2023-10-30 14:28 ` Bill O'Donnell
2023-10-30 20:05 ` pr-tracker-bot
1 sibling, 2 replies; 9+ messages in thread
From: Ian Kent @ 2023-10-29 7:54 UTC (permalink / raw)
To: Christian Brauner, Linus Torvalds
Cc: linux-fsdevel, linux-kernel, Bill O'Donnell
On 27/10/23 22:33, Christian Brauner wrote:
> Hey Linus,
>
> /* Summary */
> This ports autofs to the new mount api. The patchset has existed for
> quite a while but never made it upstream. Ian picked it back up.
>
> This also fixes a bug where fs_param_is_fd() was passed a garbage
> param->dirfd but it expected it to be set to the fd that was used to set
> param->file otherwise result->uint_32 contains nonsense. So make sure
> it's set.
>
> One less filesystem using the old mount api. We're getting there, albeit
> rather slow. The last remaining major filesystem that hasn't converted
> is btrfs. Patches exist - I even wrote them - but so far they haven't
> made it upstream.
Yes, looks like about 39 still to be converted.
Just for information, excluding btrfs, what would you like to see as the
priority for conversion (in case me or any of my colleagues get a chance
to spend a bit more time on it)?
Ian
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [GIT PULL for v6.7] autofs updates
2023-10-29 7:54 ` [GIT PULL for v6.7] autofs updates Ian Kent
@ 2023-10-30 10:24 ` Christian Brauner
2023-10-31 2:04 ` Ian Kent
2023-10-30 14:28 ` Bill O'Donnell
1 sibling, 1 reply; 9+ messages in thread
From: Christian Brauner @ 2023-10-30 10:24 UTC (permalink / raw)
To: Ian Kent; +Cc: Linus Torvalds, linux-fsdevel, linux-kernel, Bill O'Donnell
On Sun, Oct 29, 2023 at 03:54:52PM +0800, Ian Kent wrote:
> On 27/10/23 22:33, Christian Brauner wrote:
> > Hey Linus,
> >
> > /* Summary */
> > This ports autofs to the new mount api. The patchset has existed for
> > quite a while but never made it upstream. Ian picked it back up.
> >
> > This also fixes a bug where fs_param_is_fd() was passed a garbage
> > param->dirfd but it expected it to be set to the fd that was used to set
> > param->file otherwise result->uint_32 contains nonsense. So make sure
> > it's set.
> >
> > One less filesystem using the old mount api. We're getting there, albeit
> > rather slow. The last remaining major filesystem that hasn't converted
> > is btrfs. Patches exist - I even wrote them - but so far they haven't
> > made it upstream.
>
> Yes, looks like about 39 still to be converted.
>
>
> Just for information, excluding btrfs, what would you like to see as the
>
> priority for conversion (in case me or any of my colleagues get a chance
>
> to spend a bit more time on it)?
I think one way to prioritize them is by how likely they are to have
(more than a couple) active users.
So recently I've done overlayfs because aside from btrfs that was
probably one of the really actively used filesystems that hadn't yet
been converted. And that did surface some regression
So 9p, fat, devpts, f2fs, zonefs, ext2 are pretty obvious targets.
Judging from experience, the more mount options a filesystem has the
bigger the conversion patch will usually be.
Another way is by function. For example, we expose mount_bdev() which is
basically the legacy version of get_tree_bdev(). And they sort of are
almost copies of each other. So converting all callers to the new mount
api means we can get rid of mount_bdev(). But that's like 25 of the
remaining 39.
But in the end any filesystem that is converted is great.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [GIT PULL for v6.7] autofs updates
2023-10-29 7:54 ` [GIT PULL for v6.7] autofs updates Ian Kent
2023-10-30 10:24 ` Christian Brauner
@ 2023-10-30 14:28 ` Bill O'Donnell
2023-10-31 2:12 ` Ian Kent
1 sibling, 1 reply; 9+ messages in thread
From: Bill O'Donnell @ 2023-10-30 14:28 UTC (permalink / raw)
To: Ian Kent; +Cc: Christian Brauner, Linus Torvalds, linux-fsdevel, linux-kernel
On Sun, Oct 29, 2023 at 03:54:52PM +0800, Ian Kent wrote:
> On 27/10/23 22:33, Christian Brauner wrote:
> > Hey Linus,
> >
> > /* Summary */
> > This ports autofs to the new mount api. The patchset has existed for
> > quite a while but never made it upstream. Ian picked it back up.
> >
> > This also fixes a bug where fs_param_is_fd() was passed a garbage
> > param->dirfd but it expected it to be set to the fd that was used to set
> > param->file otherwise result->uint_32 contains nonsense. So make sure
> > it's set.
> >
> > One less filesystem using the old mount api. We're getting there, albeit
> > rather slow. The last remaining major filesystem that hasn't converted
> > is btrfs. Patches exist - I even wrote them - but so far they haven't
> > made it upstream.
>
> Yes, looks like about 39 still to be converted.
>
>
> Just for information, excluding btrfs, what would you like to see as the
>
> priority for conversion (in case me or any of my colleagues get a chance
>
> to spend a bit more time on it)?
I'm just starting to have a look at zonefs as a candidate.
-Bill
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [GIT PULL for v6.7] autofs updates
[not found] <20231027-vfs-autofs-018bbf11ed67@brauner>
2023-10-29 7:54 ` [GIT PULL for v6.7] autofs updates Ian Kent
@ 2023-10-30 20:05 ` pr-tracker-bot
1 sibling, 0 replies; 9+ messages in thread
From: pr-tracker-bot @ 2023-10-30 20:05 UTC (permalink / raw)
To: Christian Brauner
Cc: Linus Torvalds, Christian Brauner, linux-fsdevel, linux-kernel
The pull request you sent on Fri, 27 Oct 2023 16:33:41 +0200:
> git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.7.autofs
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/0d63d8b2294b228147bf58def506dde35e57daef
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [GIT PULL for v6.7] autofs updates
2023-10-30 10:24 ` Christian Brauner
@ 2023-10-31 2:04 ` Ian Kent
0 siblings, 0 replies; 9+ messages in thread
From: Ian Kent @ 2023-10-31 2:04 UTC (permalink / raw)
To: Christian Brauner
Cc: Linus Torvalds, linux-fsdevel, linux-kernel, Bill O'Donnell
On 30/10/23 18:24, Christian Brauner wrote:
> On Sun, Oct 29, 2023 at 03:54:52PM +0800, Ian Kent wrote:
>> On 27/10/23 22:33, Christian Brauner wrote:
>>> Hey Linus,
>>>
>>> /* Summary */
>>> This ports autofs to the new mount api. The patchset has existed for
>>> quite a while but never made it upstream. Ian picked it back up.
>>>
>>> This also fixes a bug where fs_param_is_fd() was passed a garbage
>>> param->dirfd but it expected it to be set to the fd that was used to set
>>> param->file otherwise result->uint_32 contains nonsense. So make sure
>>> it's set.
>>>
>>> One less filesystem using the old mount api. We're getting there, albeit
>>> rather slow. The last remaining major filesystem that hasn't converted
>>> is btrfs. Patches exist - I even wrote them - but so far they haven't
>>> made it upstream.
>> Yes, looks like about 39 still to be converted.
>>
>>
>> Just for information, excluding btrfs, what would you like to see as the
>>
>> priority for conversion (in case me or any of my colleagues get a chance
>>
>> to spend a bit more time on it)?
> I think one way to prioritize them is by how likely they are to have
> (more than a couple) active users.
>
> So recently I've done overlayfs because aside from btrfs that was
> probably one of the really actively used filesystems that hadn't yet
> been converted. And that did surface some regression
>
> So 9p, fat, devpts, f2fs, zonefs, ext2 are pretty obvious targets.
> Judging from experience, the more mount options a filesystem has the
> bigger the conversion patch will usually be.
>
> Another way is by function. For example, we expose mount_bdev() which is
> basically the legacy version of get_tree_bdev(). And they sort of are
> almost copies of each other. So converting all callers to the new mount
> api means we can get rid of mount_bdev(). But that's like 25 of the
> remaining 39.
>
> But in the end any filesystem that is converted is great.
Thanks Christian, I know Bill was considering spending a bit of time on
this and I may have some cycles myself in the not too distant future. But
things change all too quickly so we'll need to see how it goes, ;)
Ian
I'll
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [GIT PULL for v6.7] autofs updates
2023-10-30 14:28 ` Bill O'Donnell
@ 2023-10-31 2:12 ` Ian Kent
2023-11-06 6:22 ` Ian Kent
2023-11-06 14:40 ` David Howells
0 siblings, 2 replies; 9+ messages in thread
From: Ian Kent @ 2023-10-31 2:12 UTC (permalink / raw)
To: Bill O'Donnell
Cc: Christian Brauner, Linus Torvalds, linux-fsdevel, linux-kernel
On 30/10/23 22:28, Bill O'Donnell wrote:
> On Sun, Oct 29, 2023 at 03:54:52PM +0800, Ian Kent wrote:
>> On 27/10/23 22:33, Christian Brauner wrote:
>>> Hey Linus,
>>>
>>> /* Summary */
>>> This ports autofs to the new mount api. The patchset has existed for
>>> quite a while but never made it upstream. Ian picked it back up.
>>>
>>> This also fixes a bug where fs_param_is_fd() was passed a garbage
>>> param->dirfd but it expected it to be set to the fd that was used to set
>>> param->file otherwise result->uint_32 contains nonsense. So make sure
>>> it's set.
>>>
>>> One less filesystem using the old mount api. We're getting there, albeit
>>> rather slow. The last remaining major filesystem that hasn't converted
>>> is btrfs. Patches exist - I even wrote them - but so far they haven't
>>> made it upstream.
>> Yes, looks like about 39 still to be converted.
>>
>>
>> Just for information, excluding btrfs, what would you like to see as the
>>
>> priority for conversion (in case me or any of my colleagues get a chance
>>
>> to spend a bit more time on it)?
> I'm just starting to have a look at zonefs as a candidate.
> -Bill
>
And devpts looks fairly straight forward and is used a lot ... I'll see if
I can get time to get that one done, ;)
Ian
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [GIT PULL for v6.7] autofs updates
2023-10-31 2:12 ` Ian Kent
@ 2023-11-06 6:22 ` Ian Kent
2023-11-06 14:50 ` Christian Brauner
2023-11-06 14:40 ` David Howells
1 sibling, 1 reply; 9+ messages in thread
From: Ian Kent @ 2023-11-06 6:22 UTC (permalink / raw)
To: Christian Brauner, David Howells
Cc: Linus Torvalds, linux-fsdevel, linux-kernel, Bill O'Donnell
On 31/10/23 10:12, Ian Kent wrote:
> On 30/10/23 22:28, Bill O'Donnell wrote:
>> On Sun, Oct 29, 2023 at 03:54:52PM +0800, Ian Kent wrote:
>>> On 27/10/23 22:33, Christian Brauner wrote:
>>>> Hey Linus,
>>>>
>>>> /* Summary */
>>>> This ports autofs to the new mount api. The patchset has existed for
>>>> quite a while but never made it upstream. Ian picked it back up.
>>>>
>>>> This also fixes a bug where fs_param_is_fd() was passed a garbage
>>>> param->dirfd but it expected it to be set to the fd that was used
>>>> to set
>>>> param->file otherwise result->uint_32 contains nonsense. So make sure
>>>> it's set.
>>>>
>>>> One less filesystem using the old mount api. We're getting there,
>>>> albeit
>>>> rather slow. The last remaining major filesystem that hasn't converted
>>>> is btrfs. Patches exist - I even wrote them - but so far they haven't
>>>> made it upstream.
>>> Yes, looks like about 39 still to be converted.
>>>
>>>
>>> Just for information, excluding btrfs, what would you like to see as
>>> the
>>>
>>> priority for conversion (in case me or any of my colleagues get a
>>> chance
>>>
>>> to spend a bit more time on it)?
>> I'm just starting to have a look at zonefs as a candidate.
>> -Bill
>>
> And devpts looks fairly straight forward and is used a lot ... I'll
> see if
Christian, David's original conversion patch for devpts looks like it's
still relevant, it also looks fairly small to the point that I'm wondering
if it's worth breaking it down into smaller patches.
Would you be ok with me just doing a straight patch apply, detailed review
and some testing before posting it?
David, are you ok with me resurrecting your conversion patch and posting it
on your behalf?
Ian
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [GIT PULL for v6.7] autofs updates
2023-10-31 2:12 ` Ian Kent
2023-11-06 6:22 ` Ian Kent
@ 2023-11-06 14:40 ` David Howells
1 sibling, 0 replies; 9+ messages in thread
From: David Howells @ 2023-11-06 14:40 UTC (permalink / raw)
To: Ian Kent
Cc: dhowells, Christian Brauner, Linus Torvalds, linux-fsdevel,
linux-kernel, Bill O'Donnell
Ian Kent <raven@themaw.net> wrote:
> David, are you ok with me resurrecting your conversion patch and posting it
> on your behalf?
Yes, that's fine.
David
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [GIT PULL for v6.7] autofs updates
2023-11-06 6:22 ` Ian Kent
@ 2023-11-06 14:50 ` Christian Brauner
0 siblings, 0 replies; 9+ messages in thread
From: Christian Brauner @ 2023-11-06 14:50 UTC (permalink / raw)
To: Ian Kent
Cc: David Howells, Linus Torvalds, linux-fsdevel, linux-kernel,
Bill O'Donnell
> Christian, David's original conversion patch for devpts looks like it's
>
> still relevant, it also looks fairly small to the point that I'm wondering
>
> if it's worth breaking it down into smaller patches.
I vaguely remember that patch and no, for simple fses like devpts
breaking this into smaller chunks is probably not worth it.
These conversions patches often aren't easy to split nicely anyway.
> Would you be ok with me just doing a straight patch apply, detailed review
>
> and some testing before posting it?
Sure.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2023-11-06 14:51 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20231027-vfs-autofs-018bbf11ed67@brauner>
2023-10-29 7:54 ` [GIT PULL for v6.7] autofs updates Ian Kent
2023-10-30 10:24 ` Christian Brauner
2023-10-31 2:04 ` Ian Kent
2023-10-30 14:28 ` Bill O'Donnell
2023-10-31 2:12 ` Ian Kent
2023-11-06 6:22 ` Ian Kent
2023-11-06 14:50 ` Christian Brauner
2023-11-06 14:40 ` David Howells
2023-10-30 20:05 ` pr-tracker-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®