public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHSET] AGFL reservation changes
@ 2024-08-15 19:29 Krister Johansen
  2024-08-15 19:30 ` [PATCH 0/5] linux: Modifying per-ag reservation to account for dependent allocations Krister Johansen
  2024-08-15 19:36 ` [RFC PATCH 0/2] xfstests: fstests for agfl reservation Krister Johansen
  0 siblings, 2 replies; 10+ messages in thread
From: Krister Johansen @ 2024-08-15 19:29 UTC (permalink / raw)
  To: Chandan Babu R, Darrick J. Wong, Dave Chinner
  Cc: Dave Chinner, Zorro Lang, linux-xfs, fstests

Hi,
This patchset contains changes to linux and to xfstests to address a
reoccuring panic in xfs_bmap_extents_to_btree.

The RFC was discussed here:

https://lore.kernel.org/linux-xfs/cover.1718232004.git.kjlx@templeofstupid.com/T/#t

The kernel changes modify how the AGFL reservation is calculated when a
filesystem is mounted.  This is also pushed into the in-core per-AG
structures to ensure that they do not consume the additional space
reserved by this change.

Additionally, this includes a pair of xfstest patches.  The first
introduces a test that triggers the problem we're trying to fix, as
xfs/608.  The second is a modification to xfs/306, which started failing
because the increased space that is reserved by these changes is above
the global reserve limit that this test intentionally lowers.  The
second patch increases this limit by one block.  If this seems wrong,
I'm happy to debug further.  The change was based upon the assumption
that artifically lowered global reservation limits had to be cognizant
of the per-AG limits.

-K

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-08-15 21:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-15 19:29 [PATCHSET] AGFL reservation changes Krister Johansen
2024-08-15 19:30 ` [PATCH 0/5] linux: Modifying per-ag reservation to account for dependent allocations Krister Johansen
2024-08-15 19:31   ` [PATCH 1/5] xfs: count the number of blocks in a per-ag reservation Krister Johansen
2024-08-15 19:32   ` [PATCH 2/5] xfs: move calculation in xfs_alloc_min_freelist to its own function Krister Johansen
2024-08-15 19:33   ` [PATCH 3/5] xfs: make alloc_set_aside and friends aware of per-AG reservations Krister Johansen
2024-08-15 19:34   ` [PATCH 4/5] xfs: push the agfl set aside into xfs_alloc_space_available Krister Johansen
2024-08-15 19:35   ` [PATCH 5/5] xfs: include min freelist in m_ag_max_usable Krister Johansen
2024-08-15 19:36 ` [RFC PATCH 0/2] xfstests: fstests for agfl reservation Krister Johansen
2024-08-15 19:37   ` [RFC PATCH 1/2] xfs/608: a test case for xfs_bmap_extents_to_btree allocation failure Krister Johansen
2024-08-15 19:40   ` [RFC PATCH 2/2] xfs/306: update resblks to account for increased per-ag reservation size Krister Johansen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox