mbox series

[0/5] xfsprogs: Large extent counters

Message ID 20220525053630.734938-1-chandan.babu@oracle.com (mailing list archive)
Headers show
Series xfsprogs: Large extent counters | expand

Message

Chandan Babu R May 25, 2022, 5:36 a.m. UTC
This patchset implements the changes to userspace programs that are
required to support large per-inode extent counters. These changes
allow programs in xfsprogs to be able to create and work with
filesystem instances with 64-bit data fork extent counter and 32-bit
attr fork extent counter fields.

The patchset can also be obtained from
https://github.com/chandanr/xfsprogs-dev.git at branch
large-extent-counters.

PS: Dave, I noticed that xfs/070 is failing during xfstest runs. This
failure is seen on libxfs-5.19-sync branch as well. The bad commit was
"xfs: validate v5 feature fields". I will debug this and find the root
cause.

Chandan Babu R (4):
  xfsprogs: Invoke bulkstat ioctl with XFS_BULK_IREQ_NREXT64 flag
  xfs_info: Report NREXT64 feature status
  mkfs: Add option to create filesystem with large extent counters
  xfs_repair: Add support for upgrading to large extent counters

Darrick J. Wong (1):
  xfs_repair: check filesystem geometry before allowing upgrades

 fsr/xfs_fsr.c                 |   4 +-
 include/libxfs.h              |   1 +
 include/xfs_mount.h           |   1 +
 io/bulkstat.c                 |   1 +
 libfrog/bulkstat.c            |  29 ++++-
 libfrog/fsgeom.c              |   6 +-
 libxfs/init.c                 |  24 ++--
 libxfs/libxfs_api_defs.h      |   3 +
 man/man2/ioctl_xfs_bulkstat.2 |  10 +-
 man/man8/mkfs.xfs.8.in        |   7 ++
 man/man8/xfs_admin.8          |   7 ++
 mkfs/lts_4.19.conf            |   1 +
 mkfs/lts_5.10.conf            |   1 +
 mkfs/lts_5.15.conf            |   1 +
 mkfs/lts_5.4.conf             |   1 +
 mkfs/xfs_mkfs.c               |  23 ++++
 repair/globals.c              |   1 +
 repair/globals.h              |   1 +
 repair/phase2.c               | 230 ++++++++++++++++++++++++++++++++--
 repair/xfs_repair.c           |  11 ++
 20 files changed, 339 insertions(+), 24 deletions(-)

Comments

Chandan Babu R May 25, 2022, 9:36 a.m. UTC | #1
On Wed, May 25, 2022 at 11:06:25 AM +0530, Chandan Babu R wrote:
> This patchset implements the changes to userspace programs that are
> required to support large per-inode extent counters. These changes
> allow programs in xfsprogs to be able to create and work with
> filesystem instances with 64-bit data fork extent counter and 32-bit
> attr fork extent counter fields.
>
> The patchset can also be obtained from
> https://github.com/chandanr/xfsprogs-dev.git at branch
> large-extent-counters.
>
> PS: Dave, I noticed that xfs/070 is failing during xfstest runs. This
> failure is seen on libxfs-5.19-sync branch as well. The bad commit was
> "xfs: validate v5 feature fields". I will debug this and find the root
> cause.

The failure is due to the above mentioned patch changing the warning message
printed (in xfs_validate_sb_common()) when an invalid superblock magic number
is detected.