Lines Matching +full:mode +full:- +full:recovery
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.
23 * recover_prep: called before the dlm begins lock recovery.
27 * recover_done: called after the dlm completes lock recovery.
51 * is not used. When set, dlm_new_lockspace() returns -EBADR if cluster
60 * dlm_new_lockspace() should return -EEXIST if the lockspace exists.
71 * ops: callbacks that indicate lockspace recovery points so the
72 * caller can coordinate its recovery and know lockspace members.
79 * be used or not. 0: will be used, -EXXX will not be used.
80 * -EOPNOTSUPP: the dlm does not have recovery_callbacks enabled.
105 * mode: the requested mode of the lock (DLM_LOCK_)
117 * -EINVAL if any input parameters are invalid
118 * -EAGAIN if request would block and is flagged DLM_LKF_NOQUEUE
119 * -ENOMEM if there is no memory to process request
120 * -ENOTCONN if there is a communication error
143 int mode,
151 void (*bast) (void *astarg, int mode));
167 * -EINVAL if any input parameters are invalid
168 * -ENOTEMPTY if the lock still has sublocks
169 * -EBUSY if the lock is waiting for a remote lock operation
170 * -ENOTCONN if there is a communication error