Lines Matching +full:cluster +full:- +full:mode
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* -*- mode: c; c-basic-offset: 8; -*-
7 * Glue to the underlying cluster stack.
23 /* Needed for plock-related prototypes */
46 * its inter-node behavior. See dlmglue.c for more information.
90 * A cluster connection. Mostly opaque to ocfs2, the connection holds
108 * Each cluster stack implements the stack operations structure. Not used
109 * in the ocfs2 code, the stackglue code translates generic cluster calls
115 * filesystem to the cluster stack. The ->connect() op is passed
124 * ->connect() must not return until it is guaranteed that
126 * - Node down notifications for the filesystem will be received
127 * and passed to conn->cc_recovery_handler().
128 * - Locking requests for the filesystem will be processed.
134 * no longer needs cluster services. All DLM locks have been
139 * Once ->disconnect() has returned, the connection structure will
140 * be freed. Thus, a stack must not return from ->disconnect()
149 * ->this_node() returns the cluster's unique identifier for the
156 * Call the underlying dlm lock function. The ->dlm_lock()
157 * callback should convert the flags and mode as appropriate.
161 * them to stack->sp_proto. There is no astarg. The lksb will
166 int mode,
173 * Call the underlying dlm unlock function. The ->dlm_unlock()
177 * it before calling stack->sp_proto->lp_unlock_ast(). There is
187 * code should never dereference the union. The ->lock_status()
188 * callback pulls out the stack-specific lksb, converts the status
194 * Return non-zero if the LVB is valid.
199 * Pull the lvb pointer off of the stack-specific lksb.
204 * Cluster-aware posix locks
268 int mode,