diff options
author | Bob Peterson <rpeterso@redhat.com> | 2007-08-22 11:15:29 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2007-10-10 08:55:43 +0100 |
commit | ec217e0ece60f2240772e6f08e0529775846c627 (patch) | |
tree | 2b06b31dbb9165cf086580fe589249e8a54313c2 /fs/gfs2/glops.c | |
parent | a947e0335699a1d387c3826e5b8eff9e0afe505e (diff) |
[GFS2] Patch to protect sd_log_num_jdata
This is a patch to GFS2 to protect sd_log_num_jdata with the
gfs2_log_lock. Without this patch, there is a timing window
where you can get hit the following assert from function
gfs2_log_flush():
gfs2_assert_withdraw(sdp,
sdp->sd_log_num_buf + sdp->sd_log_num_jdata ==
sdp->sd_log_commited_buf +
sdp->sd_log_commited_databuf);
I've tested it on my roth cluster and it fixes the problem.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/glops.c')
0 files changed, 0 insertions, 0 deletions