[Ocfs2-devel] [PATCH 0/2] orphan lock fixes for local mode.
Joel Becker
Joel.Becker at oracle.com
Thu Jun 18 10:21:27 PDT 2009
On Thu, Jun 18, 2009 at 09:06:02AM -0700, Sunil Mushran wrote:
> Joel Becker wrote:
> > On Thu, Jun 18, 2009 at 03:48:08PM +0800, Tao Ma wrote:
> >
> >> Hi Joel/Srini,
> >> Here are 2 patches for orphan lock in local mode.
> >> patch 1:
> >> In local mode, we don't need lvb, so don't init it.
> >> patch 2:
> >> In local mode, orphan lock and unlock don't need to go to dlm part.
> >>
> > I would think we don't even need the orphan scan in local mode.
> >
> > Joel
>
> Tao, Good catch.
>
> Yes, we don't need the orphan scan in local mount. The earlier patch
> that scans all the orphans slots mount should be sufficient.
>
> Not calling ocfs2_orphan_scan_init() in ocfs2_initialize_super() should
> be sufficient. But we should add Tao's patch 2 too for completeness.
Do we need the hard_readonly check like other lock types?
Joel
--
"Baby, even the losers
Get luck sometimes.
Even the losers
Keep a little bit of pride."
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
More information about the Ocfs2-devel
mailing list