[Ocfs2-devel] ocfs2: add extent block stealing for ocfs2 v1

Tao Ma tao.ma at oracle.com
Thu Dec 17 06:00:07 PST 2009


Jun Yang wrote:
> On 12/15/2009 04:04 PM, Tao Ma wrote:
>> alloc_group = osb->osb_inode_alloc_group;
>> here, you use the alloc_group which is only used in inode alloc and
>> reset it
>> after the reservation succeed. I am afraid extent alloc shouldn't use 
>> and
>> change it?
> Yes, It's a mistake. It seems I would better not merge those two 
> functions.
oh, you can merge them. Just make sure not mess extent_alloc with 
inode_alloc.
>
>> I am also curious about one thing. Have you written the test script for
>> it to see whether it works?
>> You can take ocfs2-tests/programs/inode_stealing/inode_stealing.sh for
>> reference.
> thanks for your advice. I will make a similar test for extent block 
> stealing patches.
cool.

Regards,
Tao



More information about the Ocfs2-devel mailing list