Skip to content

orphan lock fixes for local mode.

Joel Becker ocfs2-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Ocfs2-devel] [PATCH 0/2] orphan lock fixes for local mode.
Quoted 14 lines · Sunil Mushran
Quoted 9 lines · Joel Becker
Quoted 7 lines · Tao Ma

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.

Quoted 3 lines

I would think we don't even need the orphan scan in local mode.

Joel

Quoted 7 lines

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

Signature · 10 lines
"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