ext4: test for inline data + DAX corruption
authorRoss Zwisler <ross.zwisler@linux.intel.com>
Thu, 4 Jan 2018 08:11:21 +0000 (01:11 -0700)
committerEryu Guan <eguan@redhat.com>
Fri, 5 Jan 2018 18:09:02 +0000 (02:09 +0800)
commit95c924c65113d2b706436d8cd09cd391eddb795a
treebbce248413194526766f38b9ce2ddd9ade641372
parent750a24e99e48e14fc946d50d55e897237aba961e
ext4: test for inline data + DAX corruption

Add a regression test for the following kernel commit:

  ext4: prevent data corruption with inline data + DAX

The test passes either if we don't encounter corruption, or if
mounting with DAX + inline data fails.  The latter is the way that
we prevent this issue in the kernel.

[eguan: add 'dax' group]

Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
.gitignore
src/Makefile
src/t_ext4_dax_inline_corruption.c [new file with mode: 0644]
tests/ext4/031 [new file with mode: 0755]
tests/ext4/031.out [new file with mode: 0644]
tests/ext4/group