fix recovery of extfree items just after a growfs

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

 



Hi all,

auditing the perag code for the generic groups feature found an issue
where recovery of an extfree intent without a logged done entry will
fail when the log also contained the transaction that added the AG
to the extent is freed to because the perag structures are only created
after log recovery has finished.

I will also send out a reproducer for this issue.

Diffstat:
 libxfs/xfs_ag.c          |   63 +++++++++++------------------------------------
 libxfs/xfs_ag.h          |   10 +++----
 libxfs/xfs_log_recover.h |    2 +
 xfs_buf_item_recover.c   |   16 +++++++++++
 xfs_fsops.c              |   20 ++++++--------
 xfs_log_recover.c        |   58 ++++++++++++++++++-------------------------
 xfs_mount.c              |    9 ++----
 7 files changed, 76 insertions(+), 102 deletions(-)




[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