• S
    GFS2: Fix race relating to glock min-hold time · dff52574
    Steven Whitehouse 提交于
    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: NSteven Whitehouse <swhiteho@redhat.com>
    dff52574
glock.c 46.7 KB