Merge tag 'fix-efi-recovery-6.6_2023-09-12' of https://git.kernel.org/pub/scm/linux...
authorChandan Babu R <chandanbabu@kernel.org>
Wed, 13 Sep 2023 04:52:26 +0000 (10:22 +0530)
committerChandan Babu R <chandanbabu@kernel.org>
Wed, 13 Sep 2023 04:52:26 +0000 (10:22 +0530)
commitb6c2b6378d642ee5f46f60711473a7cc6d9cb1e8
tree866b8048581f7f4406d0a2da4e2cb81656258432
parentf41d7d70b0f27a2f03a8117223a653d30e064465
parent3c919b0910906cc69d76dea214776f0eac73358b
Merge tag 'fix-efi-recovery-6.6_2023-09-12' of https://git./linux/kernel/git/djwong/xfs-linux into xfs-6.6-fixesA

xfs: fix EFI recovery livelocks

This series fixes a customer-reported transaction reservation bug
introduced ten years ago that could result in livelocks during log
recovery.  Log intent item recovery single-steps each step of a deferred
op chain, which means that each step only needs to allocate one
transaction's worth of space in the log, not an entire chain all at
once.  This single-stepping is critical to unpinning the log tail since
there's nobody else to do it for us.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
* tag 'fix-efi-recovery-6.6_2023-09-12' of https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux:
  xfs: reserve less log space when recovering log intent items