Skip to content

Delayed Attributes

Allison Collins linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest19 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19xfsprogs: Remove all strlen in all xfs_attr_* functions for attr names.db/attrset.c libxfs/libxfs_priv.h libxfs/xfs_attr.c +1 more+22 -120 replies
2/19xfsprog: Replace attribute parameters with struct xfs_namedb/attrset.c libxfs/libxfs_priv.h libxfs/xfs_attr.c +1 more+36 -440 replies
3/19xfsprogs: Set up infastructure for deferred attribute operationslibxfs/defer_item.c libxfs/libxfs_priv.h libxfs/xfs_attr.c +5 more+237 -50 replies
4/19xfsprogs: Add xfs_attr_set_deferred and xfs_attr_remove_deferredlibxfs/xfs_attr.c libxfs/xfs_attr.h+79 -00 replies
5/19xfsprogs: Add xfs_has_attr and subroutineslibxfs/xfs_attr.c libxfs/xfs_attr.h libxfs/xfs_attr_leaf.c +1 more+158 -780 replies
6/19xfsprogs: Factor out new helper functions xfs_attr_rmtval_setlibxfs/xfs_attr_remote.c libxfs/xfs_attr_remote.h+58 -190 replies
7/19xfsprogs: Factor up trans handling in xfs_attr3_leaf_flipflagslibxfs/xfs_attr.c libxfs/xfs_attr_leaf.c+10 -50 replies
8/19xfsprogs: Factor out xfs_attr_leaf_addname helperlibxfs/xfs_attr.c+29 -140 replies
9/19xfsprogs: Factor up commit from xfs_attr_try_sf_addnamelibxfs/xfs_attr.c+8 -70 replies
10/19xfsprogs: Factor up trans roll from xfs_attr3_leaf_setflaglibxfs/xfs_attr.c libxfs/xfs_attr_leaf.c+6 -40 replies
11/19xfsprogs: Add xfs_attr3_leaf helper functionslibxfs/xfs_attr_leaf.c libxfs/xfs_attr_leaf.h+80 -00 replies
12/19xfsprogs: Factor out xfs_attr_rmtval_remove_valuelibxfs/xfs_attr_remote.c libxfs/xfs_attr_remote.h+20 -60 replies
13/19xfsprogs: Factor up trans roll in xfs_attr3_leaf_clearflaglibxfs/xfs_attr.c libxfs/xfs_attr_leaf.c+13 -40 replies
14/19xfsprogs: Add delay context to xfs_da_argslibxfs/xfs_attr.h libxfs/xfs_da_btree.h+29 -00 replies
15/19xfsprogs: Add delayed attribute routineslibxfs/xfs_attr.c libxfs/xfs_attr.h+722 -00 replies
16/19xfsprogs: Roll delayed attr operations by returning EAGAINlibxfs/defer_item.c+28 -160 replies
17/19xfsprogs: Enable delayed attributeslibxfs/xfs_attr.c+24 -20 replies
18/19xfsprogs: Add delayed attributes error tagio/inject.c libxfs/xfs_errortag.h+4 -12 replies
19/19xfsprogs: Add log item printing for ATTRI and ATTRDlogprint/log_misc.c logprint/log_print_all.c logprint/log_redo.c +1 more+238 -12 replies

Reviews trailers per patch

2 of 19 patches have a Reviewed-by or Acked-by.

PatchDarrick J. WongBrian Foster
1/19R-b R-b
2/19
3/19
4/19
5/19
6/19
7/19
8/19
9/19
10/19
11/19
12/19
13/19
14/19
15/19
16/19
17/19
18/19R-b
19/19

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 00/19] Delayed Attributes

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 18 patches synchronize libxfs with changes seen the kernel space patches. The last patch adds routines for journal replay and printing. I will pick up the reviews from the kernel side series and mirror them here.

Thanks all!
Allison

Allison Collins (18):
xfsprogs: Remove all strlen in all xfs_attr_* functions for attr
names.
xfsprog: Replace attribute parameters with struct xfs_name
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
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_remove_value
xfsprogs: Factor up trans roll in xfs_attr3_leaf_clearflag
xfsprogs: Add delay context to xfs_da_args
xfsprogs: Add delayed attribute routines
xfsprogs: Roll delayed attr operations by returning EAGAIN
xfsprogs: Enable delayed attributes
xfsprogs: Add delayed attributes error tag

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

 db/attrset.c             |   13 +-
 io/inject.c              |    1 +
 libxfs/defer_item.c      |  174 ++++++-
 libxfs/libxfs_priv.h     |   12 +-
 libxfs/xfs_attr.c        | 1145 +++++++++++++++++++++++++++++++++++++++++-----
 libxfs/xfs_attr.h        |   49 +-
 libxfs/xfs_attr_leaf.c   |  167 +++++--
 libxfs/xfs_attr_leaf.h   |    4 +
 libxfs/xfs_attr_remote.c |   98 +++-
 libxfs/xfs_attr_remote.h |    5 +-
 libxfs/xfs_da_btree.h    |   23 +
 libxfs/xfs_defer.c       |    1 +
 libxfs/xfs_defer.h       |    3 +
 libxfs/xfs_errortag.h    |    4 +-
 libxfs/xfs_log_format.h  |   44 +-
 libxfs/xfs_types.h       |    1 +
 logprint/log_misc.c      |   31 +-
 logprint/log_print_all.c |   12 +
 logprint/log_redo.c      |  189 ++++++++
 logprint/logprint.h      |    7 +
 20 files changed, 1783 insertions(+), 200 deletions(-)
Signature · 1 line
2.7.4