Skip to content

btrfs: cleanups and minor performance change to setting/clearing delalloc

[email protected] linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9btrfs: stop passing root argument to btrfs_add_delalloc_inodes()fs/btrfs/inode.c+4 -51 reply
2/9btrfs: stop passing root argument to __btrfs_del_delalloc_inode()fs/btrfs/btrfs_inode.h fs/btrfs/disk-io.c fs/btrfs/inode.c+9 -101 reply
3/9btrfs: assert root delalloc lock is held at __btrfs_del_delalloc_inode()fs/btrfs/inode.c+2 -01 reply
4/9btrfs: rename btrfs_add_delalloc_inodes() to singular formfs/btrfs/inode.c+2 -21 reply
5/9btrfs: reduce inode lock critical section when setting and clearing delallocfs/btrfs/btrfs_inode.h fs/btrfs/inode.c+40 -210 replies
6/9btrfs: add lockdep assertion to remaining delalloc callbacksfs/btrfs/inode.c+4 -01 reply
7/9btrfs: use assertion instead of BUG_ON when adding/removing to delalloc listfs/btrfs/inode.c+2 -21 reply
8/9btrfs: remove do_list variable at btrfs_set_delalloc_extent()fs/btrfs/inode.c+1 -21 reply
9/9btrfs: remove do_list variable at btrfs_clear_delalloc_extent()fs/btrfs/inode.c+3 -31 reply

Reviews trailers per patch

8 of 9 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBoris BurkovQu Wenruo
SeriesR-b
1/9R-b
2/9R-b
3/9R-b
4/9R-b
5/9
6/9R-b
7/9R-b
8/9R-b
9/9R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/9] btrfs: cleanups and minor performance change to setting/clearing delalloc

From: Filipe Manana <[email protected]>

Some cleanups and a minor performance improvement around setting and clearing delalloc ranges. More details in the changelogs.

Filipe Manana (9):
btrfs: stop passing root argument to btrfs_add_delalloc_inodes()
btrfs: stop passing root argument to __btrfs_del_delalloc_inode()
btrfs: assert root delalloc lock is held at __btrfs_del_delalloc_inode()
btrfs: rename btrfs_add_delalloc_inodes() to singular form
btrfs: reduce inode lock critical section when setting and clearing delalloc
btrfs: add lockdep assertion to remaining delalloc callbacks
btrfs: use assertion instead of BUG_ON when adding/removing to delalloc list
btrfs: remove do_list variable at btrfs_set_delalloc_extent()
btrfs: remove do_list variable at btrfs_clear_delalloc_extent()

 fs/btrfs/btrfs_inode.h |  3 +-
 fs/btrfs/disk-io.c     |  2 +-
 fs/btrfs/inode.c       | 93 ++++++++++++++++++++++++++----------------
 3 files changed, 60 insertions(+), 38 deletions(-)
Signature · 1 line
2.40.1