generic/247: filter out expected XFS warnings for mixed mmap/direct I/O
authorBrian Foster <bfoster@redhat.com>
Wed, 28 Jun 2017 14:14:42 +0000 (10:14 -0400)
committerEryu Guan <eguan@redhat.com>
Thu, 29 Jun 2017 06:19:30 +0000 (14:19 +0800)
commitd55123c080cbea0870e63ebe122a63f5847e8c44
tree3a14d531d80a650201f21fb5230ed432706e90b2
parent82012736f79d4571d4ce21ff80023f4cd3933e83
generic/247: filter out expected XFS warnings for mixed mmap/direct I/O

generic/247 reproduces some of the same, expected warnings from XFS
as generic/095. These warnings occur due to mixed buffered/mapped
I/O racing with direct I/O to the same file.

generic/095 contains a custom dmesg filter to prevent test failure
in the event of such warnings. Lift the helper from generic/095 to
common/xfs and reuse it in generic/247 to implement the same
behavior.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
common/xfs
tests/generic/095
tests/generic/247