mbox series

[5.4,00/17] xfs stable candidate patches for 5.4.y (from v5.11 & v5.12)

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

Message

Chandan Babu R April 12, 2023, 4:26 a.m. UTC
Hi Greg,

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

As a side note, where applicable, patches have been cherry picked from
5.10.y rather than from v5.11/v5.12.

Brian Foster (2):
  xfs: consider shutdown in bmapbt cursor delete assert
  xfs: don't reuse busy extents on extent trim

Christoph Hellwig (10):
  xfs: merge the projid fields in struct xfs_icdinode
  xfs: ensure that the inode uid/gid match values match the icdinode
    ones
  xfs: remove the icdinode di_uid/di_gid members
  xfs: remove the kuid/kgid conversion wrappers
  xfs: add a new xfs_sb_version_has_v3inode helper
  xfs: only check the superblock version for dinode size calculation
  xfs: simplify di_flags2 inheritance in xfs_ialloc
  xfs: simplify a check in xfs_ioctl_setattr_check_cowextsize
  xfs: remove the di_version field from struct icdinode
  xfs: fix up non-directory creation in SGID directories

Darrick J. Wong (3):
  xfs: report corruption only as a regular error
  xfs: shut down the filesystem if we screw up quota reservation
  xfs: force log and push AIL to clear pinned inodes when aborting mount

Jeffrey Mitchell (1):
  xfs: set inode size after creating symlink

Kaixu Xia (1):
  xfs: show the proper user quota options

 fs/xfs/libxfs/xfs_attr_leaf.c  |  5 +-
 fs/xfs/libxfs/xfs_bmap.c       | 10 ++--
 fs/xfs/libxfs/xfs_btree.c      | 30 +++++-------
 fs/xfs/libxfs/xfs_format.h     | 33 ++++++++++---
 fs/xfs/libxfs/xfs_ialloc.c     |  6 +--
 fs/xfs/libxfs/xfs_inode_buf.c  | 54 +++++++-------------
 fs/xfs/libxfs/xfs_inode_buf.h  |  8 +--
 fs/xfs/libxfs/xfs_inode_fork.c |  2 +-
 fs/xfs/libxfs/xfs_inode_fork.h |  9 +---
 fs/xfs/libxfs/xfs_log_format.h | 10 ++--
 fs/xfs/libxfs/xfs_trans_resv.c |  2 +-
 fs/xfs/xfs_acl.c               | 12 +++--
 fs/xfs/xfs_bmap_util.c         | 16 +++---
 fs/xfs/xfs_buf_item.c          |  2 +-
 fs/xfs/xfs_dquot.c             |  6 +--
 fs/xfs/xfs_error.c             |  2 +-
 fs/xfs/xfs_extent_busy.c       | 14 ------
 fs/xfs/xfs_icache.c            |  8 ++-
 fs/xfs/xfs_inode.c             | 61 ++++++++---------------
 fs/xfs/xfs_inode.h             | 21 +-------
 fs/xfs/xfs_inode_item.c        | 20 ++++----
 fs/xfs/xfs_ioctl.c             | 22 ++++-----
 fs/xfs/xfs_iops.c              | 11 +----
 fs/xfs/xfs_itable.c            |  8 +--
 fs/xfs/xfs_linux.h             | 32 +++---------
 fs/xfs/xfs_log_recover.c       |  6 +--
 fs/xfs/xfs_mount.c             | 90 +++++++++++++++++-----------------
 fs/xfs/xfs_qm.c                | 43 +++++++++-------
 fs/xfs/xfs_qm_bhv.c            |  2 +-
 fs/xfs/xfs_quota.h             |  4 +-
 fs/xfs/xfs_super.c             | 10 ++--
 fs/xfs/xfs_symlink.c           |  7 ++-
 fs/xfs/xfs_trans_dquot.c       | 16 ++++--
 33 files changed, 248 insertions(+), 334 deletions(-)

Comments

Greg KH April 18, 2023, 9:49 a.m. UTC | #1
On Wed, Apr 12, 2023 at 09:56:07AM +0530, Chandan Babu R wrote:
> Hi Greg,
> 
> This 5.4.y backport series contains XFS fixes from v5.11 & v5.12. The
> patchset has been acked by Darrick.
> 
> As a side note, where applicable, patches have been cherry picked from
> 5.10.y rather than from v5.11/v5.12.

all now queued up, thanks.

greg k-h
Greg KH April 18, 2023, 10:53 a.m. UTC | #2
On Tue, Apr 18, 2023 at 11:49:04AM +0200, Greg KH wrote:
> On Wed, Apr 12, 2023 at 09:56:07AM +0530, Chandan Babu R wrote:
> > Hi Greg,
> > 
> > This 5.4.y backport series contains XFS fixes from v5.11 & v5.12. The
> > patchset has been acked by Darrick.
> > 
> > As a side note, where applicable, patches have been cherry picked from
> > 5.10.y rather than from v5.11/v5.12.
> 
> all now queued up, thanks.

Wait, did you miss commit ada49d64fb35 ("xfs: fix forkoff miscalculation
related to XFS_LITINO(mp)")?
Chandan Babu R April 18, 2023, 12:39 p.m. UTC | #3
On Tue, Apr 18, 2023 at 12:53:25 PM +0200, Greg KH wrote:
> On Tue, Apr 18, 2023 at 11:49:04AM +0200, Greg KH wrote:
>> On Wed, Apr 12, 2023 at 09:56:07AM +0530, Chandan Babu R wrote:
>> > Hi Greg,
>> > 
>> > This 5.4.y backport series contains XFS fixes from v5.11 & v5.12. The
>> > patchset has been acked by Darrick.
>> > 
>> > As a side note, where applicable, patches have been cherry picked from
>> > 5.10.y rather than from v5.11/v5.12.
>> 
>> all now queued up, thanks.
>
> Wait, did you miss commit ada49d64fb35 ("xfs: fix forkoff miscalculation
> related to XFS_LITINO(mp)")?

Yes, unfortunately I missed that commit.

I always invoked my "find fixes" script as shown below,

# find-fixes-for-xfs-fixes.sh v5.11 v6.2 ~/junk/commits-fixes.log

The commits to be searched for "fixes for backported commits" spanned from the
kernel from which the fixes were backported to the latest upstream kernel. I
passed v5.11 as the argument since I was backporting patches from v5.11 and
v5.12.

However, e9e2eae89ddb ("xfs: only check the superblock version for dinode size
calculation") was from v5.7 and hence I missed ada49d64fb35.

# find-fixes-for-xfs-fixes.sh v5.4 v6.2 ~/junk/commits-fixes.log
ada49d64fb3538144192181db05de17e2ffc3551 e9e2eae89ddb

I will test the fix and send it out soon.