diff mbox

generic/095: add iomap_dio_rw() to the dmesg filter

Message ID 20161130045908.15200-1-david@fromorbit.com (mailing list archive)
State New, archived
Headers show

Commit Message

Dave Chinner Nov. 30, 2016, 4:59 a.m. UTC
From: Dave Chinner <dchinner@redhat.com>

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>
---
 tests/generic/095 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Christoph Hellwig Nov. 30, 2016, 4:13 p.m. UTC | #1
On Wed, Nov 30, 2016 at 03:59:08PM +1100, Dave Chinner wrote:
> From: Dave Chinner <dchinner@redhat.com>
> 
> 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.

I had this in my tree all the time and was going to send it to you once
you applied the patch, but you're way too fast.. :)

Reviewed-by: Christoph Hellwig <hch@lst.de>
--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/tests/generic/095 b/tests/generic/095
index 474825bdf8d6..991baefaecdf 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