Skip to content

xfs stable patches for 5.4.y (from v5.5)

Chandan Babu R linux-xfs stable 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest19 patches 1 replyIn review
  2. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

1. Added two patches which fix regressions that were introduced by two patches present in the V1 patchset.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19MAINTAINERS: add Chandan as xfs maintainer for 5.4.yMAINTAINERS+2 -10 replies
2/19iomap: iomap that extends beyond EOF should be marked dirtyfs/xfs/xfs_iomap.c include/linux/iomap.h+9 -00 replies
3/19xfs: replace -EIO with -EFSCORRUPTED for corrupt metadatafs/xfs/libxfs/xfs_bmap.c fs/xfs/xfs_attr_inactive.c fs/xfs/xfs_dquot.c+7 -70 replies
4/19xfs: slightly tweak an assert in xfs_fs_map_blocksfs/xfs/xfs_pnfs.c+2 -20 replies
5/19xfs: add missing assert in xfs_fsmap_owner_from_rmapfs/xfs/xfs_fsmap.c+1 -00 replies
6/19xfs: range check ri_cnt when recovering log itemsfs/xfs/xfs_log_recover.c+10 -10 replies
7/19xfs: attach dquots and reserve quota blocks during unwritten conversionfs/xfs/xfs_iomap.c+10 -00 replies
8/19xfs: Fix deadlock between AGI and AGF when target_ip exists in xfs_rename()fs/xfs/libxfs/xfs_dir2.h fs/xfs/libxfs/xfs_dir2_sf.c fs/xfs/xfs_inode.c+42 -50 replies
9/19xfs: convert EIO to EFSCORRUPTED when log contents are invalidfs/xfs/xfs_bmap_item.c fs/xfs/xfs_extfree_item.c fs/xfs/xfs_log_recover.c +2 more+21 -210 replies
10/19xfs: constify the buffer pointer arguments to error functionsfs/xfs/xfs_error.c fs/xfs/xfs_error.h fs/xfs/xfs_message.c +1 more+8 -80 replies
11/19xfs: always log corruption errorsfs/xfs/libxfs/xfs_alloc.c fs/xfs/libxfs/xfs_attr_leaf.c fs/xfs/libxfs/xfs_bmap.c +22 more+179 -450 replies
12/19xfs: fix some memory leaks in log recoveryfs/xfs/xfs_log_recover.c+5 -30 replies
13/19xfs: stabilize insert range start boundary to avoid COW writeback racefs/xfs/libxfs/xfs_bmap.c fs/xfs/xfs_bmap_util.c+13 -10 replies
14/19xfs: use bitops interface for buf log item AIL flag checkfs/xfs/xfs_buf_item.c+1 -10 replies
15/19xfs: refactor agfl length computation functionfs/xfs/libxfs/xfs_alloc.c+13 -50 replies
16/19xfs: split the sunit parameter update into two partsfs/xfs/xfs_mount.c+72 -510 replies
17/19xfs: don't commit sunit/swidth updates to disk if that would cause repair failuresfs/xfs/libxfs/xfs_ialloc.c fs/xfs/libxfs/xfs_ialloc.h fs/xfs/xfs_mount.c +1 more+130 -10 replies
18/19xfs: fix an ABBA deadlock in xfs_renamefs/xfs/libxfs/xfs_dir2.h fs/xfs/libxfs/xfs_dir2_sf.c fs/xfs/xfs_inode.c+26 -200 replies
19/19xfs: fix use-after-free when aborting corrupt attr inactivationfs/xfs/xfs_attr_inactive.c+1 -10 replies

Reviews trailers per patch

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

PatchDarrick J. WongChristoph HellwigBrian FosterCarlos MaiolinoEric SandeenDave Chinner
1/19A-b
2/19R-b A-b
3/19A-b R-b R-b
4/19R-b A-b
5/19A-b R-b
6/19A-b R-b
7/19A-b R-b
8/19R-b A-b
9/19A-b R-b
10/19A-b R-b R-b
11/19A-b R-b R-b
12/19A-b R-b
13/19R-b A-b
14/19R-b A-b R-b
15/19A-b R-b
16/19A-b R-b
17/19A-b R-b
18/19A-b R-b
19/19A-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v2 thread

Cover letter [PATCH 5.4 V2 00/19] xfs stable patches for 5.4.y (from v5.5)

Hi Greg,

This 5.4.y backport series contains fixes from v5.5. The patchset has been acked by Darrick.

Changelog:
V1 -> V2:
1. Added two patches which fix regressions that were introduced by two patches present in the V1 patchset.

Brian Foster (2):
xfs: stabilize insert range start boundary to avoid COW writeback race
xfs: use bitops interface for buf log item AIL flag check

Chandan Babu R (1):
MAINTAINERS: add Chandan as xfs maintainer for 5.4.y

Christoph Hellwig (1):
xfs: slightly tweak an assert in xfs_fs_map_blocks

Darrick J. Wong (13):
xfs: replace -EIO with -EFSCORRUPTED for corrupt metadata
xfs: add missing assert in xfs_fsmap_owner_from_rmap
xfs: range check ri_cnt when recovering log items
xfs: attach dquots and reserve quota blocks during unwritten
conversion
xfs: convert EIO to EFSCORRUPTED when log contents are invalid
xfs: constify the buffer pointer arguments to error functions
xfs: always log corruption errors
xfs: fix some memory leaks in log recovery
xfs: refactor agfl length computation function
xfs: split the sunit parameter update into two parts
xfs: don't commit sunit/swidth updates to disk if that would cause
repair failures
xfs: fix an ABBA deadlock in xfs_rename
xfs: fix use-after-free when aborting corrupt attr inactivation

Dave Chinner (1):
iomap: iomap that extends beyond EOF should be marked dirty

kaixuxia (1):
xfs: Fix deadlock between AGI and AGF when target_ip exists in
xfs_rename()

 MAINTAINERS                    |   3 +-
 fs/xfs/libxfs/xfs_alloc.c      |  27 ++++--
 fs/xfs/libxfs/xfs_attr_leaf.c  |  12 ++-
 fs/xfs/libxfs/xfs_bmap.c       |  16 +++-
 fs/xfs/libxfs/xfs_btree.c      |   5 +-
 fs/xfs/libxfs/xfs_da_btree.c   |  24 +++--
 fs/xfs/libxfs/xfs_dir2.c       |   4 +-
 fs/xfs/libxfs/xfs_dir2_leaf.c  |   4 +-
 fs/xfs/libxfs/xfs_dir2_node.c  |  12 ++-
 fs/xfs/libxfs/xfs_dir2_sf.c    |  28 +++++-
 fs/xfs/libxfs/xfs_ialloc.c     |  64 +++++++++++++
 fs/xfs/libxfs/xfs_ialloc.h     |   1 +
 fs/xfs/libxfs/xfs_inode_fork.c |   6 ++
 fs/xfs/libxfs/xfs_refcount.c   |   4 +-
 fs/xfs/libxfs/xfs_rtbitmap.c   |   6 +-
 fs/xfs/xfs_acl.c               |  15 ++-
 fs/xfs/xfs_attr_inactive.c     |  10 +-
 fs/xfs/xfs_attr_list.c         |   5 +-
 fs/xfs/xfs_bmap_item.c         |   7 +-
 fs/xfs/xfs_bmap_util.c         |  12 +++
 fs/xfs/xfs_buf_item.c          |   2 +-
 fs/xfs/xfs_dquot.c             |   2 +-
 fs/xfs/xfs_error.c             |  27 +++++-
 fs/xfs/xfs_error.h             |   7 +-
 fs/xfs/xfs_extfree_item.c      |   5 +-
 fs/xfs/xfs_fsmap.c             |   1 +
 fs/xfs/xfs_inode.c             |  40 +++++++-
 fs/xfs/xfs_inode_item.c        |   5 +-
 fs/xfs/xfs_iomap.c             |  17 ++++
 fs/xfs/xfs_iops.c              |  10 +-
 fs/xfs/xfs_log_recover.c       |  72 +++++++++-----
 fs/xfs/xfs_message.c           |   2 +-
 fs/xfs/xfs_message.h           |   2 +-
 fs/xfs/xfs_mount.c             | 168 +++++++++++++++++++++++----------
 fs/xfs/xfs_pnfs.c              |   4 +-
 fs/xfs/xfs_qm.c                |  13 ++-
 fs/xfs/xfs_refcount_item.c     |   5 +-
 fs/xfs/xfs_rmap_item.c         |   9 +-
 fs/xfs/xfs_trace.h             |  21 +++++
 include/linux/iomap.h          |   2 +
 40 files changed, 529 insertions(+), 150 deletions(-)
Signature · 1 line
2.35.1