[PATCH 5.10 v2 0/8] xfs fixes for 5.10.y (part 2)

Amir Goldstein
2022-06-06T14:33:07Z

Hi Greg,

This is the 2nd round of xfs fixes for 5.10.y.

The fixes in this part are from circa v5.11..v5.12.
Per Luis' advise, I am trying to post a small number
of fixes per LTS release.

These fixes have been soaking in the kdevops test env for the past
week with no regressions observed from baseline 5.10.y.
One backported fix was identified as a stable regression, so it
was removed even before being posted as a candidate.

These fixes have been posted to review on xfs list [1].

Following review of stable candidates, one fix was removed
("xfs: fix up non-directory creation in SGID directories")
because some effects of this change are still being fixed upstream
and there was no consensus whether applying this fix alone is
desired. It is still in my queue and will be posted to stable
sometime later when remaining upstream issues are resolved.

Following review of another candidate, Dave has pointed me to a
related fix that just got merged ("xfs: assert in xfs_btree_del_cursor
should take into account error"), so I included it in my test tree and
in this round of stable patches.

I would like to thank all the xfs developers that helped in the review
of the stable candidates.

I would like to thank Samsung for contributing the hardware for the
kdevops test environment and especially to Luis for his ongoing support
in the test environment, which does most of the work for me :)

Thanks,
Amir.

[1] https://lore.kernel.org/linux-xfs/20220601104547.260949-1-amir73il@gmail.com/

Brian Foster (3):
xfs: sync lazy sb accounting on quiesce of read-only mounts
xfs: restore shutdown check in mapped write fault path
xfs: consider shutdown in bmapbt cursor delete assert

Darrick J. Wong (3):
xfs: fix chown leaking delalloc quota blocks when fssetxattr fails
xfs: fix incorrect root dquot corruption error when switching
group/project quota types
xfs: force log and push AIL to clear pinned inodes when aborting mount

Dave Chinner (1):
xfs: assert in xfs_btree_del_cursor should take into account error

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

fs/xfs/libxfs/xfs_btree.c | 35 +++++++--------
fs/xfs/xfs_dquot.c | 39 +++++++++++++++-
fs/xfs/xfs_iomap.c | 3 ++
fs/xfs/xfs_log.c | 28 ++++++++----
fs/xfs/xfs_log.h | 1 +
fs/xfs/xfs_mount.c | 93 +++++++++++++++++++--------------------
fs/xfs/xfs_qm.c | 92 +++++++++++++++-----------------------
fs/xfs/xfs_symlink.c | 1 +
8 files changed, 158 insertions(+), 134 deletions(-)

--
2.25.1