[Ocfs2-devel] [PATCH] ocfs2: Reused freed extent block in b-tree operation.
Joel Becker
Joel.Becker at oracle.com
Thu Mar 19 15:13:00 PDT 2009
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 <tao.ma at oracle.com>
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: joel.becker at oracle.com
Phone: (650) 506-8127
More information about the Ocfs2-devel
mailing list