Skip to content

btrfs: some cleanups and minor optimization for log trees

[email protected] linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7btrfs: avoid unnecessary memory allocation and copy at overwrite_item()fs/btrfs/tree-log.c+2 -100 replies
2/7btrfs: use variables to store extent buffer and slot at overwrite_item()fs/btrfs/tree-log.c+25 -220 replies
3/7btrfs: update outdated comment for overwrite_item()fs/btrfs/tree-log.c+5 -50 replies
4/7btrfs: use memcmp_extent_buffer() at replay_one_extent()fs/btrfs/tree-log.c+6 -130 replies
5/7btrfs: remove redundant else statement from btrfs_log_inode_parent()fs/btrfs/tree-log.c+0 -20 replies
6/7btrfs: simplify condition for logging new dentries at btrfs_log_inode_parent()fs/btrfs/tree-log.c+6 -30 replies
7/7btrfs: remove end_no_trans label from btrfs_log_inode_parent()fs/btrfs/tree-log.c+10 -180 replies

Reviews trailers per patch

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

PatchDavid Sterba
SeriesR-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

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/7] btrfs: some cleanups and minor optimization for log trees

From: Filipe Manana <[email protected]>

A series of cleanups, simplifications and a minor optimization related to log replay and inode logging. Details in the change logs.

Filipe Manana (7):
btrfs: avoid unnecessary memory allocation and copy at overwrite_item()
btrfs: use variables to store extent buffer and slot at overwrite_item()
btrfs: update outdated comment for overwrite_item()
btrfs: use memcmp_extent_buffer() at replay_one_extent()
btrfs: remove redundant else statement from btrfs_log_inode_parent()
btrfs: simplify condition for logging new dentries at btrfs_log_inode_parent()
btrfs: remove end_no_trans label from btrfs_log_inode_parent()

 fs/btrfs/tree-log.c | 125 +++++++++++++++++++-------------------------
 1 file changed, 53 insertions(+), 72 deletions(-)
Signature · 1 line
2.45.2