Skip to contentSkip to conversation

kernel 5.16 sprint planning

DISCUSSION Darrick J. Wong 3 participants 3 messages Sep 22, 2021

lore
Share & tools
lore
#0 lore raw

Hi everyone,

Now that the LPC fs track is over, I would like to take nominations for which patchsets do people think they'd like to submit for 5.16, as well as volunteers to review those submissions.

I can think of a few things that /could/ be close to ready:

- Allison's logged xattrs (submitted for review during 5.15 and Dave started playing around with it)

- Dave's logging parallelization patches (submitted during 5.14 but pulled back at the last minute because of unrelated log recovery issues uncovered)

- Chandan's large extent counter series, which requires the btree cursor reworking that I sent last week

- A patchset from me to reduce sharply the size of transaction reservations when rmap and reflink are enabled.

Would anyone like to add items to this list, or remove items?

For each of the items /not/ authored by me, I ask the collaborators on
each: Do you intend to submit this for consideration for 5.16? And do you have any reviewers in mind?

For everyone else: Do you see something you'd like to see land in 5.16? Would you be willing to pair off with the author(s) to conduct a review?

-------

Carlos asked after the FS track today about what kinds of things need working on. I can think of two things needing attention in xfsprogs:

- Helping Eric deal with the xfs_perag changes that require mockups. (I might just revisit this, since I already threw a ton of patches at the list.)

- Protofiles: I occasionally get pings both internally and via PM from people wanting to create smallest-possible prepopulated XFS images from a directory tree. Exploding minimum-sized images aren't a great idea because the log and AGs will be very small, but:

Given that we have a bitrotting tool (xfs_estimate) to guesstimate the size of the image, mkfs support for ye olde 4th Ed. Unix protofiles, and I have a script to generate protofiles, should someone clean all that up into a single tool that converts a directory tree into an image? Preferably one with as large an AG+log as possible?

Or should we choose to withdraw all that functionality?

I have a slight greybeard preference for keeping protofiles on the grounds that protofiles have been supported on various Unix mkfs for almost 50 years, and they're actually compatible with the JFS tools and <cough> other things like AIX and HPUX. But the rest of you can overrule me... ;)

Does anyone have any suggestions beyond that?

--Darrick

#1 lore raw
Quoted 15 lines · Darrick J. Wong

Hi everyone,

Now that the LPC fs track is over, I would like to take nominations for which patchsets do people think they'd like to submit for 5.16, as well as volunteers to review those submissions.

I can think of a few things that /could/ be close to ready:

- Allison's logged xattrs (submitted for review during 5.15 and Dave started playing around with it)

- Dave's logging parallelization patches (submitted during 5.14 but pulled back at the last minute because of unrelated log recovery issues uncovered)

Quoted 5 lines

- Chandan's large extent counter series, which requires the btree cursor reworking that I sent last week

- A patchset from me to reduce sharply the size of transaction reservations when rmap and reflink are enabled.

OK, that'll need perf testing as that will definitely change how reservations and metadata writeback interact. Smaller log reservations mean less log pressure and/or more concurrent transactions in flight for a given log size. That may show up new scalability bottlenecks or make existing ones worse....

Quoted 1 line

Would anyone like to add items to this list, or remove items?

I have the intent whiteout series to go with the logged attrs, and I'm trying to get the next round of perag refcounting for shrink series sorted out in time, too.

Quoted 3 lines

For each of the items /not/ authored by me, I ask the collaborators on
each: Do you intend to submit this for consideration for 5.16? And do you have any reviewers in mind?

I'm trying to do final rebase and testing before posting them all again, been a bit held back by weird test problems and regressions outside XFS over the past couple of days...

Also, can we get all the patch sets being worked on in a sprint posted in git trees to make it easy for everyone to pull in and update code as it gets changed?

Quoted 1 line

For everyone else: Do you see something you'd like to see land in 5.16?

For future sprints, this seems like it would be a good question to ask at the time the merge window for the previous cycle opens. Code that is not proposed/ready for a merge sprint by -rc2 isn't a candidate for the sprint. Then the sprint runs -rc3 to -rc5, and we have everything finalised and merged by -rc6 and soaking in for-next for 1-2 weeks before the merge window opens...

Quoted 1 line

Would you be willing to pair off with the author(s) to conduct a review?

Sure.

But keep in mind that formal pairing is not the _only_ approach here, and in some cases won't be the best approach. Not everyone has the same level of knowledge and/or expertise, and some things require more review than others. Sprints don't change the need for different types of review to be performed, just the time constraints for performing and addressing them.

Another thing that is clear from the the inode inactivation and delayed attribute series is that performance and scalability testing is needed for significant new functionality. This is something that needs to be done early on in the sprint so we have time to can address problems during the review sprint. This isn't code review, but it is certainly analysis that needs to be performed.

Are there things other than code review that we need to focus on during a sprint? I think testing the code being reviewed is also a core part of the sprint process, such that we get code tested in a wider variety of environments before it gets merged...

Quoted 8 lines

-------

Carlos asked after the FS track today about what kinds of things need working on. I can think of two things needing attention in xfsprogs:

- Helping Eric deal with the xfs_perag changes that require mockups. (I might just revisit this, since I already threw a ton of patches at the list.)

I threw patches at it, too, to implement the functionality rather than just mock it up...

Quoted 5 lines

- Protofiles: I occasionally get pings both internally and via PM from people wanting to create smallest-possible prepopulated XFS images from a directory tree. Exploding minimum-sized images aren't a great idea because the log and AGs will be very small, but:

Quoted 8 lines

Given that we have a bitrotting tool (xfs_estimate) to guesstimate the size of the image, mkfs support for ye olde 4th Ed. Unix protofiles, and I have a script to generate protofiles, should someone clean all that up into a single tool that converts a directory tree into an image? Preferably one with as large an AG+log as possible?

Or should we choose to withdraw all that functionality?

I'm not sure this is materially better than mkfs with appropriate geometry, then mounting and using rsync to copy the data across. the xfsprogs protofile copying is inherently single threaded until we have fully fledged modification concurrency capability in userspace libxfs....

Quoted 5 lines

I have a slight greybeard preference for keeping protofiles on the grounds that protofiles have been supported on various Unix mkfs for almost 50 years, and they're actually compatible with the JFS tools and <cough> other things like AIX and HPUX. But the rest of you can overrule me... ;)

I'm not that sentimental :) If it's not useful or can be implemented with other standard tools, then we should get rid of it.

Quoted 1 line

Does anyone have any suggestions beyond that?

For xfsprogs?

Fix the concurrency mess in libxfs
Fix the unnecessary command line parsing library complexity properly abstract buftargs across both xfsprogs and kernel code code cleanups in repair, db, etc.
Optimising mkfs defaults for SSDs
port the common part of log recovery to libxfs to replace libxlog rewrite xfs_logprint to use the new libxfs port
rewrite xfs_logprint to be sane and understandable build a mkfs config file library for common use cases Modernise xfs_fsr with an eye to shrink requirements AIO/io_uring for xfs_fsr
AIO/io_uring for metadump/restore
AIO/io_uring for xfs_copy
Add PSI support for memory usage feed back to libxfs Implement shrinkers for trimming caches from PSI events Port fs/xfs/xfs_buf.c to replace the libxfs buffer cache AIO/io_uring support for libxfs buffer cache
Fix the repair prefetching mess
optimise IO for million AG filesystems
Clean up the repair memory usage/cache sizing/threading heuristics
....

Need more?

Cheers,

Dave.

Signature · 2 lines
Dave Chinner
[email protected]
#2 lore raw
In reply to Darrick J. Wong
Quoted 11 lines · Darrick J. Wong

Hi everyone,

Now that the LPC fs track is over, I would like to take nominations for which patchsets do people think they'd like to submit for 5.16, as well as volunteers to review those submissions.

I can think of a few things that /could/ be close to ready:

- Allison's logged xattrs (submitted for review during 5.15 and Dave started playing around with it)

Quoted 6 lines

- Dave's logging parallelization patches (submitted during 5.14 but pulled back at the last minute because of unrelated log recovery issues uncovered)

- Chandan's large extent counter series, which requires the btree cursor reworking that I sent last week

IMHO the following are the dependencies w.r.t large extent counter patch series,
1. Any objections towards the approach taken by the patchset to allow upgrading older V5 filesystems.
2. "Btree cursor rework" patchset on which large extent counter patchset will be based on. If you think btree cursor rework patchset can be completed quickly enough to give me time (which shouldn't be more than a week) to rebase the large extent counter patch series and test it, then I think my patchset can be considered for merging.

One of the things that I missed was that bulkstat ioctl calls made by libfrog had to check for the presence of XFS_FSOP_GEOM_FLAGS_NREXT64 before including the newly defined XFS_BULK_IREQ_BULKSTAT and XFS_BULK_IREQ_BULKSTAT_NREXT64 flags in the bulkstat header. I have fixed it now.

Quoted 4 lines

- A patchset from me to reduce sharply the size of transaction reservations when rmap and reflink are enabled.

Quoted 8 lines

Would anyone like to add items to this list, or remove items?

For each of the items /not/ authored by me, I ask the collaborators on
each: Do you intend to submit this for consideration for 5.16? And do you have any reviewers in mind?

For everyone else: Do you see something you'd like to see land in 5.16? Would you be willing to pair off with the author(s) to conduct a review?

I can work on reviewing delayed xattrs and associated patchsets (e.g. Dave's intent whiteout series).

Quoted 33 lines

-------

Carlos asked after the FS track today about what kinds of things need working on. I can think of two things needing attention in xfsprogs:

- Helping Eric deal with the xfs_perag changes that require mockups. (I might just revisit this, since I already threw a ton of patches at the list.)

- Protofiles: I occasionally get pings both internally and via PM from people wanting to create smallest-possible prepopulated XFS images from a directory tree. Exploding minimum-sized images aren't a great idea because the log and AGs will be very small, but:

Given that we have a bitrotting tool (xfs_estimate) to guesstimate the size of the image, mkfs support for ye olde 4th Ed. Unix protofiles, and I have a script to generate protofiles, should someone clean all that up into a single tool that converts a directory tree into an image? Preferably one with as large an AG+log as possible?

Or should we choose to withdraw all that functionality?

I have a slight greybeard preference for keeping protofiles on the grounds that protofiles have been supported on various Unix mkfs for almost 50 years, and they're actually compatible with the JFS tools and <cough> other things like AIX and HPUX. But the rest of you can overrule me... ;)

Does anyone have any suggestions beyond that?

--Darrick

Signature · 1 line
chandan