xfs: Log Attribute Replay
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v29 Latest15 patches 0 repliesNew
- v2815 patches 6 repliesSuperseded
- v2715 patches 7 repliesSuperseded
Earlier versions · 44
Patches in v29 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | xfs: Fix double unlock in defer capture codefs/ | +10 | 0 replies | |
| 2/15 | xfs: don't commit the first deferred transaction without intentsfs/ | +10 | 0 replies | |
| 3/15 | xfs: Return from xfs_attr_set_iter if there are no more rmtblks to processfs/ | +8 | 0 replies | |
| 4/15 | xfs: Set up infrastructure for log attribute replayfs/ fs/ fs/ +14 more | +661 | 0 replies | |
| 5/15 | xfs: Implement attr logging and replayfs/ fs/ fs/ +1 more | +370 | 0 replies | |
| 6/15 | xfs: Skip flip flags for delayed attrsfs/ fs/ | +35 | 0 replies | |
| 7/15 | xfs: Add xfs_attr_set_deferred and xfs_attr_remove_deferredfs/ fs/ fs/ +1 more | +112 | 0 replies | |
| 8/15 | xfs: Remove unused xfs_attr_*_argsfs/ fs/ fs/ +1 more | +14 | 0 replies | |
| 9/15 | xfs: Add log attribute error tagfs/ fs/ fs/ | +13 | 0 replies | |
| 10/15 | xfs: Add larp debug optionfs/ fs/ fs/ +1 more | +30 | 0 replies | |
| 11/15 | xfs: Merge xfs_delattr_context into xfs_attr_itemfs/ fs/ fs/ +2 more | +147 | 0 replies | |
| 12/15 | xfs: Add helper function xfs_attr_leaf_addnamefs/ fs/ | +61 | 0 replies | |
| 13/15 | xfs: Add helper function xfs_init_attr_transfs/ fs/ fs/ | +27 | 0 replies | |
| 14/15 | xfs: add leaf split error tagfs/ fs/ fs/ | +10 | 0 replies | |
| 15/15 | xfs: add leaf to node error tagfs/ fs/ fs/ | +12 | 0 replies |
Reviews trailers per patch
All 15 patches have a Reviewed-by or Acked-by.
| Patch | Chandan Babu R | Darrick J. Wong | Allison Henderson |
|---|---|---|---|
| 1/15 | R-b | ||
| 2/15 | R-b | R-b | |
| 3/15 | R-b | R-b | |
| 4/15 | R-b | R-b | |
| 5/15 | R-b | R-b | |
| 6/15 | R-b | R-b | |
| 7/15 | R-b | R-b | |
| 8/15 | R-b | R-b | |
| 9/15 | R-b | R-b | |
| 10/15 | R-b | R-b | |
| 11/15 | R-b | R-b | |
| 12/15 | R-b | R-b | |
| 13/15 | R-b | R-b | |
| 14/15 | R-b | R-b | R-b |
| 15/15 | R-b | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v29 00/15] xfs: Log Attribute Replay
Hi all,
This set is a subset of a larger series parent pointers. Delayed attributes allow attribute operations (set and remove) to be logged and committed in the same way that other delayed operations do. This allows more complex operations (like parent pointers) to be broken up into multiple smaller transactions. To do this, the existing attr operations must be modified to operate as a delayed operation. This means that they cannot roll, commit, or finish transactions. Instead, they return -EAGAIN to allow the calling function to handle the transaction. In this series, we focus on only the delayed attribute portion. We will introduce parent pointers in a later set.
The set as a whole is a bit much to digest at once, so I usually send out the smaller sub series to reduce reviewer burn out. But the entire extended series is visible through the included github links.
Updates since v28:
xfs: Set up infrastructure for log attribute replay
Fixed xfs_attri_init to initialize shadow buffers for name/value
xfs: Implement attr logging and replay
Updated calls to xfs_attri_init
This series can be viewed on github here:
https://github.com/allisonhenderson/xfs_work/tree/delayed_attrs_v29
As well as the extended delayed attribute and parent pointer series:
https://github.com/allisonhenderson/xfs_work/tree/delayed_attrs_v29_extended
Thanks all!
Allison
Allison Henderson (15):
xfs: Fix double unlock in defer capture code
xfs: don't commit the first deferred transaction without intents
xfs: Return from xfs_attr_set_iter if there are no more rmtblks to
process
xfs: Set up infrastructure for log attribute replay
xfs: Implement attr logging and replay
xfs: Skip flip flags for delayed attrs
xfs: Add xfs_attr_set_deferred and xfs_attr_remove_deferred
xfs: Remove unused xfs_attr_*_args
xfs: Add log attribute error tag
xfs: Add larp debug option
xfs: Merge xfs_delattr_context into xfs_attr_item
xfs: Add helper function xfs_attr_leaf_addname
xfs: Add helper function xfs_init_attr_trans
xfs: add leaf split error tag
xfs: add leaf to node error tag
fs/xfs/Makefile | 1 + fs/xfs/libxfs/xfs_attr.c | 524 ++++++++++++--------- fs/xfs/libxfs/xfs_attr.h | 70 ++- fs/xfs/libxfs/xfs_attr_leaf.c | 9 +- fs/xfs/libxfs/xfs_attr_remote.c | 37 +- fs/xfs/libxfs/xfs_attr_remote.h | 6 +- fs/xfs/libxfs/xfs_da_btree.c | 4 + fs/xfs/libxfs/xfs_defer.c | 35 +- fs/xfs/libxfs/xfs_defer.h | 3 + fs/xfs/libxfs/xfs_errortag.h | 8 +- fs/xfs/libxfs/xfs_format.h | 9 +- fs/xfs/libxfs/xfs_log_format.h | 44 +- fs/xfs/libxfs/xfs_log_recover.h | 2 + fs/xfs/scrub/common.c | 2 + fs/xfs/xfs_attr_item.c | 810 ++++++++++++++++++++++++++++++++ fs/xfs/xfs_attr_item.h | 46 ++ fs/xfs/xfs_attr_list.c | 1 + fs/xfs/xfs_error.c | 9 + fs/xfs/xfs_globals.c | 1 + fs/xfs/xfs_ioctl32.c | 2 + fs/xfs/xfs_iops.c | 2 + fs/xfs/xfs_log.c | 45 ++ fs/xfs/xfs_log.h | 12 + fs/xfs/xfs_log_recover.c | 2 + fs/xfs/xfs_ondisk.h | 2 + fs/xfs/xfs_sysctl.h | 1 + fs/xfs/xfs_sysfs.c | 24 + fs/xfs/xfs_trace.h | 1 + 28 files changed, 1433 insertions(+), 279 deletions(-) create mode 100644 fs/xfs/xfs_attr_item.c create mode 100644 fs/xfs/xfs_attr_item.h
Signature · 1 line
2.25.1