btrfs: add regression for inode bad compression ratio detection
authorWang Shilong <wangshilong1991@gmail.com>
Tue, 14 Oct 2014 11:59:38 +0000 (22:59 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 14 Oct 2014 11:59:38 +0000 (22:59 +1100)
commit562af5d34343ffa4cd03a8db12b81dae4efdfc3b
tree2ca5774fa094fd542faaf81c1f9d4aab63603e36
parentb675ef7265d613c80a28331cca6614a4aee96d95
btrfs: add regression for inode bad compression ratio detection

This test add a regression test to make sure btrfs dosen't set
inode NOCOMPRESS flag when a small write(<=blocksize) happens.

Signed-off-by: Wang Shilong <wangshilong1991@gmail.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/btrfs/076 [new file with mode: 0644]
tests/btrfs/076.out [new file with mode: 0644]
tests/btrfs/group