]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - quota/quot.c
misc: convert xfrog_bulkstat functions to have v5 semantics
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 30 Sep 2019 17:42:48 +0000 (13:42 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Mon, 30 Sep 2019 17:42:48 +0000 (13:42 -0400)
commit4cca629d6ae38076af327cdae527170807e1420d
tree37edcc76fef42c5ea90a2fb8fc4b2bfbb8e0653a
parent085b39cc3a940c7691fcb16c9304af208cae95a5
misc: convert xfrog_bulkstat functions to have v5 semantics

Convert xfrog_bulkstat() and xfrog_bulkstat_single() to take arguments
using v5 bulkstat semantics and return bulkstat information in v5
structures.  If the v5 ioctl is not available, the xfrog wrapper should
use the v1 ioctl to emulate v5 behaviors.  Add flags to the xfs_fd
structure to constrain emulation for debugging purposes.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
15 files changed:
fsr/xfs_fsr.c
io/open.c
io/swapext.c
libfrog/bulkstat.c
libfrog/bulkstat.h
libfrog/fsgeom.h
quota/quot.c
scrub/inodes.c
scrub/inodes.h
scrub/phase3.c
scrub/phase5.c
scrub/phase6.c
scrub/unicrash.c
scrub/unicrash.h
spaceman/health.c