btrfs: speedup bulk item insertions
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | btrfs: loop only once over data sizes array when inserting an item batchfs/ fs/ fs/ +5 more | +131 | 0 replies | |
| 2/3 | btrfs: unexport setup_items_for_insert()fs/ fs/ fs/ +2 more | +68 | 0 replies | |
| 3/3 | btrfs: use single bulk copy operations when logging directoriesfs/ | +15 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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