From: Christoph Hellwig Date: Mon, 1 Aug 2016 09:02:56 +0000 (+0200) Subject: generic/095: update warning whitelist X-Git-Tag: v2022.05.01~2413 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=700b17bf927c0ae9fb85fc01cdb4bbb2e5a1aa31;p=users%2Fhch%2Fxfstests-dev.git generic/095: update warning whitelist The recent direct I/O path refactor changed the function name in the racing read case. Update the test case to handle the new name in addition to the old one. Signed-off-by: Christoph Hellwig Reviewed-by: Dave Chinner Signed-off-by: Eryu Guan --- diff --git a/tests/generic/095 b/tests/generic/095 index c656ef12f..47549928a 100755 --- a/tests/generic/095 +++ b/tests/generic/095 @@ -125,9 +125,11 @@ $FIO_PROG $fio_config >>$seqres.full 2>&1 filter_xfs_dmesg() { local warn1="WARNING:.*fs/xfs/xfs_file\.c:.*xfs_file_dio_aio_write.*" - local warn2="WARNING:.*fs/xfs/xfs_file\.c:.*xfs_file_read_iter.*" + 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.*" sed -e "s#$warn1#Intentional warnings in xfs_file_dio_aio_write#" \ - -e "s#$warn2#Intentional warnings in xfs_file_read_iter#" + -e "s#$warn2#Intentional warnings in xfs_file_dio_aio_read#" \ + -e "s#$warn3#Intentional warnings in xfs_file_read_iter#" } # umount before checking dmesg in case umount triggers any WARNING or Oops