mbox series

[PATCHSET,v10r1d2,0/2] xfsprogs: actually use getparent ioctl

Message ID 167899415768.16530.9685924832572537457.stgit@frogsfrogsfrogs (mailing list archive)
Headers show
Series xfsprogs: actually use getparent ioctl | expand

Message

Darrick J. Wong March 16, 2023, 7:18 p.m. UTC
Hi all,

Yikes.  The userspace parent pointers support code dates from 2017 and
is very very moldy.  This patchset moves the xfs_io filtering stuff back
to xfs_io.  It also moves the parent pointer support code to libfrog
because we don't want to expose things via libhandle until we're
absolutely sure that we want to do that.

(We probably want to do that some day.)

Finally, adapt xfs_scrub to use parent pointer information whenever it
has something to say about a file handle that it has open.

If you're going to start using this mess, you probably ought to just
pull from my git trees, which are linked below.

This is an extraordinary way to destroy everything.  Enjoy!
Comments and questions are, as always, welcome.
xfsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=pptrs-use-getparents
---
 scrub/common.c |   21 +++++++++++++++++++++
 scrub/inodes.c |   26 --------------------------
 scrub/inodes.h |    2 --
 3 files changed, 21 insertions(+), 28 deletions(-)