Skip to content

xfs stable candidate patches for 5.4.y (from v5.7)

Chandan Babu R linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest26 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/26xfs: open code insert range extent split helperfs/xfs/libxfs/xfs_bmap.c fs/xfs/libxfs/xfs_bmap.h fs/xfs/xfs_bmap_util.c+17 -320 replies
2/26xfs: rework insert range into an atomic operationfs/xfs/xfs_bmap_util.c+13 -190 replies
3/26xfs: rework collapse range into an atomic operationfs/xfs/xfs_bmap_util.c+15 -140 replies
4/26xfs: add a function to deal with corrupt buffers post-verifiersfs/xfs/libxfs/xfs_alloc.c fs/xfs/libxfs/xfs_attr_leaf.c fs/xfs/libxfs/xfs_btree.c +9 more+46 -200 replies
5/26xfs: xfs_buf_corruption_error should take __this_addressfs/xfs/xfs_buf.c fs/xfs/xfs_error.c fs/xfs/xfs_error.h+5 -40 replies
6/26xfs: fix buffer corruption reporting when xfs_dir3_free_header_check failsfs/xfs/libxfs/xfs_dir2_node.c+1 -10 replies
7/26xfs: check owner of dir3 data blocksfs/xfs/libxfs/xfs_dir2_data.c+30 -20 replies
8/26xfs: check owner of dir3 blocksfs/xfs/libxfs/xfs_dir2_block.c+31 -20 replies
9/26xfs: Use scnprintf() for avoiding potential buffer overflowfs/xfs/xfs_stats.c+5 -50 replies
10/26xfs: remove the xfs_disk_dquot_t and xfs_dquot_tfs/xfs/libxfs/xfs_dquot_buf.c fs/xfs/libxfs/xfs_format.h fs/xfs/libxfs/xfs_trans_resv.c +6 more+111 -1080 replies
11/26xfs: remove the xfs_dq_logitem_t typedeffs/xfs/xfs_dquot.c fs/xfs/xfs_dquot.h fs/xfs/xfs_dquot_item.h+7 -70 replies
12/26xfs: remove the xfs_qoff_logitem_t typedeffs/xfs/libxfs/xfs_trans_resv.c fs/xfs/xfs_dquot_item.h fs/xfs/xfs_qm_syscalls.c +1 more+39 -340 replies
13/26xfs: Replace function declaration by actual definitionfs/xfs/xfs_qm_syscalls.c+66 -740 replies
14/26xfs: factor out quotaoff intent AIL removal and memory freefs/xfs/xfs_dquot_item.c fs/xfs/xfs_dquot_item.h+21 -90 replies
15/26xfs: fix unmount hang and memory leak on shutdown during quotaofffs/xfs/xfs_dquot_item.c fs/xfs/xfs_qm_syscalls.c+22 -60 replies
16/26xfs: preserve default grace interval during quotacheckfs/xfs/xfs_qm.c+14 -60 replies
17/26xfs: Lower CIL flush limit for large logsfs/xfs/xfs_log_priv.h+23 -60 replies
18/26xfs: Throttle commits on delayed background CIL pushfs/xfs/xfs_log_cil.c fs/xfs/xfs_log_priv.h fs/xfs/xfs_trace.h+58 -40 replies
19/26xfs: factor common AIL item deletion codefs/xfs/xfs_inode_item.c fs/xfs/xfs_trans_ail.c fs/xfs/xfs_trans_priv.h+30 -340 replies
20/26xfs: tail updates only need to occur when LSN changesfs/xfs/xfs_inode_item.c fs/xfs/xfs_trans_ail.c fs/xfs/xfs_trans_priv.h+51 -230 replies
21/26xfs: don't write a corrupt unmount record to force summary counter recalcfs/xfs/xfs_log.c+13 -130 replies
22/26xfs: trylock underlying buffer on dquot flushfs/xfs/xfs_dquot.c fs/xfs/xfs_dquot_item.c fs/xfs/xfs_qm.c+14 -90 replies
23/26xfs: factor out a new xfs_log_force_inode helperfs/xfs/xfs_export.c fs/xfs/xfs_file.c fs/xfs/xfs_inode.c +1 more+22 -240 replies
24/26xfs: reflink should force the log out if mounted with wsyncfs/xfs/xfs_file.c+4 -00 replies
25/26xfs: move inode flush to the sync workqueuefs/xfs/xfs_mount.h fs/xfs/xfs_super.c+28 -50 replies
26/26xfs: fix use-after-free on CIL context on shutdownfs/xfs/xfs_log_cil.c fs/xfs/xfs_log_priv.h+6 -60 replies

Reviews trailers per patch

All 26 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAllison CollinsChristoph HellwigDarrick J. WongDave ChinnerBrian Foster
SeriesA-b A-b A-b
1/26R-b R-b R-b
2/26R-b R-b R-b
3/26R-b R-b
4/26R-b
5/26R-b
6/26R-b
7/26R-b
8/26R-b
9/26R-b
10/26R-b
11/26R-b
12/26R-b
13/26R-b
14/26R-b R-b
15/26R-b R-b
16/26R-b R-b
17/26R-b R-b R-b
18/26R-b R-b
19/26R-b R-b R-b R-b
20/26R-b R-b R-b R-b
21/26R-b R-b
22/26R-b R-b
23/26R-b R-b
24/26R-b R-b
25/26R-b
26/26R-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 5 reviewers.

Read the v1 thread

Cover letter [PATCH 5.4 CANDIDATE 00/26] xfs stable candidate patches for 5.4.y (from v5.7)

Hi Darrick,

This 5.4.y backport series contains fixes from v5.7 release.

This patchset has been tested by executing fstests (via kdevops) using the following XFS configurations,

1. No CRC (with 512 and 4k block size).
2. Reflink/Rmapbt (1k and 4k block size).
3. Reflink without Rmapbt.
4. External log device.

The following lists patches which required other dependency patches to be included,
1. dd87f87d87fa
xfs: rework insert range into an atomic operation
- b73df17e4c5b
xfs: open code insert range extent split helper
2. ce99494c9699
xfs: fix buffer corruption reporting when xfs_dir3_free_header_check fails
- 8d57c21600a5
xfs: add a function to deal with corrupt buffers post-verifiers
- e83cf875d67a
xfs: xfs_buf_corruption_error should take __this_address
3. 8a6271431339
xfs: fix unmount hang and memory leak on shutdown during quotaoff
- 854f82b1f603
xfs: factor out quotaoff intent AIL removal and memory free
- aefe69a45d84
xfs: remove the xfs_disk_dquot_t and xfs_dquot_t
- fd8b81dbbb23
xfs: remove the xfs_dq_logitem_t typedef
- d0bdfb106907
xfs: remove the xfs_qoff_logitem_t typedef
- 1cc95e6f0d7c
xfs: Replace function declaration by actual definition
4. 0e7ab7efe774
xfs: Throttle commits on delayed background CIL push
- 108a42358a05
xfs: Lower CIL flush limit for large logs
5. 8eb807bd8399
xfs: tail updates only need to occur when LSN changes
(This commit improves performance rather than fix a bug. Please let me know if I should drop this patch).
- 4165994ac9672
xfs: factor common AIL item deletion code
6. 5833112df7e9
xfs: reflink should force the log out if mounted with wsync
- 54fbdd1035e3
xfs: factor out a new xfs_log_force_inode helper

Brian Foster (6):
xfs: open code insert range extent split helper
xfs: rework insert range into an atomic operation
xfs: rework collapse range into an atomic operation
xfs: factor out quotaoff intent AIL removal and memory free
xfs: fix unmount hang and memory leak on shutdown during quotaoff
xfs: trylock underlying buffer on dquot flush

Christoph Hellwig (2):
xfs: factor out a new xfs_log_force_inode helper
xfs: reflink should force the log out if mounted with wsync

Darrick J. Wong (8):
xfs: add a function to deal with corrupt buffers post-verifiers
xfs: xfs_buf_corruption_error should take __this_address
xfs: fix buffer corruption reporting when xfs_dir3_free_header_check
fails
xfs: check owner of dir3 data blocks
xfs: check owner of dir3 blocks
xfs: preserve default grace interval during quotacheck
xfs: don't write a corrupt unmount record to force summary counter
recalc
xfs: move inode flush to the sync workqueue

Dave Chinner (5):
xfs: Lower CIL flush limit for large logs
xfs: Throttle commits on delayed background CIL push
xfs: factor common AIL item deletion code
xfs: tail updates only need to occur when LSN changes
xfs: fix use-after-free on CIL context on shutdown

Pavel Reichl (4):
xfs: remove the xfs_disk_dquot_t and xfs_dquot_t
xfs: remove the xfs_dq_logitem_t typedef
xfs: remove the xfs_qoff_logitem_t typedef
xfs: Replace function declaration by actual definition

Takashi Iwai (1):
xfs: Use scnprintf() for avoiding potential buffer overflow

 fs/xfs/libxfs/xfs_alloc.c      |   2 +-
 fs/xfs/libxfs/xfs_attr_leaf.c  |   6 +-
 fs/xfs/libxfs/xfs_bmap.c       |  32 +-------
 fs/xfs/libxfs/xfs_bmap.h       |   3 +-
 fs/xfs/libxfs/xfs_btree.c      |   2 +-
 fs/xfs/libxfs/xfs_da_btree.c   |  10 +--
 fs/xfs/libxfs/xfs_dir2_block.c |  33 +++++++-
 fs/xfs/libxfs/xfs_dir2_data.c  |  32 +++++++-
 fs/xfs/libxfs/xfs_dir2_leaf.c  |   2 +-
 fs/xfs/libxfs/xfs_dir2_node.c  |   8 +-
 fs/xfs/libxfs/xfs_dquot_buf.c  |   8 +-
 fs/xfs/libxfs/xfs_format.h     |  10 +--
 fs/xfs/libxfs/xfs_trans_resv.c |   6 +-
 fs/xfs/xfs_attr_inactive.c     |   6 +-
 fs/xfs/xfs_attr_list.c         |   2 +-
 fs/xfs/xfs_bmap_util.c         |  57 +++++++------
 fs/xfs/xfs_buf.c               |  22 +++++
 fs/xfs/xfs_buf.h               |   2 +
 fs/xfs/xfs_dquot.c             |  26 +++---
 fs/xfs/xfs_dquot.h             |  98 ++++++++++++-----------
 fs/xfs/xfs_dquot_item.c        |  47 ++++++++---
 fs/xfs/xfs_dquot_item.h        |  35 ++++----
 fs/xfs/xfs_error.c             |   7 +-
 fs/xfs/xfs_error.h             |   2 +-
 fs/xfs/xfs_export.c            |  14 +---
 fs/xfs/xfs_file.c              |  16 ++--
 fs/xfs/xfs_inode.c             |  23 +++++-
 fs/xfs/xfs_inode.h             |   1 +
 fs/xfs/xfs_inode_item.c        |  28 +++----
 fs/xfs/xfs_log.c               |  26 +++---
 fs/xfs/xfs_log_cil.c           |  39 +++++++--
 fs/xfs/xfs_log_priv.h          |  53 ++++++++++--
 fs/xfs/xfs_log_recover.c       |   5 +-
 fs/xfs/xfs_mount.h             |   5 ++
 fs/xfs/xfs_qm.c                |  64 +++++++++------
 fs/xfs/xfs_qm_bhv.c            |   6 +-
 fs/xfs/xfs_qm_syscalls.c       | 142 ++++++++++++++++-----------------
 fs/xfs/xfs_stats.c             |  10 +--
 fs/xfs/xfs_super.c             |  28 +++++--
 fs/xfs/xfs_trace.h             |   1 +
 fs/xfs/xfs_trans_ail.c         |  88 ++++++++++++--------
 fs/xfs/xfs_trans_dquot.c       |  54 ++++++-------
 fs/xfs/xfs_trans_priv.h        |   6 +-
 43 files changed, 646 insertions(+), 421 deletions(-)
Signature · 1 line
2.35.1