• Steven Whitehouse's avatar
    [GFS2] Fix list corruption in lops.c · 8bd95727
    Steven Whitehouse authored
    The patch below appears to fix the list corruption that we are seeing on
    occasion. Although the transaction structure is private to a single
    thread, when the queued structures are dismantled during an in-core
    commit, its possible for a different thread to be trying to add the same
    structure to another, new, transaction at the same time.
    
    To avoid this, this patch takes the log spinlock during this operation.
    Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
    8bd95727
lops.c 20.6 KB