From: Allison Henderson <allison.henderson@oracle.com>
To: linux-xfs@vger.kernel.org
Subject: [PATCH v3 00/30] xfsprogs: parent pointers v2
Date: Wed, 26 Sep 2018 03:23:03 -0700 [thread overview]
Message-ID: <1537957413-10630-1-git-send-email-allison.henderson@oracle.com> (raw)
This is the 3rd revision of the parent pointer patch set for xfsprogs. The
goal of the set is to enable use of the parent pointer feature on the kernel
side, and provide basic user space utilities.
The first 22 patches synchronize libxfs with changes seen the kernel space
patch. I will pick up the reviews from the kernel side series and mirror them
here.
Some points of interest since v2:
I've updated the series with feedback from the last revisions and also
synchronized the changes from v9 of the kernel side series. Patches 25 and
and 29 are new, so some attention there would be appreciated. Patch 29 adds
flags to the parent command to filter the output based on a particular inode or
filename, which helped to reduce the run time of the xfstests set.
As always, comments and feedback are appreciated. Thank you!
Allison
Allison Henderson (30):
xfsprogs: Move xfs_attr.h to libxfs
xfsprogs: Add helper function xfs_attr_try_sf_addname
xfsprogs: Add attibute set and helper functions
xfsprogs: Add attibute remove and helper functions
xfsprogs: Add trans toggle to attr routines
xfsprogs: Set up infastructure for deferred attribute operations
xfsprogs: Add xfs_attr_set_deferred and xfs_attr_remove_deferred
xfsprogs: Add xfs_has_attr and subroutines
xfs: Add attr context to log item
xfsprogs: Roll delayed attr operations by returning EAGAIN
xfsprogs: Remove roll_trans boolean
xfsprogs: Remove all strlen calls in all xfs_attr_* functions for attr
names
xfsprogs: get directory offset when adding directory name
xfsprogs: get directory offset when removing directory name
xfsprogs: get directory offset when replacing a directory name
xfsprogs: add parent pointer support to attribute code
xfsprogs: define parent pointer xattr format
xfsprogs: extent transaction reservations for parent attributes
xfsprogs: parent pointer attribute creation
xfsprogs: Add the parent pointer support to the superblock version 5.
xfsprogs: Add helper function xfs_attr_list_context_init
xfsprogs: Add parent pointer ioctl
xfsprogs: Add delayed attributes error tag
xfsprogs: Add parent pointer flag to cmd
xfsprogs: Add log item printing for ATTRI and ATTRD
xfsprogs: Add xfs_verify_pptr
xfsprogs: Add parent pointers to recreated inodes
xfsprogs: Add parent pointers during protofile creation
xfsprogs: implement the upper half of parent pointers
xfsprogs: Add i, n and f flags to parent command
include/handle.h | 2 +
include/parent.h | 25 +++
include/path.h | 19 ++
io/inject.c | 1 +
io/parent.c | 506 +++++++++++++++--------------------------------
libfrog/paths.c | 136 +++++++++++++
libhandle/Makefile | 2 +-
libhandle/handle.c | 7 +-
libhandle/parent.c | 361 +++++++++++++++++++++++++++++++++
libxfs/Makefile | 3 +
libxfs/libxfs_api_defs.h | 1 +
libxfs/xfs_attr.c | 495 +++++++++++++++++++++++++++++++---------------
libxfs/xfs_attr.h | 202 +++++++++++++++++++
libxfs/xfs_attr_leaf.c | 49 +++--
libxfs/xfs_attr_leaf.h | 3 +-
libxfs/xfs_attr_remote.c | 20 --
libxfs/xfs_bmap.c | 49 +++--
libxfs/xfs_bmap.h | 1 +
libxfs/xfs_da_btree.h | 1 +
libxfs/xfs_da_format.h | 37 +++-
libxfs/xfs_defer.h | 1 +
libxfs/xfs_dir2.c | 21 +-
libxfs/xfs_dir2.h | 7 +-
libxfs/xfs_dir2_block.c | 9 +-
libxfs/xfs_dir2_leaf.c | 8 +-
libxfs/xfs_dir2_node.c | 8 +-
libxfs/xfs_dir2_sf.c | 6 +
libxfs/xfs_errortag.h | 4 +-
libxfs/xfs_format.h | 10 +-
libxfs/xfs_fs.h | 46 +++++
libxfs/xfs_log_format.h | 44 ++++-
libxfs/xfs_parent.c | 207 +++++++++++++++++++
libxfs/xfs_parent.h | 37 ++++
libxfs/xfs_sb.c | 2 +
libxfs/xfs_trans_resv.c | 111 ++++++++---
libxfs/xfs_trans_resv.h | 1 +
libxfs/xfs_types.h | 1 +
logprint/log_misc.c | 11 ++
logprint/log_print_all.c | 12 ++
logprint/log_redo.c | 262 ++++++++++++++++++++++++
logprint/logprint.h | 6 +
mkfs/proto.c | 41 ++--
mkfs/xfs_mkfs.c | 23 ++-
repair/attr_repair.c | 21 +-
repair/da_util.c | 43 ++++
repair/da_util.h | 12 ++
repair/phase6.c | 52 +++--
scrub/inodes.c | 26 +++
scrub/inodes.h | 2 +
scrub/phase5.c | 9 +-
50 files changed, 2298 insertions(+), 665 deletions(-)
create mode 100644 libhandle/parent.c
create mode 100644 libxfs/xfs_attr.h
create mode 100644 libxfs/xfs_parent.c
create mode 100644 libxfs/xfs_parent.h
--
2.7.4
next reply other threads:[~2018-09-26 16:38 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-26 10:23 Allison Henderson [this message]
2018-09-26 10:23 ` [PATCH v3 01/30] xfsprogs: Move xfs_attr.h to libxfs Allison Henderson
2018-09-26 10:23 ` [PATCH v3 02/30] xfsprogs: Add helper function xfs_attr_try_sf_addname Allison Henderson
2018-09-26 10:23 ` [PATCH v3 03/30] xfsprogs: Add attibute set and helper functions Allison Henderson
2018-09-26 10:23 ` [PATCH v3 04/30] xfsprogs: Add attibute remove " Allison Henderson
2018-09-26 10:23 ` [PATCH v3 05/30] xfsprogs: Add trans toggle to attr routines Allison Henderson
2018-09-26 10:23 ` [PATCH v3 06/30] xfsprogs: Set up infastructure for deferred attribute operations Allison Henderson
2018-09-26 10:23 ` [PATCH v3 07/30] xfsprogs: Add xfs_attr_set_deferred and xfs_attr_remove_deferred Allison Henderson
2018-09-26 10:23 ` [PATCH v3 08/30] xfsprogs: Add xfs_has_attr and subroutines Allison Henderson
2018-09-26 10:23 ` [PATCH v3 09/30] xfsprogs: Add attr context to log item Allison Henderson
2018-09-26 10:23 ` [PATCH v3 10/30] xfsprogs: Roll delayed attr operations by returning EAGAIN Allison Henderson
2018-09-26 10:23 ` [PATCH v3 11/30] xfsprogs: Remove roll_trans boolean Allison Henderson
2018-09-26 10:23 ` [PATCH v3 12/30] xfsprogs: Remove all strlen calls in all xfs_attr_* functions for attr names Allison Henderson
2018-09-26 10:23 ` [PATCH v3 13/30] xfsprogs: get directory offset when adding directory name Allison Henderson
2018-09-26 10:23 ` [PATCH v3 14/30] xfsprogs: get directory offset when removing " Allison Henderson
2018-09-26 10:23 ` [PATCH v3 15/30] xfsprogs: get directory offset when replacing a " Allison Henderson
2018-09-26 10:23 ` [PATCH v3 16/30] xfsprogs: add parent pointer support to attribute code Allison Henderson
2018-09-26 10:23 ` [PATCH v3 17/30] xfsprogs: define parent pointer xattr format Allison Henderson
2018-09-26 10:23 ` [PATCH v3 18/30] xfsprogs: extent transaction reservations for parent attributes Allison Henderson
2018-09-26 10:23 ` [PATCH v3 19/30] xfsprogs: parent pointer attribute creation Allison Henderson
2018-09-26 10:23 ` [PATCH v3 20/30] xfsprogs: Add the parent pointer support to the superblock version 5 Allison Henderson
2018-09-26 10:23 ` [PATCH v3 21/30] xfsprogs: Add helper function xfs_attr_list_context_init Allison Henderson
2018-09-26 10:23 ` [PATCH v3 22/30] xfsprogs: Add parent pointer ioctl Allison Henderson
2018-09-26 10:23 ` [PATCH v3 23/30] xfs_io: Add delayed attributes error tag Allison Henderson
2018-09-26 10:23 ` [PATCH v3 24/30] xfsprogs: Add parent pointer flag to cmd Allison Henderson
2018-09-26 10:23 ` [PATCH v3 25/30] xfsprogs: Add log item printing for ATTRI and ATTRD Allison Henderson
2018-09-26 10:23 ` [PATCH v3 26/30] xfsprogs: Add xfs_verify_pptr Allison Henderson
2018-09-26 10:23 ` [PATCH v3 27/30] xfsprogs: Add parent pointers to recreated inodes Allison Henderson
2018-09-26 10:23 ` [PATCH v3 28/30] xfsprogs: Add parent pointers during protofile creation Allison Henderson
2018-09-26 10:23 ` [PATCH v3 29/30] xfsprogs: implement the upper half of parent pointers Allison Henderson
2018-09-26 10:23 ` [PATCH v3 30/30] xfsprogs: Add i, n and f flags to parent command Allison Henderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1537957413-10630-1-git-send-email-allison.henderson@oracle.com \
--to=allison.henderson@oracle.com \
--cc=linux-xfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).