Skip to content

btrfs: fixes and cleanups for ordered extent allocation

[email protected] linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5btrfs: fix qgroup reservation leak on failure to allocate ordered extentfs/btrfs/ordered-data.c+9 -39 replies
2/5btrfs: check we grabbed inode reference when allocating an ordered extentfs/btrfs/ordered-data.c+15 -80 replies
3/5btrfs: fold error checks when allocating ordered extent and update commentsfs/btrfs/ordered-data.c+14 -120 replies
4/5btrfs: use boolean for delalloc argument to btrfs_free_reserved_bytes()fs/btrfs/block-group.c fs/btrfs/block-group.h fs/btrfs/extent-tree.c+7 -70 replies
5/5btrfs: use boolean for delalloc argument to btrfs_free_reserved_extent()fs/btrfs/direct-io.c fs/btrfs/extent-tree.c fs/btrfs/extent-tree.h +1 more+10 -110 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBoris BurkovQu Wenruo
SeriesR-b
1/5R-b R-b
2/5
3/5
4/5
5/5

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/5] btrfs: fixes and cleanups for ordered extent allocation

From: Filipe Manana <[email protected]>

Some fixes and cleanups around ordered extent allocation. Details in the change logs.

Filipe Manana (5):
btrfs: fix qgroup reservation leak on failure to allocate ordered extent
btrfs: check we grabbed inode reference when allocating an ordered extent
btrfs: fold error checks when allocating ordered extent and update comments
btrfs: use boolean for delalloc argument to btrfs_free_reserved_bytes()
btrfs: use boolean for delalloc argument to btrfs_free_reserved_extent()

 fs/btrfs/block-group.c  | 10 ++++----
 fs/btrfs/block-group.h  |  2 +-
 fs/btrfs/direct-io.c    |  3 +--
 fs/btrfs/extent-tree.c  |  8 +++----
 fs/btrfs/extent-tree.h  |  2 +-
 fs/btrfs/inode.c        | 10 ++++----
 fs/btrfs/ordered-data.c | 51 ++++++++++++++++++++++++++---------------
 7 files changed, 50 insertions(+), 36 deletions(-)
Signature · 1 line
2.47.2