mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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>
This commit is contained in:
+3
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user