generic/446: add __xfs_get_blocks() into _filter_xfs_dmesg
authorXiao Yang <yangx.jy@cn.fujitsu.com>
Mon, 3 Jul 2017 07:35:59 +0000 (15:35 +0800)
committerEryu Guan <eguan@redhat.com>
Tue, 4 Jul 2017 03:47:29 +0000 (11:47 +0800)
commit65fd511691aca15eb61eb916ce62239626cfbc1c
tree018185bde6f62a5d2313e29255de5d5254214488
parent1b6d979780d398f438cba59a68baa62aa5eb324a
generic/446: add __xfs_get_blocks() into _filter_xfs_dmesg

On xfs filesystem, the following patch fixed system crash caused by
this race, but it introduced the __xfs_get_blocks() warning when the
race occurred:
04197b3 ("xfs: don't BUG() on mixed direct and mapped I/O")

On upstream kernel, the fix patch was cleared by:
acdda3a ("xfs: use iomap_dio_rw")

When the fix patch was applied and not cleared(e.g, on RHEL7.4),
this case triggered the __xfs_get_blocks() warning as expected.
Moreover, generic/095 may reproduce the same warning occasionally.
So we could add __xfs_get_blocks() into _filter_xfs_dmesg.

Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
common/xfs