[PATCH v9 0/5] xfs: support shrinking free space in the last AG

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi folks,

v9: https://lore.kernel.org/r/20210305025703.3069469-1-hsiangkao@xxxxxxxxxx

This patchset attempts to support shrinking free space in the last AG.
This version mainly addresses previous review of v8. Hope I don't miss
previous comments...

changes since v8 (Brian):
 - [2/5] rename to `lastag_extended';
 - [2/5] use `delta' instead;
 - [3/5] refine several comments;
 - [3/5] lock agf buffer here to close perag reservation race window;
 - [4/5] drop unnecessary `nb == mp->m_sb.sb_dblocks' check.
 - [4/5] refine a comment.

Thanks for the time!

Thanks,
Gao Xiang

Gao Xiang (5):
  xfs: update lazy sb counters immediately for resizefs
  xfs: hoist out xfs_resizefs_init_new_ags()
  xfs: introduce xfs_ag_shrink_space()
  xfs: support shrinking unused space in the last AG
  xfs: add error injection for per-AG resv failure

 fs/xfs/libxfs/xfs_ag.c       | 115 +++++++++++++++++++++
 fs/xfs/libxfs/xfs_ag.h       |   2 +
 fs/xfs/libxfs/xfs_ag_resv.c  |   6 +-
 fs/xfs/libxfs/xfs_errortag.h |   4 +-
 fs/xfs/xfs_error.c           |   3 +
 fs/xfs/xfs_fsops.c           | 194 ++++++++++++++++++++++-------------
 fs/xfs/xfs_trans.c           |   1 -
 7 files changed, 248 insertions(+), 77 deletions(-)

-- 
2.27.0




[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux