aboutsummaryrefslogtreecommitdiff
path: root/fs/gfs2/glops.h
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2008-09-02 13:33:17 +0100
committerSteven Whitehouse <swhiteho@redhat.com>2008-09-05 14:18:02 +0100
commitdff5257473ca1e05002809809f51f858e9a966fc (patch)
tree4d9bd636ce8828dcc0e8e2676cf4e9e86ed272c8 /fs/gfs2/glops.h
parent0188d6c5807b65e2e20dcb75a668efbe5418b27e (diff)
GFS2: Fix race relating to glock min-hold time
In the case that a request for a glock arrives right after the grant reply has arrived, it sometimes means that the gl_tstamp field hasn't been updated recently enough. The net result is that the min-hold time for the glock is ignored. If this happens often enough, it leads to poor performance. This patch adds an additional test, so that if the reply pending bit is set on a glock, then it will select the maximum length of time for the min-hold time, rather than looking at gl_tstamp. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/glops.h')
0 files changed, 0 insertions, 0 deletions