]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs: regression test for ro snapshot creation
authorFilipe Manana <fdmanana@gmail.com>
Mon, 10 Nov 2014 02:03:43 +0000 (13:03 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 10 Nov 2014 02:03:43 +0000 (13:03 +1100)
commit8c7c07e79b72ec2b259aeb7c10e30891577a005b
treef9a1109ecd0433cb854d336b4a757774cacff5d0
parent481c28f52fd4ed3976f2733a1c65f92760138258
btrfs: regression test for ro snapshot creation

Regression test for a btrfs issue where creation of readonly snapshots caused
the filesystem to get into an inconsistent state.

This regression was introduced in the 3.17 kernel and fixed by reverting the
following linux kernel commit:

     Btrfs: race free update of commit root for ro snapshots
     9c3b306e1c9e6be4be09e99a8fe2227d1005effc

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/btrfs/078 [new file with mode: 0755]
tests/btrfs/078.out [new file with mode: 0644]
tests/btrfs/group