Skip to content
  • Steven Whitehouse's avatar
    [GFS2] Fix ordering bug in lock_dlm · f3c9d38a
    Steven Whitehouse authored
    
    
    This looks like a lot of change, but in fact its not. Mostly its
    things moving from one file to another. The change is just that
    instead of queuing lock completions and callbacks from the DLM
    we now pass them directly to GFS2.
    
    This gives us a net loss of two list heads per glock (a fair
    saving in memory) plus a reduction in the latency of delivering
    the messages to GFS2, plus we now have one thread fewer as well.
    There was a bug where callbacks and completions could be delivered
    in the wrong order due to this unnecessary queuing which is fixed
    by this patch.
    
    Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
    Cc: Bob Peterson <rpeterso@redhat.com>
    f3c9d38a