Skip to contentSkip to conversation

generic/458: document the fix commit

PATCH In review Amir Goldstein 3 participants 4 messages Nov 23, 2017 – Dec 4, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 generic/458: document the fix commit

---
 tests/generic/458 | 3 +++
 1 file changed, 3 insertions(+)
tests/generic/458 +3 -0
index 7b408cb..730561f 100755
@@ -4,6 +4,9 @@
 # Regression test for xfs leftover CoW extents after truncate
 # and umount
 #
+# Fixed by commit 3af423b03435 ("xfs: evict CoW fork extents when performing
+# finsert/fcollapse")
+#
 #-----------------------------------------------------------------------
 # Copyright (C) 2017 CTERA Networks. All Rights Reserved.
 # Author: Amir Goldstein <[email protected]>
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/2 generic/456: document the fix commit

Add a link to Ted's post with more details about the bug and the fix.

---

Eryu,

It may be better to include a digest of the refered post embedded in the test. For now, I just added the link to mailing list archive. Maybe Ted can add the digest later.

Thanks,
Amir.

 tests/generic/456 | 5 +++++
 1 file changed, 5 insertions(+)
tests/generic/456 +5 -0
index 8debd3f..ed3cacc 100755
@@ -4,6 +4,9 @@
 # This test is motivated by a bug found in ext4 during random crash
 # consistency tests.
 #
+# Fixed by commit 51e3ae81ec58 ("ext4: fix interaction between i_size,
+# fallocate, and delalloc after a crash")
+#
 #-----------------------------------------------------------------------
 # Copyright (C) 2017 CTERA Networks. All Rights Reserved.
 # Author: Amir Goldstein <[email protected]>
@@ -58,6 +61,8 @@ _require_metadata_journaling $SCRATCH_DEV
 _init_flakey
 _mount_flakey
 
+# See this post for reverse engineering of this auto generated test:
+# https://marc.info/?l=linux-ext4&m=151137380830381&w=2
 fsxops=$tmp.fsxops
 cat <<EOF > $fsxops
 write 0x137dd 0xdc69 0x0
Signature · 1 line
2.7.4
Reviewed-by on v1 2/2
#2 lore raw

Re: [PATCH 2/2] generic/456: document the fix commit

Quoted 4 lines · Amir Goldstein

Add a link to Ted's post with more details about the bug and the fix.

I'm OK with this, so:

Quoted 3 lines

It may be better to include a digest of the refered post embedded in the test. For now, I just added the link to mailing list archive. Maybe Ted can add the digest later.

Eryu can chime in if he links, but in general we haven't included long discourses describing the bug in xfstests, so I don't think that's really necessary.

- Ted

Reviewed-by on v1 1/2
#3 lore raw
In reply to Amir Goldstein
Quoted 1 line · Amir Goldstein

Looks ok,

Quoted 25 lines
---
 tests/generic/458 | 3 +++
 1 file changed, 3 insertions(+)
tests/generic/458 +3 -0
index 7b408cb..730561f 100755
@@ -4,6 +4,9 @@
 # Regression test for xfs leftover CoW extents after truncate
 # and umount
 #
+# Fixed by commit 3af423b03435 ("xfs: evict CoW fork extents when performing
+# finsert/fcollapse")
+#
 #-----------------------------------------------------------------------
 # Copyright (C) 2017 CTERA Networks. All Rights Reserved.
 # Author: Amir Goldstein <[email protected]>
Signature · 6 lines
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html