]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs: test for qgroup reservation leaks with prealloc
authorJustin Maggard <jmaggard10@gmail.com>
Mon, 30 Oct 2017 22:33:48 +0000 (15:33 -0700)
committerEryu Guan <eguan@redhat.com>
Fri, 3 Nov 2017 11:04:49 +0000 (19:04 +0800)
commit230efa52a4c25849cd1467f4f09a99f0dcb8f4a9
tree3f19531c053d0781a4fc56776ffcdd30c39767e2
parent93dcb9861eea9b3ec8bacabb290793a1da805e21
btrfs: test for qgroup reservation leaks with prealloc

This test case writes into pre-allocated space, then tries to
fallocate some more within the defined quota limit. Currently
(4.14-rc7) this fails with EDQUOT due to quota reservation leakage
when writing into pre- allocated space.

A possible fix has been sent to the ML as "btrfs: Fix quota
reservation leak on preallocated files"

Signed-off-by: Justin Maggard <jmaggard@netgear.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/btrfs/153 [new file with mode: 0755]
tests/btrfs/153.out [new file with mode: 0644]
tests/btrfs/group