Skip to content

btrfs: a couple bug fixes around reflinks and fallocate

[email protected] linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3btrfs: fix race between reflinking and ordered extent completionfs/btrfs/reflink.c+11 -41 reply
2/3btrfs: add missing inode updates on each iteration when replacing extentsfs/btrfs/ctree.h fs/btrfs/file.c fs/btrfs/inode.c +1 more+23 -03 replies
3/3btrfs: do not BUG_ON() on failure to migrate space when replacing extentsfs/btrfs/file.c+4 -21 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchBoris Burkov
1/3R-b
2/3R-b
3/3R-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/3] btrfs: a couple bug fixes around reflinks and fallocate

From: Filipe Manana <[email protected]>

This patchset fixes a couple of bugs, the first one exclusive for reflink operations while the second one applies to reflink, fallocate and hole punching operations. Finally the third patch just removes some BUG_ON()s that are really not needed.
All the patches are independent of each other, they could have been sent out as individual patches.

Filipe Manana (3):
btrfs: fix race between reflinking and ordered extent completion
btrfs: add missing inode updates on each iteration when replacing
extents
btrfs: do not BUG_ON() on failure to migrate space when replacing
extents

 fs/btrfs/ctree.h   |  2 ++
 fs/btrfs/file.c    | 25 +++++++++++++++++++++++--
 fs/btrfs/inode.c   |  1 +
 fs/btrfs/reflink.c | 16 ++++++++++++----
 4 files changed, 38 insertions(+), 6 deletions(-)
Signature · 1 line
2.35.1