]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs: ENOSPC test for a btrfs
authorFilipe Manana <fdmanana@suse.com>
Mon, 21 Sep 2015 03:06:18 +0000 (13:06 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 21 Sep 2015 03:06:18 +0000 (13:06 +1000)
commitda82741228c7efaedae2e027efc54b1892800fe1
treee070b40d7b1c3ad7642125a0b926de75800d5eeb
parent80b486101b43732a97a201f5dad888840f8c60ba
btrfs: ENOSPC test for a btrfs

Regression test for an ENOSPC issue when attempting to write to a file in
a filesystem without any data block groups allocated.

The btrfs issue is fixed by the linux kernel patch titled
"Btrfs: don't initialize a space info as full to prevent ENOSPC" and the
regression was introduced by the patch titled
"Btrfs: fix block group ->space_info null pointer dereference".

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/btrfs/102 [new file with mode: 0755]
tests/btrfs/102.out [new file with mode: 0644]
tests/btrfs/group