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>
This commit is contained in:
Justin Maggard
2017-10-30 15:33:48 -07:00
committed by Eryu Guan
parent 93dcb9861e
commit 230efa52a4
3 changed files with 75 additions and 0 deletions
+1
View File
@@ -155,3 +155,4 @@
150 auto quick dangerous
151 auto quick
152 auto quick metadata qgroup send
153 auto quick qgroup