GFS2: Split glock lru processing into two parts
authorSteven Whitehouse <swhiteho@redhat.com>
Fri, 1 Feb 2013 20:36:03 +0000 (20:36 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 1 Feb 2013 20:36:03 +0000 (20:36 +0000)
commit4506a519f2a76775e6c236f44d50e9f79a7d3434
tree20b1e8e26fcb2bbe09b9589ed38183f6b0f6a4d4
parent4513899092b3254b3539f92a65d2839afa1d50f6
GFS2: Split glock lru processing into two parts

The intent here is to split the processing of the glock lru
list into two parts, so that the selection of glocks and the
disposal are separate functions. The plan is then, that further
updates can then be made to these functions in the future
to improve the selection of glocks and also the efficiency of
glock disposal.

The new feature which this patch brings is sorting the
glocks to be disposed of into glock number (and thus also
disk block number) order. Not all glocks will need i/o in
order to dispose of them, but some will, and at least we'll
generate mostly disk block order i/o now.

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