mbox series

[v2,00/21] Delayed Attributes

Message ID 20190905221855.17555-1-allison.henderson@oracle.com (mailing list archive)
Headers show
Series Delayed Attributes | expand

Message

Allison Henderson Sept. 5, 2019, 10:18 p.m. UTC
This set applies the corresponding changes for delayed attributes to xfsprogs.  
The goal of the set is to provide basic utilities to replay and print the new
attribute log entries.

The first 19 patches synchronize libxfs with changes seen the kernel space
patches. The last two  patches add routines for journal replay and also a
cli option to enable the delayed attributes feature bit. I will pick up the
reviews from the kernel side series and mirror them here.  

Thanks all!
Allison

Allison Collins (20):
  xfsprogs: Replace attribute parameters with struct xfs_name
  xfsprogs: Embed struct xfs_name in xfs_da_args
  xfsprogs: Add xfs_dabuf defines
  xfsprogs: Add xfs_has_attr and subroutines
  xfsprogs: Factor out new helper functions xfs_attr_rmtval_set
  xfsprogs: Factor up trans handling in xfs_attr3_leaf_flipflags
  xfsprogs: Factor out xfs_attr_leaf_addname helper
  xfsprogs: Factor up commit from xfs_attr_try_sf_addname
  xfsprogs: Factor up trans roll from xfs_attr3_leaf_setflag
  xfsprogs: Add xfs_attr3_leaf helper functions
  xfsprogs: Factor out xfs_attr_rmtval_invalidate
  xfsprogs: Factor up trans roll in xfs_attr3_leaf_clearflag
  xfsprogs: Add delay context to xfs_da_args
  xfsprogs: Add delayed attribute routines
  xfsprogs: Set up infastructure for deferred attribute operations
  xfsprogs: Add xfs_attr_set_deferred and xfs_attr_remove_deferred
  xfsprogs: Add feature bit XFS_SB_FEAT_INCOMPAT_LOG_DELATTR
  xfsprogs: Enable delayed attributes
  xfs_io: Add delayed attributes error tag
  xfsprogs: Add delayed attribute flag to cmd

Allison Henderson (1):
  xfsprogs: Add log item printing for ATTRI and ATTRD

 db/attrset.c             |   14 +-
 io/inject.c              |    1 +
 libxfs/defer_item.c      |  175 +++++++-
 libxfs/libxfs_priv.h     |   15 +-
 libxfs/xfs_attr.c        | 1068 ++++++++++++++++++++++++++++++++++++++++------
 libxfs/xfs_attr.h        |   53 ++-
 libxfs/xfs_attr_leaf.c   |  284 ++++++++----
 libxfs/xfs_attr_leaf.h   |    7 +
 libxfs/xfs_attr_remote.c |  103 +++--
 libxfs/xfs_attr_remote.h |    4 +-
 libxfs/xfs_da_btree.c    |    8 +-
 libxfs/xfs_da_btree.h    |   27 +-
 libxfs/xfs_defer.c       |    1 +
 libxfs/xfs_defer.h       |    3 +
 libxfs/xfs_dir2.c        |   22 +-
 libxfs/xfs_dir2_block.c  |    6 +-
 libxfs/xfs_dir2_leaf.c   |    6 +-
 libxfs/xfs_dir2_node.c   |    8 +-
 libxfs/xfs_dir2_sf.c     |   30 +-
 libxfs/xfs_errortag.h    |    4 +-
 libxfs/xfs_format.h      |   11 +-
 libxfs/xfs_fs.h          |    1 +
 libxfs/xfs_log_format.h  |   44 +-
 libxfs/xfs_sb.c          |    2 +
 libxfs/xfs_types.h       |    1 +
 logprint/log_misc.c      |   31 +-
 logprint/log_print_all.c |   12 +
 logprint/log_redo.c      |  197 +++++++++
 logprint/logprint.h      |    9 +
 mkfs/xfs_mkfs.c          |   24 +-
 30 files changed, 1854 insertions(+), 317 deletions(-)