mbox series

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

Message ID cover.1574799066.git.osandov@fb.com (mailing list archive)
Headers show
Series xfs: fixes for realtime file truncation | expand

Message

Omar Sandoval Nov. 26, 2019, 8:13 p.m. UTC
From: Omar Sandoval <osandov@fb.com>

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(-)