* [git pull] bcachefs locking fix
@ 2024-01-12 7:29 Al Viro
2024-01-12 15:22 ` Kent Overstreet
2024-01-13 2:09 ` pr-tracker-bot
0 siblings, 2 replies; 5+ messages in thread
From: Al Viro @ 2024-01-12 7:29 UTC (permalink / raw)
To: Linus Torvalds; +Cc: Kent Overstreet, linux-fsdevel
Looks like Kent hadn't merged that into his branch for some reason;
IIRC, he'd been OK with the fix and had no objections to that stuff
sitting in -next, so...
Kent, if you *do* have objections, please make them now.
The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86:
Linux 6.7-rc1 (2023-11-12 16:19:07 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git tags/pull-bcachefs-fix
for you to fetch changes up to bbe6a7c899e7f265c5a6d01a178336a405e98ed6:
bch2_ioctl_subvolume_destroy(): fix locking (2023-11-15 22:47:58 -0500)
----------------------------------------------------------------
fix buggered locking in bch2_ioctl_subvolume_destroy()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
----------------------------------------------------------------
Al Viro (2):
new helper: user_path_locked_at()
bch2_ioctl_subvolume_destroy(): fix locking
fs/bcachefs/fs-ioctl.c | 31 +++++++++++++++++--------------
fs/namei.c | 16 +++++++++++++---
include/linux/namei.h | 1 +
3 files changed, 31 insertions(+), 17 deletions(-)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [git pull] bcachefs locking fix
2024-01-12 7:29 [git pull] bcachefs locking fix Al Viro
@ 2024-01-12 15:22 ` Kent Overstreet
2024-01-12 19:25 ` Al Viro
2024-01-13 2:09 ` pr-tracker-bot
1 sibling, 1 reply; 5+ messages in thread
From: Kent Overstreet @ 2024-01-12 15:22 UTC (permalink / raw)
To: Al Viro; +Cc: Linus Torvalds, linux-fsdevel
On Fri, Jan 12, 2024 at 07:29:54AM +0000, Al Viro wrote:
> Looks like Kent hadn't merged that into his branch for some reason;
> IIRC, he'd been OK with the fix and had no objections to that stuff
> sitting in -next, so...
I did, but then you said something about duplicate commit IDs? I thought
that meant they were going through your tree.
> Kent, if you *do* have objections, please make them now.
>
> The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86:
>
> Linux 6.7-rc1 (2023-11-12 16:19:07 -0800)
>
> are available in the Git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git tags/pull-bcachefs-fix
>
> for you to fetch changes up to bbe6a7c899e7f265c5a6d01a178336a405e98ed6:
>
> bch2_ioctl_subvolume_destroy(): fix locking (2023-11-15 22:47:58 -0500)
>
> ----------------------------------------------------------------
> fix buggered locking in bch2_ioctl_subvolume_destroy()
>
> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Kent Overstreet <kent.overstreet@linux.dev>
> ----------------------------------------------------------------
> Al Viro (2):
> new helper: user_path_locked_at()
> bch2_ioctl_subvolume_destroy(): fix locking
>
> fs/bcachefs/fs-ioctl.c | 31 +++++++++++++++++--------------
> fs/namei.c | 16 +++++++++++++---
> include/linux/namei.h | 1 +
> 3 files changed, 31 insertions(+), 17 deletions(-)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [git pull] bcachefs locking fix
2024-01-12 15:22 ` Kent Overstreet
@ 2024-01-12 19:25 ` Al Viro
2024-01-13 2:20 ` Kent Overstreet
0 siblings, 1 reply; 5+ messages in thread
From: Al Viro @ 2024-01-12 19:25 UTC (permalink / raw)
To: Kent Overstreet; +Cc: Linus Torvalds, linux-fsdevel
On Fri, Jan 12, 2024 at 10:22:39AM -0500, Kent Overstreet wrote:
> On Fri, Jan 12, 2024 at 07:29:54AM +0000, Al Viro wrote:
> > Looks like Kent hadn't merged that into his branch for some reason;
> > IIRC, he'd been OK with the fix and had no objections to that stuff
> > sitting in -next, so...
>
> I did, but then you said something about duplicate commit IDs? I thought
> that meant they were going through your tree.
Huh? Same patch applied in two trees => problem. A tree pulling a branch
from another => perfectly fine, as long as the branch pulled is not rebased
in the first tree. So something like "I have a patch your tree needs,
but I might end up doing more stuff on top of it for my own work" can be
solved by creating a never-rebased branch in my tree, with just the stuff
that might need to be shared and telling you to pull from it. After that each
of us can ignore the other tree. No conflicts in -next, no worries about
the order of pull requests to mainline...
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [git pull] bcachefs locking fix
2024-01-12 7:29 [git pull] bcachefs locking fix Al Viro
2024-01-12 15:22 ` Kent Overstreet
@ 2024-01-13 2:09 ` pr-tracker-bot
1 sibling, 0 replies; 5+ messages in thread
From: pr-tracker-bot @ 2024-01-13 2:09 UTC (permalink / raw)
To: Al Viro; +Cc: Linus Torvalds, Kent Overstreet, linux-fsdevel
The pull request you sent on Fri, 12 Jan 2024 07:29:54 +0000:
> git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git tags/pull-bcachefs-fix
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/f16ab99c2eba233bc97b9f9cc374f7a371fcc363
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [git pull] bcachefs locking fix
2024-01-12 19:25 ` Al Viro
@ 2024-01-13 2:20 ` Kent Overstreet
0 siblings, 0 replies; 5+ messages in thread
From: Kent Overstreet @ 2024-01-13 2:20 UTC (permalink / raw)
To: Al Viro; +Cc: Linus Torvalds, linux-fsdevel
On Fri, Jan 12, 2024 at 07:25:40PM +0000, Al Viro wrote:
> On Fri, Jan 12, 2024 at 10:22:39AM -0500, Kent Overstreet wrote:
> > On Fri, Jan 12, 2024 at 07:29:54AM +0000, Al Viro wrote:
> > > Looks like Kent hadn't merged that into his branch for some reason;
> > > IIRC, he'd been OK with the fix and had no objections to that stuff
> > > sitting in -next, so...
> >
> > I did, but then you said something about duplicate commit IDs? I thought
> > that meant they were going through your tree.
>
> Huh? Same patch applied in two trees => problem. A tree pulling a branch
> from another => perfectly fine, as long as the branch pulled is not rebased
> in the first tree. So something like "I have a patch your tree needs,
> but I might end up doing more stuff on top of it for my own work" can be
> solved by creating a never-rebased branch in my tree, with just the stuff
> that might need to be shared and telling you to pull from it. After that each
> of us can ignore the other tree. No conflicts in -next, no worries about
> the order of pull requests to mainline...
I'm confused about what rebasing has to do with this?
I was assuming the patches would take the same route into Linus's tree
as into -next, that just seemed simplest to me; I'm completely fine with
either taking them into my tree or you sending them directly, I'd
already looked at them.
Or was the issue that they were in your -next branch because you had
other stuff on top of them, but you still thought I was taking them?
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-01-13 2:20 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-12 7:29 [git pull] bcachefs locking fix Al Viro
2024-01-12 15:22 ` Kent Overstreet
2024-01-12 19:25 ` Al Viro
2024-01-13 2:20 ` Kent Overstreet
2024-01-13 2:09 ` 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;
as well as URLs for NNTP newsgroup(s).