History

ocfs2/dlm: clear refmap bit of recovery lock while doing local recovery cleanup

When recovery master down, dlm_do_local_recovery_cleanup() only remove the $RECOVERY lock owned by dead node, but do not clear the refmap bit. Which will make umount thread falling in dead loop migrating $RECOVERY to the dead node.

xuejiufei committed 10 years ago

Commit c95a5181 parent 012a4161 file · +2 −0Browse files

Unified · Split

fs/ocfs2/dlm/dlmrecovery.c+2−0
@@ -2367,6 +2367,8 @@ static void dlm_do_local_recovery_cleanup(struct dlm_ctxt *dlm, u8 dead_node) · 2366 unmodified lines
2367 break;2367 break;
2368 }2368 }
2369 }2369 }
2370 dlm_lockres_clear_refmap_bit(dlm, res,
2371 dead_node);
2370 spin_unlock(&res->spinlock);2372 spin_unlock(&res->spinlock);
2371 continue;2373 continue;
2372 }2374 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t