search for: ocfs2_osb_frozen_by_remot

Displaying 1 result from an estimated 1 matches for "ocfs2_osb_frozen_by_remot".

2010 Jan 29
0
[PATCH 3/3] ocfs2:freeze-thaw: make it work -v2
...* box. If it does it's a bug. But we deal with it gracefully. + */ + ret = PTR_ERR(sb); + mlog_errno(ret); + ocfs2_clear_osb_flag(osb, OCFS2_OSB_FREEZE_INPROG); + return; + } + + spin_lock(&osb->osb_lock); + osb->osb_flags &= ~OCFS2_OSB_FREEZE_INPROG; + osb->osb_flags |= OCFS2_OSB_FROZEN_BY_REMOTE; + spin_unlock(&osb->osb_lock); + + ocfs2_wake_downconvert_thread(osb); + + /* Waits for thaw */ +wait_thaw: + /* thaws the fs if unmount is in progress. */ + ret = ocfs2_test_osb_flag(osb, OCFS2_OSB_UMOUNT_INPROG); + if (ret) { + /* Leave FREEZE_INPROG there so not queue the worker again...