[Ocfs2-tools-devel] [PATCH 06/39] libo2cb: Create operation structures for the cluster stack.

Mark Fasheh mfasheh at suse.com
Fri May 16 17:02:02 PDT 2008


On Fri, Mar 14, 2008 at 04:52:29PM -0700, Joel Becker wrote:
> This allows each stack to handle
> begin_group_join/complete_group_join/group_leave as appropriate.
> Currently only the classic stack is implemented.
> 
> o2cb_init() will now fail if there is a problem reading
> /sys/fs/ocfs2/cluster_stack.  If the file does not exist we default to
> the classic stack for compatibility with older drivers.
> 
> Move the "o2cb" stack operations to static functions, adding them to the
> "classic_stack" operation structure.
> 
> Finally, have the external APIs merely fill in the default cluster name
> and call the stack operations.
> 
> Signed-off-by: Joel Becker <joel.becker at oracle.com>

Signed-off-by: Mark Fasheh <mfasheh at suse.com>



More information about the Ocfs2-tools-devel mailing list