Skip to content

btrfs: speedup bulk item insertions

[email protected] linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3btrfs: loop only once over data sizes array when inserting an item batchfs/btrfs/ctree.c fs/btrfs/ctree.h fs/btrfs/delayed-inode.c +5 more+131 -720 replies
2/3btrfs: unexport setup_items_for_insert()fs/btrfs/ctree.c fs/btrfs/ctree.h fs/btrfs/file.c +2 more+68 -590 replies
3/3btrfs: use single bulk copy operations when logging directoriesfs/btrfs/tree-log.c+15 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] btrfs: speedup bulk item insertions

From: Filipe Manana <[email protected]>

This patchset does some minor improvements to speedup bulk insertion of items into a btree, which is used when logging directories, when running delayed items for directories (fsync and transaction commits) and when running the slow path (full sync) of an fsync. The last patch in the series contains test results in its changelog.

Filipe Manana (3):
btrfs: loop only once over data sizes array when inserting an item batch
btrfs: unexport setup_items_for_insert()
btrfs: use single bulk copy operations when logging directories

 fs/btrfs/ctree.c                     | 148 +++++++++++++++------------
 fs/btrfs/ctree.h                     |  45 ++++++--
 fs/btrfs/delayed-inode.c             |  41 ++++----
 fs/btrfs/file.c                      |   3 +-
 fs/btrfs/inode.c                     |   8 +-
 fs/btrfs/tests/extent-buffer-tests.c |   2 +-
 fs/btrfs/tests/inode-tests.c         |   4 +-
 fs/btrfs/tree-log.c                  |  52 +++++++---
 8 files changed, 188 insertions(+), 115 deletions(-)
Signature · 1 line
2.33.0