"Fossies" - the Fresh Open Source Software Archive

Member "glusterfs-6.9/xlators/cluster/afr/src/afr-messages.h" (23 Apr 2020, 2153 Bytes) of package /linux/misc/glusterfs-6.9.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "afr-messages.h" see the Fossies "Dox" file reference documentation.

    1 /*
    2  Copyright (c) 2015 Red Hat, Inc. <http://www.redhat.com>
    3  This file is part of GlusterFS.
    4 
    5  This file is licensed to you under your choice of the GNU Lesser
    6  General Public License, version 3 or any later version (LGPLv3 or
    7  later), or the GNU General Public License, version 2 (GPLv2), in all
    8  cases as published by the Free Software Foundation.
    9  */
   10 
   11 #ifndef _AFR_MESSAGES_H_
   12 #define _AFR_MESSAGES_H_
   13 
   14 #include <glusterfs/glfs-message-id.h>
   15 
   16 /* To add new message IDs, append new identifiers at the end of the list.
   17  *
   18  * Never remove a message ID. If it's not used anymore, you can rename it or
   19  * leave it as it is, but not delete it. This is to prevent reutilization of
   20  * IDs by other messages.
   21  *
   22  * The component name must match one of the entries defined in
   23  * glfs-message-id.h.
   24  */
   25 
   26 GLFS_MSGID(AFR, AFR_MSG_QUORUM_FAIL, AFR_MSG_QUORUM_MET,
   27            AFR_MSG_QUORUM_OVERRIDE, AFR_MSG_INVALID_CHILD_UP, AFR_MSG_SUBVOL_UP,
   28            AFR_MSG_SUBVOLS_DOWN, AFR_MSG_ENTRY_UNLOCK_FAIL, AFR_MSG_SPLIT_BRAIN,
   29            AFR_MSG_OPEN_FAIL, AFR_MSG_UNLOCK_FAIL, AFR_MSG_REPLACE_BRICK_STATUS,
   30            AFR_MSG_GFID_NULL, AFR_MSG_FD_CREATE_FAILED, AFR_MSG_DICT_SET_FAILED,
   31            AFR_MSG_EXPUNGING_FILE_OR_DIR, AFR_MSG_MIGRATION_IN_PROGRESS,
   32            AFR_MSG_CHILD_MISCONFIGURED, AFR_MSG_VOL_MISCONFIGURED,
   33            AFR_MSG_INTERNAL_LKS_FAILED, AFR_MSG_INVALID_FD, AFR_MSG_LOCK_INFO,
   34            AFR_MSG_LOCK_XLATOR_NOT_LOADED, AFR_MSG_FD_CTX_GET_FAILED,
   35            AFR_MSG_INVALID_SUBVOL, AFR_MSG_PUMP_XLATOR_ERROR,
   36            AFR_MSG_SELF_HEAL_INFO, AFR_MSG_READ_SUBVOL_ERROR,
   37            AFR_MSG_DICT_GET_FAILED, AFR_MSG_INFO_COMMON,
   38            AFR_MSG_SPLIT_BRAIN_CHOICE_ERROR, AFR_MSG_LOCAL_CHILD,
   39            AFR_MSG_INVALID_DATA, AFR_MSG_INVALID_ARG,
   40            AFR_MSG_INDEX_DIR_GET_FAILED, AFR_MSG_FSYNC_FAILED,
   41            AFR_MSG_FAVORITE_CHILD, AFR_MSG_SELF_HEAL_FAILED,
   42            AFR_MSG_SPLIT_BRAIN_STATUS, AFR_MSG_ADD_BRICK_STATUS,
   43            AFR_MSG_NO_CHANGELOG, AFR_MSG_TIMER_CREATE_FAIL,
   44            AFR_MSG_SBRAIN_FAV_CHILD_POLICY, AFR_MSG_INODE_CTX_GET_FAILED,
   45            AFR_MSG_THIN_ARB);
   46 
   47 #endif /* !_AFR_MESSAGES_H_ */