linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] btrfs: speedup bulk item insertions
@ 2021-09-24 11:28 fdmanana
  2021-09-24 11:28 ` [PATCH 1/3] btrfs: loop only once over data sizes array when inserting an item batch fdmanana
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: fdmanana @ 2021-09-24 11:28 UTC (permalink / raw)
  To: linux-btrfs

From: Filipe Manana <fdmanana@suse.com>

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(-)

-- 
2.33.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-09-27 19:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-24 11:28 [PATCH 0/3] btrfs: speedup bulk item insertions fdmanana
2021-09-24 11:28 ` [PATCH 1/3] btrfs: loop only once over data sizes array when inserting an item batch fdmanana
2021-09-24 11:28 ` [PATCH 2/3] btrfs: unexport setup_items_for_insert() fdmanana
2021-09-24 11:28 ` [PATCH 3/3] btrfs: use single bulk copy operations when logging directories fdmanana
2021-09-27 19:27 ` [PATCH 0/3] btrfs: speedup bulk item insertions David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).