[Ocfs2-devel] [PATCH 1/3] Add online resize support for ocfs2,
take 2
Mark Fasheh
mark.fasheh at oracle.com
Fri Nov 30 15:42:44 PST 2007
On Tue, Nov 27, 2007 at 04:11:23PM +0800, tao.ma wrote:
> Modification from V1 to V2:
> Divide the whole processes into 2 steps like ext3.
> 1) If the last group isn't full, tunefs.ocfs2 will call
> OCFS2_IOC_GROUP_EXTEND first to extend it. All the main work is
> done in kernel.
> 2) For every new groups, tunefs.ocfs2 will call OCFS2_IOC_GROUP_ADD
> to add them one by one. The new group descriptor is initialized
> in userspace, we only check it in the kernel and update the
> global_bitap, super blocks etc.
One more blanket comment about these patches - be sure to run the patched
source through the "sparse" tool. It will help us catch endian bugs when
reading/writing on-disk fields. LWN actually has a good tutorial:
http://lwn.net/Articles/205624/
--Mark
--
Mark Fasheh
Senior Software Developer, Oracle
mark.fasheh at oracle.com
More information about the Ocfs2-devel
mailing list