diff mbox series

[4/9] common/dump: filter out xfs_restore messages about fallocate failures

Message ID 161836229453.2754991.3539097521630217821.stgit@magnolia (mailing list archive)
State New, archived
Headers show
Series fstests: random fixes | expand

Commit Message

Darrick J. Wong April 14, 2021, 1:04 a.m. UTC
From: Darrick J. Wong <djwong@kernel.org>

fallocate is not supported on XFS filesystems that are running in
"always COW" mode.  This leads to false test regressions because
xfs_restore complains about EOPNOTSUPP in the golden output.  The
preallocation isn't required for correct xfs_restore operation, so
filter out the EOPNOTSUPP messages.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
---
 common/dump |    1 +
 1 file changed, 1 insertion(+)

Comments

Christoph Hellwig April 14, 2021, 6:16 a.m. UTC | #1
Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>
diff mbox series

Patch

diff --git a/common/dump b/common/dump
index 2b8e0893..3c4029ff 100644
--- a/common/dump
+++ b/common/dump
@@ -866,6 +866,7 @@  _dump_filter_main()
       -e 's/id:[[:space:]]*[0-9a-f]\{8\}-[0-9a-f]\{4\}-[0-9a-f]\{4\}-[0-9a-f]\{4\}-[0-9a-f]\{12\}/ID: ID/'						\
       -e 's/\[y\/n\][- ]----------------------*/\[y\/n\]/'		\
       -e '/skip attribute set/d'				\
+      -e '/xfsrestore: NOTE: attempt to reserve [0-9]* bytes for.*Operation not supported/d' \
   | perl -ne '
 	# filter out all the output between the lines "Dump Summary:"
 	# and "Dump Status:"