diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2007-01-25 05:04:20 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2007-02-05 13:37:56 -0500 |
commit | 8bd9572769767c6fd164cff4e1202df12cb34b4a (patch) | |
tree | aef67aaaaa443ae233630f3eb5cbbb02aba375cb /fs/gfs2/locking | |
parent | d7c103d0bd29c94f78155a4538faf314e49d9713 (diff) |
[GFS2] Fix list corruption in lops.c
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: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/locking')
0 files changed, 0 insertions, 0 deletions