From c7cc038e0a4d41f0389765959f7f5c11137dbec2 Mon Sep 17 00:00:00 2001 From: Filipe Manana Date: Tue, 7 Mar 2023 11:38:13 +0000 Subject: [PATCH] btrfs/284: list a couple btrfs-progs git commits This test may often fail when running with btrfs-progs versions not very recent. The corresponding git commits in btrfs-progs that fix issues uncovered by this test are: 1) 6f4a51886b37 ("btrfs-progs: receive: fix silent data loss after fall back from encoded write") Introduced in btrfs-progs v6.0.2; 2) e3209f8792f4 ("btrfs-progs: receive: fix a corruption when decompressing zstd extents"") Introduced in btrfs-progs v6.2. So add the corresponding _fixed_by_git_commit calls to the test. Signed-off-by: Filipe Manana Reviewed-by: Anand Jain Signed-off-by: Zorro Lang --- tests/btrfs/284 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/btrfs/284 b/tests/btrfs/284 index 0d31e5d9..c6692668 100755 --- a/tests/btrfs/284 +++ b/tests/btrfs/284 @@ -20,6 +20,11 @@ _require_test _require_scratch_size $(($LOAD_FACTOR * 1 * 1024 * 1024)) _require_fssum +_fixed_by_git_commit btrfs-progs e3209f8792f4 \ + "btrfs-progs: receive: fix a corruption when decompressing zstd extents" +_fixed_by_git_commit btrfs-progs 6f4a51886b37 \ + "btrfs-progs: receive: fix silent data loss after fall back from encoded write" + send_files_dir=$TEST_DIR/btrfs-test-$seq rm -fr $send_files_dir -- 2.39.5