diff options
author | Sunil Mushran <[email protected]> | 2010-01-29 09:44:11 -0800 |
---|---|---|
committer | Joel Becker <[email protected]> | 2010-02-02 23:51:14 -0800 |
commit | 0d74125a6a68d4f1969ecaf0b3543f315916ccdc (patch) | |
tree | c606fa6becb2bc6e41c2738bc6b3dd28a33b0068 /net/lapb/lapb_in.c | |
parent | a19128260107f951d1b4c421cf98b92f8092b069 (diff) |
ocfs2: Do not downconvert if the lock level is already compatible
During upconvert, if the master were to send a BAST, dlmglue will detect the
upconversion in process and send a cancel convert to the master. Upon receiving
the AST for the cancel convert, it will re-process the lock resource to determine
whether it needs downconverting. Say, the up was from PR to EX and the BAST was
for EX. After the cancel convert, it will need to downconvert to NL.
However, if the node was originally upconverting from NL to EX, then there would
be no reason to downconvert (assuming the same message sequence).
This patch makes dlmglue consider the possibility that the current lock level
is already compatible and that downconverting is not required.
Joel Becker <[email protected]> assisted in fixing this issue.
Fixes ossbz#1178
http://oss.oracle.com/bugzilla/show_bug.cgi?id=1178
Reported-by: Coly Li <[email protected]>
Signed-off-by: Sunil Mushran <[email protected]>
Signed-off-by: Joel Becker <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions