search for: ocfs2_osb_freeze_inprog

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

2010 Jan 29
0
[PATCH 3/3] ocfs2:freeze-thaw: make it work -v2
...*/ + return; + } + + sb = freeze_bdev(osb->sb->s_bdev); + if (IS_ERR(sb)) { + /* ocfs2_freeze_fs() shouldn't return any error in the remote + * 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 unmo...