[Ocfs2-devel] [PATCH 3/3] ocfs2:freeze-thaw: make it work

Wengang Wang wen.gang.wang at oracle.com
Thu Jan 21 20:22:14 PST 2010


Hi Sunil,

> >> Though we don't support it, we hope to make the operation succeed.
> >> the big pain is the we have no way to know if a nested freeze is done
> >> againt ocfs2 volume. the second freeze doesn't come to ocfs2, it returns
> >> by vfs(in freeze_bdev()). so we can prevent user to do a nested freeze.
> >>
> >> we can't return error. if we do, the thaw fails with volume still frozen
> >> and no further operation can recover the state.
> >>
> >
> > Taking the superblock lock will prevent this.

could you give me the detail for that?

regards,
wengang.



More information about the Ocfs2-devel mailing list