* Btrfs fixes, changes don't appear on git repo @ 2015-02-26 21:49 Matt 2015-02-26 22:04 ` Chris Mason 0 siblings, 1 reply; 3+ messages in thread From: Matt @ 2015-02-26 21:49 UTC (permalink / raw) To: linux-btrfs; +Cc: Chris Mason, jbacik Hi linux-btrfs list, Hi Chris, Hi Josef, it seemingly happened in the past and now it seems to happen again: after patches have been posted to the linux-btrfs mailing list and pulled by Linus, changes occured and additional pull-requests followed - the old commits don't appear to be anywhere accessible besides Linus' tree example: http://marc.info/?l=linux-btrfs&m=142203898505309&w=2 [GIT PULL] Btrfs fixes from January 23rd I picked a specific patch out: http://marc.info/?l=linux-btrfs&m=142141473603234&w=2 Btrfs: fix race deleting block group from space_info->ro_bgs list since it might lead to lockups I've seen some lockups in the past few days which involved Btrfs while playing and adding some bleeding edge patches to my custom kernel (3.19 based) - or in general to have Btrfs' latest and greatest code thus I want to make sure that I have the latest stability-/bugfix-related patches When searching at https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/ for "Btrfs: fix race deleting block group from space_info->ro_bgs list" it winds up in Linus' repo with a merge/pull from January 24th https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/?qt=grep&q=Btrfs%3A+fix+race+deleting+block+group+from+space_info-%3Ero_bgs+list But when searching in the "integration" or current "for-linus" branch http://git.kernel.org/cgit/linux/kernel/git/mason/linux-btrfs.git/log/?h=integration http://git.kernel.org/cgit/linux/kernel/git/mason/linux-btrfs.git/log/?h=for-linus http://git.kernel.org/cgit/linux/kernel/git/mason/linux-btrfs.git/log/?h=for-linus&qt=grep&q=Btrfs%3A+fix+race+deleting+block+group+from+space_info-%3Ero_bgs+list http://git.kernel.org/cgit/linux/kernel/git/mason/linux-btrfs.git/log/?h=integration&qt=grep&q=Btrfs%3A+fix+race+deleting+block+group+from+space_info-%3Ero_bgs+list There is no such commit - which I can't seem to wrap my head around The same result with git log --grep "foo ..." after having fetched the latest state of Chris' repo Am I missing something ? It would be really nice to have a repo where all of the latest Btrfs patches are stored and accessible - and a clear picture on why this weirdness happens Sorry if this was already asked in the past, since I'm not aware of such a report Many thanks in advance for your answers Kind Regards Matt ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Btrfs fixes, changes don't appear on git repo 2015-02-26 21:49 Btrfs fixes, changes don't appear on git repo Matt @ 2015-02-26 22:04 ` Chris Mason 2015-02-26 22:20 ` Matt 0 siblings, 1 reply; 3+ messages in thread From: Chris Mason @ 2015-02-26 22:04 UTC (permalink / raw) To: Matt; +Cc: linux-btrfs, jbacik On Thu, Feb 26, 2015 at 4:49 PM, Matt <jackdachef@gmail.com> wrote: > Hi linux-btrfs list, > > Hi Chris, Hi Josef, > > > it seemingly happened in the past and now it seems to happen again: > > after patches have been posted to the linux-btrfs mailing list and > pulled by Linus, > > changes occured and additional pull-requests followed - the old > commits don't appear to be anywhere accessible besides Linus' tree > > > example: > > http://marc.info/?l=linux-btrfs&m=142203898505309&w=2 > > [GIT PULL] Btrfs fixes > from January 23rd Sorry for the confusion. What happens is that I send Linus pulls for the things he's missing, and we have slightly parallel development branches. Before 3.19-rc1, I forked 3.18-rc5 and rebased my 3.19 merge window on top of that. All of my commits for 3.19 went on top of this branch. I forked our tree for the 4.0 merge window at 3.19-rc5. This is where all the 4.0 commits went. But, 3.19 kept rolling and we had additional fixes in before 3.19-final. I use the same branch for every pull to Linus (for-linus), so during 3.19-rc6 I sent him code on top of for-linus, which at the time was based on 3.18-rc5 and had all my 3.19 code in it. Then the 4.0 merge window started and I switched to my 3.19-rc5 based merge window tree, which was actually missing the commit you mentioned because Linus took it after rc5. It all works for Linus because git merges things easily, and he actually prefers that you don't merge in later releases unless you need some fix to keep things stable. In other words, if my for-linus for the 4.0 merge window has a merge with 3.19-final, he may push back. In general, you can take my for-linus on top of the last released Linus kernel and have all the current commits that are considered stable. In the future, I'll keep a for-linus-xxyyzz for the last release to make this less confusing. -chris ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Btrfs fixes, changes don't appear on git repo 2015-02-26 22:04 ` Chris Mason @ 2015-02-26 22:20 ` Matt 0 siblings, 0 replies; 3+ messages in thread From: Matt @ 2015-02-26 22:20 UTC (permalink / raw) To: Chris Mason; +Cc: linux-btrfs, jbacik On Thu, Feb 26, 2015 at 11:04 PM, Chris Mason <clm@fb.com> wrote: > > > On Thu, Feb 26, 2015 at 4:49 PM, Matt <jackdachef@gmail.com> wrote: >> >> Hi linux-btrfs list, >> >> Hi Chris, Hi Josef, >> >> >> it seemingly happened in the past and now it seems to happen again: >> >> after patches have been posted to the linux-btrfs mailing list and >> pulled by Linus, >> >> changes occured and additional pull-requests followed - the old >> commits don't appear to be anywhere accessible besides Linus' tree >> >> >> example: >> >> http://marc.info/?l=linux-btrfs&m=142203898505309&w=2 >> >> [GIT PULL] Btrfs fixes >> from January 23rd > > > Sorry for the confusion. What happens is that I send Linus pulls for the > things he's missing, and we have slightly parallel development branches. > > Before 3.19-rc1, I forked 3.18-rc5 and rebased my 3.19 merge window on top > of that. All of my commits for 3.19 went on top of this branch. > > I forked our tree for the 4.0 merge window at 3.19-rc5. This is where all > the 4.0 commits went. But, 3.19 kept rolling and we had additional fixes in > before 3.19-final. > > I use the same branch for every pull to Linus (for-linus), so during > 3.19-rc6 I sent him code on top of for-linus, which at the time was based on > 3.18-rc5 and had all my 3.19 code in it. > > Then the 4.0 merge window started and I switched to my 3.19-rc5 based merge > window tree, which was actually missing the commit you mentioned because > Linus took it after rc5. > > It all works for Linus because git merges things easily, and he actually > prefers that you don't merge in later releases unless you need some fix to > keep things stable. In other words, if my for-linus for the 4.0 merge > window has a merge with 3.19-final, he may push back. Thanks for the swift and elaborate explanation ! Yes, that's what got me now and in the past confused - I'm sure I'm not the only one ;) > > In general, you can take my for-linus on top of the last released Linus > kernel and have all the current commits that are considered stable. That's the plan :) > > In the future, I'll keep a for-linus-xxyyzz for the last release to make > this less confusing. Wow, this would make things a lot clearer and getting an overview much faster ! Your repo then probably would resemble Paul E. McKenney's ( https://git.kernel.org/cgit/linux/kernel/git/paulmck/linux-rcu.git/ ) but I like it that way - everything accessible and comprehensible Surely a win-win for the devs & community Thanks again > > -chris > > > Kind Regards Matt ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-02-26 22:20 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-02-26 21:49 Btrfs fixes, changes don't appear on git repo Matt 2015-02-26 22:04 ` Chris Mason 2015-02-26 22:20 ` Matt
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.