mbox series

[5.4,00/26] xfs stable candidate patches for 5.4.y (from v5.7)

Message ID 20221026062843.927600-1-chandan.babu@oracle.com (mailing list archive)
Headers show
Series xfs stable candidate patches for 5.4.y (from v5.7) | expand

Message

Chandan Babu R Oct. 26, 2022, 6:28 a.m. UTC
Hi Greg,

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

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

Comments

Greg KH Oct. 26, 2022, 2:52 p.m. UTC | #1
On Wed, Oct 26, 2022 at 11:58:17AM +0530, Chandan Babu R wrote:
> Hi Greg,
> 
> This 5.4.y backport series contains XFS fixes from v5.7. The patchset
> has been acked by Darrick.

All now queued up, thanks.

greg k-h
Greg KH Oct. 27, 2022, 2:58 p.m. UTC | #2
On Wed, Oct 26, 2022 at 04:52:24PM +0200, Greg KH wrote:
> On Wed, Oct 26, 2022 at 11:58:17AM +0530, Chandan Babu R wrote:
> > Hi Greg,
> > 
> > This 5.4.y backport series contains XFS fixes from v5.7. The patchset
> > has been acked by Darrick.
> 
> All now queued up, thanks.

You forgot to look at fixes for these fixes :(

I count the following commits as also needed here, right:
	9c516e0e4554 ("xfs: finish dfops on every insert range shift iteration")
	c97738a960a8 ("xfs: clear XFS_DQ_FREEING if we can't lock the dquot buffer to flush")
	5ffce3cc22a0 ("xfs: force the log after remapping a synchronous-writes file")

Hopefully you send these later...

thanks,

greg k-h
Chandan Babu R Oct. 27, 2022, 3:28 p.m. UTC | #3
On Thu, Oct 27, 2022 at 04:58:29 PM +0200, Greg KH wrote:
> On Wed, Oct 26, 2022 at 04:52:24PM +0200, Greg KH wrote:
>> On Wed, Oct 26, 2022 at 11:58:17AM +0530, Chandan Babu R wrote:
>> > Hi Greg,
>> > 
>> > This 5.4.y backport series contains XFS fixes from v5.7. The patchset
>> > has been acked by Darrick.
>> 
>> All now queued up, thanks.
>
> You forgot to look at fixes for these fixes :(
>
> I count the following commits as also needed here, right:
> 	9c516e0e4554 ("xfs: finish dfops on every insert range shift iteration")
> 	c97738a960a8 ("xfs: clear XFS_DQ_FREEING if we can't lock the dquot buffer to flush")
> 	5ffce3cc22a0 ("xfs: force the log after remapping a synchronous-writes file")
>
> Hopefully you send these later...
>

I am sorry. I will backport these fixes and send them to the mailing list
soon.