summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2013-03-18 15:51:46 +0100
committerBen Myers <bpm@sgi.com>2013-03-22 22:06:30 +0100
commitb136645116e5471cf0b037a1759dc83620236631 (patch)
tree9b9bfaa822d88585f4fa670a10b8f54a09584372 /virt
parentxfs: pass xfs_dquot to xfs_qm_adjust_dqlimits() instead of xfs_disk_dquot_t (diff)
downloadlinux-b136645116e5471cf0b037a1759dc83620236631.tar.xz
linux-b136645116e5471cf0b037a1759dc83620236631.zip
xfs: xfs_dquot prealloc throttling watermarks and low free space
Enable tracking of high and low watermarks for preallocation throttling of files under quota restrictions. These values are calculated when the quota limit is read from disk or modified and cached for later use by the throttling algorithm. The high watermark specifies when preallocation is disabled, the low watermark specifies when throttling is enabled and the low free space data structure contains precalculated low free space limits to serve as input to determine the level of throttling required. Note that the low free space data structure is based on the existing global low free space data structure with the exception of using three stages (5%, 3% and 1%) rather than five to reduce the impact of xfs_dquot memory overhead. Signed-off-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Mark Tinguely <tinguely@sgi.com> Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions