]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfsprogs: Invoke bulkstat ioctl with XFS_BULK_IREQ_NREXT64 flag
authorChandan Babu R <chandan.babu@oracle.com>
Wed, 22 Jun 2022 19:28:52 +0000 (14:28 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Wed, 22 Jun 2022 19:28:52 +0000 (14:28 -0500)
commitac87307e07fb3d842cd5e01c6d03ba1431d3e34e
tree45a04a6e331c16e802bb091cbbb47ef883032788
parentf4ba72b09e303f29cbd52e1ce7ea9cbaf6d89581
xfsprogs: Invoke bulkstat ioctl with XFS_BULK_IREQ_NREXT64 flag

This commit adds support to libfrog to enable reporting 64-bit extent counters
to its users. In order to do so, bulkstat ioctl is now invoked with the newly
introduced XFS_BULK_IREQ_NREXT64 flag if the underlying filesystem's geometry
supports 64-bit extent counters.

Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandan.babu@oracle.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
fsr/xfs_fsr.c
io/bulkstat.c
libfrog/bulkstat.c
man/man2/ioctl_xfs_bulkstat.2