aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2016-11-30 15:59:08 +1100
committerEryu Guan <eguan@redhat.com>2016-12-01 00:19:12 +0800
commit3d7ed77c68176004ed24ccf295df53292562aa60 (patch)
treefe3947065b195f5f092a5cf3689b88b6e4fb3ff4
parent37d78d97f65715d22a3ee4bbb28720137ef1eede (diff)
downloadxfstests-dev-3d7ed77c68176004ed24ccf295df53292562aa60.tar.gz
generic/095: add iomap_dio_rw() to the dmesg filter
Oops, we did it again - we moved the XFS dio code warning to a new function with the iomap direct IO rework. Update the filter to pick up the new warning location. Signed-Off-By: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Eryu Guan <eguan@redhat.com>
-rwxr-xr-xtests/generic/0954
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/generic/095 b/tests/generic/095
index 474825bdf8..991baefaec 100755
--- a/tests/generic/095
+++ b/tests/generic/095
@@ -128,10 +128,12 @@ filter_xfs_dmesg()
local warn2="WARNING:.*fs/xfs/xfs_file\.c:.*xfs_file_dio_aio_read.*"
local warn3="WARNING:.*fs/xfs/xfs_file\.c:.*xfs_file_read_iter.*"
local warn4="WARNING:.*fs/xfs/xfs_file\.c:.*xfs_file_aio_read.*"
+ local warn4="WARNING:.*fs/iomap\.c:.*iomap_dio_rw.*"
sed -e "s#$warn1#Intentional warnings in xfs_file_dio_aio_write#" \
-e "s#$warn2#Intentional warnings in xfs_file_dio_aio_read#" \
-e "s#$warn3#Intentional warnings in xfs_file_read_iter#" \
- -e "s#$warn4#Intentional warnings in xfs_file_aio_read#"
+ -e "s#$warn4#Intentional warnings in xfs_file_aio_read#" \
+ -e "s#$warn4#Intentional warnings in iomap_dio_rw#"
}
# umount before checking dmesg in case umount triggers any WARNING or Oops