diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2007-06-19 14:38:17 (GMT) |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2007-07-09 07:23:50 (GMT) |
commit | eaf5bd3cac92126e5825c6ebc10bee0fba35d555 (patch) | |
tree | 779ba2ba60bb6f18cf47a5155aa4164798a81a1f /fs/gfs2/lops.c | |
parent | 2332c4435bb733b5cd4f612ee57532bd8fde4c1c (diff) | |
download | linux-fsl-qoriq-eaf5bd3cac92126e5825c6ebc10bee0fba35d555.tar.xz |
[GFS2] Simplify multiple glock aquisition
There is a bug in the code which acquires multiple glocks where if the
initial out-of-order attempt fails part way though we can land up trying
to acquire the wrong number of glocks. This is part of the fix for red
hat bz #239737. The other part of the bz doesn't apply to upstream
kernels since it was fixed by:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=d3717bdf8f08a0e1039158c8bab2c24d20f492b6
Since the out-of-order code doesn't appear to add anything to the
performance of GFS2, this patch just removed it rather than trying to
fix it. It should be much easier to see whats going on here now. In
addition, we don't allocate any memory unless we are using a lot of
glocks (which is a relatively uncommon case).
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/lops.c')
0 files changed, 0 insertions, 0 deletions