Skip to content

xfs backports for 6.6.y (from v6.10)

Catherine Hoang linux-xfs 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest21 patches 0 repliesNew
  2. v122 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- patch 2: update last argument of xfs_mod_fdblocks to true
- patch 3: remove "xfs: fix log recovery buffer allocation for the legacy h_size fixup"

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/21xfs: fix error returns from xfs_bmapi_writefs/xfs/libxfs/xfs_attr_remote.c fs/xfs/libxfs/xfs_bmap.c fs/xfs/libxfs/xfs_da_btree.c +5 more+57 -660 replies
2/21xfs: fix xfs_bmap_add_extent_delay_real for partial conversionsfs/xfs/libxfs/xfs_bmap.c+9 -40 replies
3/21xfs: remove a racy if_bytes check in xfs_reflink_end_cow_extentfs/xfs/xfs_reflink.c+0 -60 replies
4/21xfs: require XFS_SB_FEAT_INCOMPAT_LOG_XATTRS for attr log intent item recoveryfs/xfs/xfs_attr_item.c+3 -20 replies
5/21xfs: check opcode and iovec count match in xlog_recover_attri_commit_pass2fs/xfs/xfs_attr_item.c+27 -00 replies
6/21xfs: fix missing check for invalid attr flagsfs/xfs/libxfs/xfs_da_format.h fs/xfs/scrub/attr.c+14 -40 replies
7/21xfs: check shortform attr entry flags specificallyfs/xfs/scrub/attr.c+9 -00 replies
8/21xfs: validate recovered name buffers when recovering xattr itemsfs/xfs/xfs_attr_item.c+47 -110 replies
9/21xfs: enforce one namespace per attributefs/xfs/libxfs/xfs_attr.c fs/xfs/libxfs/xfs_attr.h fs/xfs/libxfs/xfs_attr_leaf.c +3 more+39 -150 replies
10/21xfs: revert commit 44af6c7e59b12fs/xfs/scrub/attr.c+5 -80 replies
11/21xfs: use dontcache for grabbing inodes during scrubfs/xfs/scrub/common.c fs/xfs/scrub/scrub.h+10 -90 replies
12/21xfs: match lock mode in xfs_buffered_write_iomap_begin()fs/xfs/xfs_iomap.c+5 -50 replies
13/21xfs: make the seq argument to xfs_bmapi_convert_delalloc() optionalfs/xfs/libxfs/xfs_bmap.c+4 -20 replies
14/21xfs: make xfs_bmapi_convert_delalloc() to allocate the target offsetfs/xfs/libxfs/xfs_bmap.c fs/xfs/xfs_aops.c+46 -420 replies
15/21xfs: convert delayed extents to unwritten when zeroing post eof blocksfs/xfs/xfs_iomap.c+29 -00 replies
16/21xfs: allow symlinks with short remote targetsfs/xfs/libxfs/xfs_inode_buf.c+24 -40 replies
17/21xfs: make sure sb_fdblocks is non-negativefs/xfs/libxfs/xfs_sb.c+4 -30 replies
18/21xfs: fix unlink vs cluster buffer instantiation racefs/xfs/xfs_inode.c+19 -40 replies
19/21xfs: fix freeing speculative preallocations for preallocated filesfs/xfs/xfs_bmap_util.c fs/xfs/xfs_bmap_util.h fs/xfs/xfs_icache.c +1 more+28 -200 replies
20/21xfs: restrict when we try to align cow fork delalloc to cowextsz hintsfs/xfs/libxfs/xfs_bmap.c fs/xfs/xfs_iomap.c+39 -260 replies
21/21xfs: allow unlinked symlinks and dirs with zero sizefs/xfs/libxfs/xfs_inode_buf.c+18 -50 replies

Reviews trailers per patch

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

PatchChristoph HellwigDarrick J. WongLuis Chamberlain
1/21R-b
2/21R-b
3/21R-b
4/21R-b
5/21R-b
6/21R-b
7/21R-b
8/21R-b
9/21R-b
10/21R-b
11/21R-b
12/21R-b R-b
13/21R-b R-b
14/21R-b R-b
15/21R-b R-b
16/21R-b
17/21R-b
18/21R-b R-b T-b
19/21R-b
20/21R-b
21/21R-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 3 reviewers.

Read the v2 thread

Cover letter [PATCH 6.6 CANDIDATE v2 00/21] xfs backports for 6.6.y (from v6.10)

Hi all,

This series contains backports for 6.6 from the 6.10 release. Tested on 30 runs of kdevops with the following configurations:

1. CRC
2. No CRC (512 and 4k block size)
3. Reflink (1K and 4k block size)
4. Reflink without rmapbt
5. External log device

This v2 series has gone through an additional 3 rounds of kdevops testing on top of the testing already run on v1.

Changes from v1:
- patch 2: update last argument of xfs_mod_fdblocks to true
- patch 3: remove "xfs: fix log recovery buffer allocation for the legacy h_size fixup"

Christoph Hellwig (4):
xfs: fix error returns from xfs_bmapi_write
xfs: fix xfs_bmap_add_extent_delay_real for partial conversions
xfs: remove a racy if_bytes check in xfs_reflink_end_cow_extent
xfs: fix freeing speculative preallocations for preallocated files

Darrick J. Wong (11):
xfs: require XFS_SB_FEAT_INCOMPAT_LOG_XATTRS for attr log intent item
recovery
xfs: check opcode and iovec count match in
xlog_recover_attri_commit_pass2
xfs: fix missing check for invalid attr flags
xfs: check shortform attr entry flags specifically
xfs: validate recovered name buffers when recovering xattr items
xfs: enforce one namespace per attribute
xfs: revert commit 44af6c7e59b12
xfs: use dontcache for grabbing inodes during scrub
xfs: allow symlinks with short remote targets
xfs: restrict when we try to align cow fork delalloc to cowextsz hints
xfs: allow unlinked symlinks and dirs with zero size

Dave Chinner (1):
xfs: fix unlink vs cluster buffer instantiation race

Wengang Wang (1):
xfs: make sure sb_fdblocks is non-negative

Zhang Yi (4):
xfs: match lock mode in xfs_buffered_write_iomap_begin()
xfs: make the seq argument to xfs_bmapi_convert_delalloc() optional
xfs: make xfs_bmapi_convert_delalloc() to allocate the target offset
xfs: convert delayed extents to unwritten when zeroing post eof blocks

 fs/xfs/libxfs/xfs_attr.c        |  11 +++
 fs/xfs/libxfs/xfs_attr.h        |   4 +-
 fs/xfs/libxfs/xfs_attr_leaf.c   |   6 +-
 fs/xfs/libxfs/xfs_attr_remote.c |   1 -
 fs/xfs/libxfs/xfs_bmap.c        | 130 ++++++++++++++++++++++++++------
 fs/xfs/libxfs/xfs_da_btree.c    |  20 ++---
 fs/xfs/libxfs/xfs_da_format.h   |   5 ++
 fs/xfs/libxfs/xfs_inode_buf.c   |  47 ++++++++++--
 fs/xfs/libxfs/xfs_sb.c          |   7 +-
 fs/xfs/scrub/attr.c             |  47 +++++++-----
 fs/xfs/scrub/common.c           |  12 +--
 fs/xfs/scrub/scrub.h            |   7 ++
 fs/xfs/xfs_aops.c               |  54 ++++---------
 fs/xfs/xfs_attr_item.c          |  98 ++++++++++++++++++++----
 fs/xfs/xfs_attr_list.c          |  11 ++-
 fs/xfs/xfs_bmap_util.c          |  61 +++++++++------
 fs/xfs/xfs_bmap_util.h          |   2 +-
 fs/xfs/xfs_dquot.c              |   1 -
 fs/xfs/xfs_icache.c             |   2 +-
 fs/xfs/xfs_inode.c              |  37 +++++----
 fs/xfs/xfs_iomap.c              |  81 +++++++++++---------
 fs/xfs/xfs_reflink.c            |  20 -----
 fs/xfs/xfs_rtalloc.c            |   2 -
 23 files changed, 433 insertions(+), 233 deletions(-)
Signature · 1 line
2.39.3