summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-messages.h
blob: ad1021de2b422e6146d137709d46139b9154eb72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/*
 Copyright (c) 2015 Red Hat, Inc. <http://www.redhat.com>
 This file is part of GlusterFS.

 This file is licensed to you under your choice of the GNU Lesser
 General Public License, version 3 or any later version (LGPLv3 or
 later), or the GNU General Public License, version 2 (GPLv2), in all
 cases as published by the Free Software Foundation.
 */

#ifndef _AFR_MESSAGES_H_
#define _AFR_MESSAGES_H_

#include "glfs-message-id.h"

/* To add new message IDs, append new identifiers at the end of the list.
 *
 * Never remove a message ID. If it's not used anymore, you can rename it or
 * leave it as it is, but not delete it. This is to prevent reutilization of
 * IDs by other messages.
 *
 * The component name must match one of the entries defined in
 * glfs-message-id.h.
 */

GLFS_MSGID(AFR,
        AFR_MSG_QUORUM_FAIL,
        AFR_MSG_QUORUM_MET,
        AFR_MSG_QUORUM_OVERRIDE,
        AFR_MSG_INVALID_CHILD_UP,
        AFR_MSG_SUBVOL_UP,
        AFR_MSG_SUBVOLS_DOWN,
        AFR_MSG_ENTRY_UNLOCK_FAIL,
        AFR_MSG_SPLIT_BRAIN,
        AFR_MSG_OPEN_FAIL,
        AFR_MSG_UNLOCK_FAIL,
        AFR_MSG_REPLACE_BRICK_STATUS,
        AFR_MSG_GFID_NULL,
        AFR_MSG_FD_CREATE_FAILED,
        AFR_MSG_DICT_SET_FAILED,
        AFR_MSG_EXPUNGING_FILE_OR_DIR,
        AFR_MSG_MIGRATION_IN_PROGRESS,
        AFR_MSG_CHILD_MISCONFIGURED,
        AFR_MSG_VOL_MISCONFIGURED,
        AFR_MSG_BLOCKING_LKS_FAILED,
        AFR_MSG_INVALID_FD,
        AFR_MSG_LOCK_INFO,
        AFR_MSG_LOCK_XLATOR_NOT_LOADED,
        AFR_MSG_FD_CTX_GET_FAILED,
        AFR_MSG_INVALID_SUBVOL,
        AFR_MSG_PUMP_XLATOR_ERROR,
        AFR_MSG_SELF_HEAL_INFO,
        AFR_MSG_READ_SUBVOL_ERROR,
        AFR_MSG_DICT_GET_FAILED,
        AFR_MSG_INFO_COMMON,
        AFR_MSG_SPLIT_BRAIN_CHOICE_ERROR,
        AFR_MSG_LOCAL_CHILD,
        AFR_MSG_INVALID_DATA,
        AFR_MSG_INVALID_ARG,
        AFR_MSG_INDEX_DIR_GET_FAILED,
        AFR_MSG_FSYNC_FAILED,
        AFR_MSG_FAVORITE_CHILD,
        AFR_MSG_SELF_HEAL_FAILED,
        AFR_MSG_SPLIT_BRAIN_STATUS,
        AFR_MSG_ADD_BRICK_STATUS,
        AFR_MSG_NO_CHANGELOG,
        AFR_MSG_TIMER_CREATE_FAIL,
        AFR_MSG_SBRAIN_FAV_CHILD_POLICY
);

#endif /* !_AFR_MESSAGES_H_ */