mbox series

[PATCHSET,0/1] xfs: fixes for online shrink

Message ID 162181808760.203030.18032062235913134439.stgit@locust (mailing list archive)
Headers show
Series xfs: fixes for online shrink | expand

Message

Darrick J. Wong May 24, 2021, 1:01 a.m. UTC
Hi all,

This is a single fix to the per-AG reservation code to make it so that
shrink can abort successfully if shrinking would leave too little space
in the AG to handle metadata btree expansion.

If you're going to start using this mess, you probably ought to just
pull from my git trees, which are linked below.

This is an extraordinary way to destroy everything.  Enjoy!
Comments and questions are, as always, welcome.

--D

kernel git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=shrink-fixes-5.13
---
 fs/xfs/libxfs/xfs_ag_resv.c |   18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)