btrfs: add regression test for inode cache vs tree log
authorWang Shilong <wangsl.fnst@cn.fujitsu.com>
Tue, 13 May 2014 05:29:37 +0000 (15:29 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 13 May 2014 05:29:37 +0000 (15:29 +1000)
commit49398f817a88ace3ad9b49c81aae12d4bad7baab
tree0cd6d66da35132650991d4c58a10b81f5531c688
parent7f82a5f69926873902af3d51af9ab2f1ae509107
btrfs: add regression test for inode cache vs tree log

This patch adds a regression test to verify btrfs can not
reuse inode id until we have committed transaction. Which was
addressed by the following kernel patch:

 Btrfs: fix inode cache vs tree log

Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/btrfs/049 [new file with mode: 0644]
tests/btrfs/049.out [new file with mode: 0644]
tests/btrfs/group