]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs: test per-ag allocation accounting during truncate-caused refcountbt expansion
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 23 Mar 2016 06:39:09 +0000 (17:39 +1100)
committerDave Chinner <david@fromorbit.com>
Wed, 23 Mar 2016 06:39:09 +0000 (17:39 +1100)
commit6243fb41f1d74e170dc07d9c61fed8815b3958b8
tree330729e13f38af3a1376be76efbf037cc7aecac2
parent00cbdca930aa78e52bf8932cd411ed4fd6a7746c
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>
tests/xfs/265 [new file with mode: 0755]
tests/xfs/265.out [new file with mode: 0644]
tests/xfs/group