Skip to content
  • Steven Whitehouse's avatar
    GFS2: Fix race relating to glock min-hold time · dff52574
    Steven Whitehouse authored
    
    
    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: default avatarSteven Whitehouse <swhiteho@redhat.com>
    dff52574