btrfs: regression test for nocsum dio read's repair
authorLiu Bo <bo.li.liu@oracle.com>
Wed, 17 May 2017 22:36:09 +0000 (16:36 -0600)
committerEryu Guan <eguan@redhat.com>
Fri, 19 May 2017 07:06:30 +0000 (15:06 +0800)
commit495d11cd2da03f1d20cdbe9927547efcc3f8f319
tree1e7329498d110b0bf138eba5a91e010103727dad
parentd3a1eb354e4f9b34965ea7600676c8ee1cf8e4bc
btrfs: regression test for nocsum dio read's repair

Commit 2dabb3248453 ("Btrfs: Direct I/O read: Work on sectorsized
blocks") introduced this regression.  It'd cause 'Segmentation
fault' error.

The upstream fix is commit 97bf5a5589aa ("Btrfs: fix segment fault
when doing dio read")

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