Skip to content

btrfs: send, fix some failures due to commands with wrong paths

[email protected] linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs: send, orphanize first all conflicting inodes when processing referencesfs/btrfs/send.c+87 -400 replies
2/2btrfs: send, recompute reference path after orphanization of a directoryfs/btrfs/send.c+73 -00 replies

Reviews trailers per patch

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

PatchJosef Bacik
SeriesR-b
1/2
2/2

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/2] btrfs: send, fix some failures due to commands with wrong paths

From: Filipe Manana <[email protected]>

Incremental send operations can often fail at the receiver due to a wrong path in some command. This small patchset fixes a few more cases where such problems happen. There are sporadic reports of this type of failures, such as [1] and [2] for example, and many similar issues were fixed in a more distant past. Without having the full directory trees of the parent and send snapshots, with inode numbers, it's hard to tell if this patchset fixes exactly those reported cases, but the cases fixed by this patchset are all I could find in the last two weeks.

[1] https://lore.kernel.org/linux-btrfs/[email protected]/
[2] https://lore.kernel.org/linux-btrfs/[email protected]/

Filipe Manana (2):
btrfs: send, orphanize first all conflicting inodes when processing
references
btrfs: send, recompute reference path after orphanization of a
directory

 fs/btrfs/send.c | 200 ++++++++++++++++++++++++++++++++++++++----------
 1 file changed, 160 insertions(+), 40 deletions(-)
Signature · 1 line
2.26.2