generic: splitted large dio write could trigger assertion on btrfs
authorLiu Bo <bo.li.liu@oracle.com>
Wed, 25 Jan 2017 22:13:57 +0000 (14:13 -0800)
committerEryu Guan <eguan@redhat.com>
Fri, 27 Jan 2017 08:06:12 +0000 (16:06 +0800)
commit519fc392af58d48203454da7d50d7c0bb6242dfc
tree376a98d8f332c30f7f156fd12683040776a52a46
parent06e8d3e000c83fe0a9e4120959144d8a811e889f
generic: splitted large dio write could trigger assertion on btrfs

On btrfs, if a large dio write (>=128MB) got splitted, the
outstanding_extents assertion would complain.  Note that
CONFIG_BTRFS_ASSERT is required.

Regression test for
  Btrfs: adjust outstanding_extents counter properly when dio write is split

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/generic/406 [new file with mode: 0755]
tests/generic/406.out [new file with mode: 0644]
tests/generic/group