diff options
author | 2019-11-08 23:04:20 -0800 | |
---|---|---|
committer | 2019-11-11 12:42:52 -0800 | |
commit | 2815a16d7ff6230a8e37928829d221bb075aa160 (patch) | |
tree | d2379eb1646e00e8e8b3c3c6d380a4678b4c400e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xfs: actually check xfs_btree_check_block return in xfs_btree_islastblock (diff) | |
download | wireguard-linux-2815a16d7ff6230a8e37928829d221bb075aa160.tar.xz wireguard-linux-2815a16d7ff6230a8e37928829d221bb075aa160.zip |
xfs: attach dquots and reserve quota blocks during unwritten conversion
In xfs_iomap_write_unwritten, we need to ensure that dquots are attached
to the inode and quota blocks reserved so that we capture in the quota
counters any blocks allocated to handle a bmbt split. This can happen
on the first unwritten extent conversion to a preallocated sparse file
on a fresh mount.
This was found by running generic/311 with quotas enabled. The bug
seems to have been introduced in "[XFS] rework iocore infrastructure,
remove some code and make it more" from ~2002?
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions