mbox series

[v2,0/2] btrfs: add btree read ahead for send operations

Message ID cover.1614590582.git.fdmanana@suse.com (mailing list archive)
Headers show
Series btrfs: add btree read ahead for send operations | expand

Message

Filipe Manana March 1, 2021, 9:26 a.m. UTC
From: Filipe Manana <fdmanana@suse.com>

This patchset adds btree read ahead for full and incremental send operations,
which results in some nice speedups. Test and results are mentioned in the
change log of each patch.

V2: Updated second patch, for incremental sends, to limit readahead to avoid
    too many reads in parallel and disturbing other workloads running in
    parallel, and without causing a drop in the gains. Updated change logs.

Filipe Manana (2):
  btrfs: add btree read ahead for full send operations
  btrfs: add btree read ahead for incremental send operations

 fs/btrfs/send.c | 43 +++++++++++++++++++++++++++++++++++++------
 1 file changed, 37 insertions(+), 6 deletions(-)

Comments

David Sterba March 4, 2021, 4:51 p.m. UTC | #1
On Mon, Mar 01, 2021 at 09:26:41AM +0000, fdmanana@kernel.org wrote:
> From: Filipe Manana <fdmanana@suse.com>
> 
> This patchset adds btree read ahead for full and incremental send operations,
> which results in some nice speedups. Test and results are mentioned in the
> change log of each patch.

Thanks, added to misc-next. The first patch has probably the best ratio
of changed lines vs performance gain.