Skip to content

btrfs: a few fsync related minor improvements and a cleanup

[email protected] linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4btrfs: remove racy and unnecessary inode transaction update when using no-holesfs/btrfs/inode.c+5 -70 replies
2/4btrfs: avoid unnecessary log mutex contention when syncing logfs/btrfs/tree-log.c+10 -40 replies
3/4btrfs: remove unnecessary list head initialization when syncing logfs/btrfs/tree-log.c+0 -22 replies
4/4btrfs: avoid unnecessary lock and leaf splits when updating inode in the logfs/btrfs/tree-log.c+35 -50 replies

Reviews trailers per patch

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

PatchJosef Bacik
SeriesR-b
1/4
2/4
3/4
4/4

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/4] btrfs: a few fsync related minor improvements and a cleanup

From: Filipe Manana <[email protected]>

The following patches remove some unnecessary code and bring a couple minor performance improvements in the fsync path. They are independent of each other, but are grouped in the same pathset just because they relate around the same code. The last patch has some performance results in its changelog.

Filipe Manana (4):
btrfs: remove racy and unnecessary inode transaction update when using
no-holes
btrfs: avoid unnecessary log mutex contention when syncing log
btrfs: remove unnecessary list head initialization when syncing log
btrfs: avoid unnecessary lock and leaf splits when updating inode in
the log

 fs/btrfs/inode.c    | 12 ++++------
 fs/btrfs/tree-log.c | 56 ++++++++++++++++++++++++++++++++++++---------
 2 files changed, 50 insertions(+), 18 deletions(-)
Signature · 1 line
2.30.2