xfs: check accounting during 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: Eryu Guan <eguan@redhat.com>
This commit is contained in:
Darrick J. Wong
2016-05-25 22:57:29 -07:00
committed by Eryu Guan
parent b1e1b5fc8e
commit 0199ca71d5
3 changed files with 106 additions and 0 deletions
+1
View File
@@ -288,3 +288,4 @@
306 auto dangerous quick
307 auto quick clone
308 auto quick clone
309 auto clone