Skip to content

btrfs-progs: receive: address setattr failures

[email protected] linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs-progs: receive: fix parsing of attributes field from the fileattr commandcommon/send-stream.c+1 -10 replies
2/2btrfs-progs: receive: work around failure of fileattr commandscmds/receive.c+26 -180 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] btrfs-progs: receive: address setattr failures

From: Filipe Manana <[email protected]>

I was writing a test case for fstests with fsstress and send v2 streams and it turns out that receive will always fail if we have a fileattr command in the stream. It fails for two different reasons, described in the changelog.

We actually had a report today of a receiver failing on a send stream v2 because of the reason addressed in the first patch. However fixing that alone, will still cause the receiver to fail, just for a different reason (patch 2).

For now I'll hold the test case for fstests since it fails very frequently (almost always actually).

Filipe Manana (2):
btrfs-progs: receive: fix parsing of attributes field from the fileattr command
btrfs-progs: receive: work around failure of fileattr commands

 cmds/receive.c       | 44 ++++++++++++++++++++++++++------------------
 common/send-stream.c |  2 +-
 2 files changed, 27 insertions(+), 19 deletions(-)
Signature · 1 line
2.35.1