Skip to content

btrfs: some 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 Latest8 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8btrfs: fix missing error handling when logging directory itemsfs/btrfs/tree-log.c+9 -00 replies
2/8btrfs: fix directory logging due to race with concurrent index key deletionfs/btrfs/tree-log.c+15 -60 replies
3/8btrfs: add missing setup of log for full commit at add_conflicting_inode()fs/btrfs/tree-log.c+3 -10 replies
4/8btrfs: do not abort transaction on failure to write log tree when syncing logfs/btrfs/disk-io.c fs/btrfs/tree-log.c+8 -30 replies
5/8btrfs: do not abort transaction on failure to update log rootfs/btrfs/tree-log.c+4 -70 replies
6/8btrfs: simplify update of last_dir_index_offset when logging a directoryfs/btrfs/tree-log.c fs/btrfs/tree-log.h+17 -82 replies
7/8btrfs: use a negative value for BTRFS_LOG_FORCE_COMMITfs/btrfs/tree-log.c fs/btrfs/tree-log.h+10 -90 replies
8/8btrfs: use a single variable to track return value for log_dir_items()fs/btrfs/tree-log.c+18 -190 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJosef Bacik
SeriesR-b
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8

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 0/8] btrfs: some log tree fixes and cleanups

From: Filipe Manana <[email protected]>

Some fixes mostly around directory logging and some cleanups (the last three patches).

Filipe Manana (8):
btrfs: fix missing error handling when logging directory items
btrfs: fix directory logging due to race with concurrent index key deletion
btrfs: add missing setup of log for full commit at add_conflicting_inode()
btrfs: do not abort transaction on failure to write log tree when syncing log
btrfs: do not abort transaction on failure to update log root
btrfs: simplify update of last_dir_index_offset when logging a directory
btrfs: use a negative value for BTRFS_LOG_FORCE_COMMIT
btrfs: use a single variable to track return value for log_dir_items()

 fs/btrfs/disk-io.c  |  9 ++++-
 fs/btrfs/tree-log.c | 91 ++++++++++++++++++++++++++++-----------------
 fs/btrfs/tree-log.h | 11 ++++--
 3 files changed, 71 insertions(+), 40 deletions(-)
Signature · 1 line
2.35.1