Lines Matching +full:cluster +full:- +full:mode
1 /* SPDX-License-Identifier: GPL-2.0-only */
5 ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
6 ** Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
46 * cluster: cluster name, null terminated, up to DLM_LOCKSPACE_LEN (not
47 * including terminating null). Optional. When cluster is null, it
48 * is not used. When set, dlm_new_lockspace() returns -EBADR if cluster
49 * is not equal to the dlm cluster name.
60 * dlm_new_lockspace() should return -EEXIST if the lockspace exists.
74 * be used or not. 0: will be used, -EXXX will not be used.
75 * -EOPNOTSUPP: the dlm does not have recovery_callbacks enabled.
80 int dlm_new_lockspace(const char *name, const char *cluster,
100 * mode: the requested mode of the lock (DLM_LOCK_)
112 * -EINVAL if any input parameters are invalid
113 * -EAGAIN if request would block and is flagged DLM_LKF_NOQUEUE
114 * -ENOMEM if there is no memory to process request
115 * -ENOTCONN if there is a communication error
131 int mode,
139 void (*bast) (void *astarg, int mode));
155 * -EINVAL if any input parameters are invalid
156 * -ENOTEMPTY if the lock still has sublocks
157 * -EBUSY if the lock is waiting for a remote lock operation
158 * -ENOTCONN if there is a communication error