• Bob Peterson's avatar
    GFS2: recovery stuck on transaction lock · b7dc2df5
    Bob Peterson authored
    This patch fixes bugzilla bug #590878: GFS2: recovery stuck on
    transaction lock.  We set the frozen flag on the glock when we receive
    a completion that cannot be delivered due to blocked locks. At that
    point we check to see whether the first waiting holder has the noexp
    flag set. If the noexp lock is queued later, then we need to unfreeze
    the glock at that point in time, namely, in the glock work function.
    
    This patch was originally written by Steve Whitehouse, but since
    he's on holiday, I'm submitting it.  It's been well tested with a
    complex recovery test called revolver.
    Signed-off-by: default avatarSteve Whitehouse <swhiteho@redhat.com>
    Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
    b7dc2df5
glock.c 46.5 KB