On Thu, Mar 19, 2009 at 06:26:18AM +0800, Tao Ma wrote:
> Hi all,
>         This is the patch for the RFC. I have tested it in my ppc
> box, it works OK.
> 
> In some b-tree operations we may have the chance that we haven't
> reserved any metadata at the beginning because we think we don't
> need. While the 1st operation free a extent block while the 2nd
> operation need one. Our current code can't handle this. So this
> patch try to re-use the freed extent block so that we can pass
> the scenario above. For more details about the bug, see
> 
> [RFC] metadata alloc fix in machines which has PAGE_SIZE > CLUSTER_SIZE
> http://oss.oracle.com/pipermail/ocfs2-devel/2009-March/004185.html.
> 
> Signed-off-by: Tao Ma <[email protected]>

        This looks sane to me, but I'd like Mark's opinion as well.  He
knows the tree code better than I do.

Joel

-- 

Life's Little Instruction Book #274

        "Leave everything a little better than you found it."

Joel Becker
Principal Software Developer
Oracle
E-mail: [email protected]
Phone: (650) 506-8127

_______________________________________________
Ocfs2-devel mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/ocfs2-devel

Reply via email to