Re: [GIT PULL] xfs: new code for 5.17

From: Darrick J. Wong
Date: Fri Jan 14 2022 - 23:18:38 EST


On Fri, Jan 14, 2022 at 08:17:12PM -0800, Darrick J. Wong wrote:
> Hi Linus,

Oops, sent this as a reply by accident. I'll resend this as a new
thread; sorry for the noise.

--D

>
> Please pull these bug fixes for Linux 5.17. These are the last few
> obvious fixes that I found while stress testing online fsck for XFS
> prior to initiating a design review of the whole giant machinery.
>
> The branch merges cleanly against upstream as of a few minutes ago.
> Please let me know if anything else strange happens during the merge
> process. There will definitely be a third pull request coming with a
> removal of the recently troublesome ALLOCSP/FREESP ioctl family and the
> long dead SGI XFS HSM ioctls.
>
> --D
>
> The following changes since commit 7e937bb3cbe1f6b9840a43f879aa6e3f1a5e6537:
>
> xfs: warn about inodes with project id of -1 (2022-01-06 10:43:30 -0800)
>
> are available in the Git repository at:
>
> git://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git tags/xfs-5.17-merge-3
>
> for you to fetch changes up to 4a9bca86806fa6fc4fbccf050c1bd36a4778948a:
>
> xfs: fix online fsck handling of v5 feature bits on secondary supers (2022-01-12 09:45:21 -0800)
>
> ----------------------------------------------------------------
> New code for 5.17:
>
> - Fix a minor locking inconsistency in readdir
> - Fix incorrect fs feature bit validation for secondary superblocks
>
> ----------------------------------------------------------------
> Darrick J. Wong (2):
> xfs: take the ILOCK when readdir inspects directory mapping data
> xfs: fix online fsck handling of v5 feature bits on secondary supers
>
> fs/xfs/scrub/agheader.c | 53 ++++++++++++++++++++--------------------
> fs/xfs/scrub/agheader_repair.c | 12 +++++++++
> fs/xfs/xfs_dir2_readdir.c | 55 +++++++++++++++++++++++++++---------------
> 3 files changed, 73 insertions(+), 47 deletions(-)