commit | 519fc392af58d48203454da7d50d7c0bb6242dfc | [log] [tgz] |
---|---|---|
author | Liu Bo <bo.li.liu@oracle.com> | Wed Jan 25 14:13:57 2017 -0800 |
committer | Eryu Guan <eguan@redhat.com> | Fri Jan 27 16:06:12 2017 +0800 |
tree | 376a98d8f332c30f7f156fd12683040776a52a46 | |
parent | 06e8d3e000c83fe0a9e4120959144d8a811e889f [diff] |
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>