mbox series

[0/6] btrfs: some speedup for NOCOW write path and cleanups

Message ID cover.1712933003.git.fdmanana@suse.com (mailing list archive)
Headers show
Series btrfs: some speedup for NOCOW write path and cleanups | expand

Message

Filipe Manana April 12, 2024, 3:03 p.m. UTC
From: Filipe Manana <fdmanana@suse.com>

These are some cleanups in the NOCOW write path and making the check for
the existence of checksums in a range more efficient. More details in the
changelogs.

Filipe Manana (6):
  btrfs: add function comment to btrfs_lookup_csums_list()
  btrfs: remove search_commit parameter from btrfs_lookup_csums_list()
  btrfs: remove use of a temporary list at btrfs_lookup_csums_list()
  btrfs: simplify error path for btrfs_lookup_csums_list()
  btrfs: make NOCOW checks for existence of checksums in a range more efficient
  btrfs: open code csum_exist_in_range()

 fs/btrfs/file-item.c  | 57 +++++++++++++++++++++++++++----------------
 fs/btrfs/file-item.h  |  3 +--
 fs/btrfs/inode.c      | 33 ++++++-------------------
 fs/btrfs/relocation.c |  4 +--
 fs/btrfs/tree-log.c   | 15 +++++++-----
 5 files changed, 55 insertions(+), 57 deletions(-)

Comments

David Sterba April 12, 2024, 4:50 p.m. UTC | #1
On Fri, Apr 12, 2024 at 04:03:14PM +0100, fdmanana@kernel.org wrote:
> From: Filipe Manana <fdmanana@suse.com>
> 
> These are some cleanups in the NOCOW write path and making the check for
> the existence of checksums in a range more efficient. More details in the
> changelogs.
> 
> Filipe Manana (6):
>   btrfs: add function comment to btrfs_lookup_csums_list()
>   btrfs: remove search_commit parameter from btrfs_lookup_csums_list()
>   btrfs: remove use of a temporary list at btrfs_lookup_csums_list()
>   btrfs: simplify error path for btrfs_lookup_csums_list()
>   btrfs: make NOCOW checks for existence of checksums in a range more efficient
>   btrfs: open code csum_exist_in_range()

Reviewed-by: David Sterba <dsterba@suse.com>