Skip to content

btrfs: log tree fixes and cleanups

[email protected] linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 21 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12btrfs: fix missing error handling when searching for inode refs during log replayfs/btrfs/tree-log.c+3 -12 replies
2/12btrfs: fix iteration of extrefs during log replayfs/btrfs/tree-log.c+2 -23 replies
3/12btrfs: fix inode lookup error handling during log replayfs/btrfs/tree-log.c+62 -651 reply
4/12btrfs: record new subvolume in parent dir earlier to avoid dir logging racesfs/btrfs/ioctl.c fs/btrfs/tree-log.c+4 -21 reply
5/12btrfs: propagate last_unlink_trans earlier when doing a rmdirfs/btrfs/inode.c+18 -181 reply
6/12btrfs: use btrfs_record_snapshot_destroy() during rmdirfs/btrfs/inode.c+1 -13 replies
7/12btrfs: use inode already stored in local variable at btrfs_rmdir()fs/btrfs/inode.c+1 -23 replies
8/12btrfs: use btrfs inodes in btrfs_rmdir() to avoid so much usage of BTRFS_I()fs/btrfs/inode.c+16 -151 reply
9/12btrfs: split inode ref processing from __add_inode_ref() into a helperfs/btrfs/tree-log.c+62 -441 reply
10/12btrfs: split inode rextef processing from __add_inode_ref() into a helperfs/btrfs/tree-log.c+74 -572 replies
11/12btrfs: add btrfs prefix to is_fsstree() and make it return boolfs/btrfs/ctree.h fs/btrfs/delayed-ref.c fs/btrfs/disk-io.c +7 more+41 -401 reply
12/12btrfs: split btrfs_is_fsstree() into multiple if statements for readabilityfs/btrfs/ctree.h+9 -41 reply

Reviews trailers per patch

All 12 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJohannes ThumshirnQu Wenruo
SeriesR-b
1/12R-b
2/12R-b
3/12R-b
4/12R-b
5/12R-b
6/12R-b
7/12R-b
8/12R-b
9/12R-b
10/12R-b
11/12R-b
12/12R-b

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 00/12] btrfs: log tree fixes and cleanups

From: Filipe Manana <[email protected]>

Several bug fixes for logging and log replay, plus some cleanups. Details in the changelogs.

Filipe Manana (12):
btrfs: fix missing error handling when searching for inode refs during log replay
btrfs: fix iteration of extrefs during log replay
btrfs: fix inode lookup error handling during log replay
btrfs: record new subvolume in parent dir earlier to avoid dir logging races
btrfs: propagate last_unlink_trans earlier when doing a rmdir
btrfs: use btrfs_record_snapshot_destroy() during rmdir
btrfs: use inode already stored in local variable at btrfs_rmdir()
btrfs: use btrfs inodes in btrfs_rmdir() to avoid so much usage of BTRFS_I()
btrfs: split inode ref processing from __add_inode_ref() into a helper
btrfs: split inode rextef processing from __add_inode_ref() into a helper
btrfs: add btrfs prefix to is_fsstree() and make it return bool
btrfs: split btrfs_is_fsstree() into multiple if statements for readability

 fs/btrfs/ctree.h        |  17 +-
 fs/btrfs/delayed-ref.c  |  10 +-
 fs/btrfs/disk-io.c      |   8 +-
 fs/btrfs/extent-tree.c  |   6 +-
 fs/btrfs/extent_map.c   |   6 +-
 fs/btrfs/inode.c        |  64 +++----
 fs/btrfs/ioctl.c        |   8 +-
 fs/btrfs/qgroup.c       |  25 +--
 fs/btrfs/relocation.c   |   2 +-
 fs/btrfs/tree-checker.c |  12 +-
 fs/btrfs/tree-log.c     | 362 ++++++++++++++++++++++------------------
 11 files changed, 281 insertions(+), 239 deletions(-)
Signature · 1 line
2.47.2