xfs: test per-ag allocation accounting during truncate-caused refcountbt expansion

Ensure that refcountbt allocations during truncate operations come
from the per-AG reservation and are not charged to the transaction.

Reported-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
Darrick J. Wong
2016-03-23 17:39:09 +11:00
committed by Dave Chinner
parent 00cbdca930
commit 6243fb41f1
3 changed files with 106 additions and 0 deletions
+1
View File
@@ -262,6 +262,7 @@
262 auto quick quota
263 auto quick clone
264 auto quick clone
265 auto clone
266 dump ioctl auto quick
267 dump ioctl tape
268 dump ioctl tape