Skip to content

xfs: fixes for realtime file truncation

Omar Sandoval linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xfs: fix realtime file data space leakfs/xfs/libxfs/xfs_bmap.c+14 -111 reply
2/2xfs: don't check for AG deadlock for realtime files in bunmapifs/xfs/libxfs/xfs_bmap.c+1 -11 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchDarrick J. Wong
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] xfs: fixes for realtime file truncation

From: Omar Sandoval <[email protected]>

Hello,

These two patches fix bugs in a corner case of truncating realtime files. We encountered this as a soft lockup in production while truncating certain files, but I found the space leak on further investigation. The lockup is caused by an interaction between the two bugs fixed by these patches. I've also sent a reproducer for xfstests.

These patches are based on v5.4. Thanks!

Omar Sandoval (2):
xfs: fix realtime file data space leak
xfs: don't check for AG deadlock for realtime files in bunmapi

 fs/xfs/libxfs/xfs_bmap.c | 27 +++++++++++++++------------
 1 file changed, 15 insertions(+), 12 deletions(-)
Signature · 1 line
2.24.0