GFS2: Add test for resource group congestion status
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 31 Oct 2012 09:58:42 +0000 (09:58 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 7 Nov 2012 13:32:21 +0000 (13:32 +0000)
commitbcd97c06308cbfa8b46e11762ea116300cdce772
tree1659874b34998404ae05eb1c861e730df04d97e8
parent06dfc30641370094ed522bf5949b2a326fe2741b
GFS2: Add test for resource group congestion status

This patch uses information gathered by the recent glock statistics
patch in order to derrive a boolean verdict on the congestion
status of a resource group. This is then used when making decisions
on which resource group to choose during block allocation.

The aim is to avoid resource groups which are heavily contended
by other nodes, while still ensuring locality of access wherever
possible.

Once a reservation has been made in a particular resource group
we continue to use that resource group until a new reservation is
required. This should help to ensure that we do not change resource
groups too often.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/rgrp.c
This page took 0.032739 seconds and 5 git commands to generate.