On Tue 08-03-22 11:32:43, Amir Goldstein wrote: > On Tue, Feb 12, 2019 at 7:31 PM Sasha Levin <sashal@xxxxxxxxxx> wrote: > > > > Hi all, > > > > I'd like to propose a discussion about the workflow of the stable trees > > when it comes to fs/ and mm/. In the past year we had some friction with > > regards to the policies and the procedures around picking patches for > > stable tree, and I feel it would be very useful to establish better flow > > with the folks who might be attending LSF/MM. > > > > I feel that fs/ and mm/ are in very different places with regards to > > which patches go in -stable, what tests are expected, and the timeline > > of patches from the point they are proposed on a mailing list to the > > point they are released in a stable tree. Therefore, I'd like to propose > > two different sessions on this (one for fs/ and one for mm/), as a > > common session might be less conductive to agreeing on a path forward as > > the starting point for both subsystems are somewhat different. > > > > We can go through the existing processes, automation, and testing > > mechanisms we employ when building stable trees, and see how we can > > improve these to address the concerns of fs/ and mm/ folks. > > > > I think it would be interesting to have another discussion on the state of fs/ > in -stable and see if things have changed over the past couple of years. > If you do not plan to attend LSF/MM in person, perhaps you will be able to > join this discussion remotely? > > From what I can see, the flow of ext4/btrfs patches into -stable still looks > a lot healthier than the flow of xfs patches into -stable. > > In 2019, Luis started an effort to improve this situation (with some > assistance from me and you) that ended up with several submissions > of stable patches for v4.19.y, but did not continue beyond 2019. > > When one looks at xfstest bug reports on the list for xfs on kernels > v4.19 > one has to wonder if using xfs on kernels v5.x.y is a wise choice. > > Which makes me wonder: how do the distro kernel maintainers keep up > with xfs fixes? > > Many of the developers on CC of this message are involved in development > of a distro kernel (at least being consulted with), so I would be very much > interested to know how and if this issue is being dealt with. So I can explain for SUSE I guess. We generally don't use long-term stable kernels for our distro releases (and short term -stable kernel is long finished before it passes through our development cycle and is released as an enterprise distro kernel - so e.g. base for the next SLES kernel is 5.14.21). We have infrastructure which tracks Fixes tags and also long-term stable kernels and from that generates a feed of patches that may be interesting for us to push into enterprise kernels. The feed is actually split by kernel areas so you get patches in your area of expertise (so for example I get this feed for ext4, udf, fs/notify, writeback, fs-mm boundary, ...) Then we judge whether each patch makes sense for us or not, backport what makes sense, run the result through tests (e.g. I usually do general fstests runs and then some targetted testing if needed for peculiar bugs) and push it out. The result then goes through another round of general QA testing before it gets released. So for XFS in particular we do carry somewhat more patches than stable trees. Honza -- Jan Kara <jack@xxxxxxxx> SUSE Labs, CR