"Fossies" - the Fresh Open Source Software Archive

Member "glusterfs-8.2/xlators/cluster/ec/src/ec-messages.h" (16 Sep 2020, 3117 Bytes) of package /linux/misc/glusterfs-8.2.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 "ec-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 _EC_MESSAGES_H_
   12 #define _EC_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(EC, EC_MSG_INVALID_CONFIG, EC_MSG_HEAL_FAIL,
   27            EC_MSG_DICT_COMBINE_FAIL, EC_MSG_STIME_COMBINE_FAIL,
   28            EC_MSG_INVALID_DICT_NUMS, EC_MSG_IATT_COMBINE_FAIL,
   29            EC_MSG_INVALID_FORMAT, EC_MSG_DICT_GET_FAILED,
   30            EC_MSG_UNHANDLED_STATE, EC_MSG_FILE_DESC_REF_FAIL,
   31            EC_MSG_LOC_COPY_FAIL, EC_MSG_BUF_REF_FAIL, EC_MSG_DICT_REF_FAIL,
   32            EC_MSG_LK_UNLOCK_FAILED, EC_MSG_UNLOCK_FAILED,
   33            EC_MSG_LOC_PARENT_INODE_MISSING, EC_MSG_INVALID_LOC_NAME,
   34            EC_MSG_NO_MEMORY, EC_MSG_GFID_MISMATCH, EC_MSG_UNSUPPORTED_VERSION,
   35            EC_MSG_FD_CREATE_FAIL, EC_MSG_READDIRP_REQ_PREP_FAIL,
   36            EC_MSG_LOOKUP_REQ_PREP_FAIL, EC_MSG_INODE_REF_FAIL,
   37            EC_MSG_LOOKUP_READAHEAD_FAIL, EC_MSG_FRAME_MISMATCH,
   38            EC_MSG_XLATOR_MISMATCH, EC_MSG_VECTOR_MISMATCH, EC_MSG_IATT_MISMATCH,
   39            EC_MSG_FD_MISMATCH, EC_MSG_DICT_MISMATCH, EC_MSG_INDEX_DIR_GET_FAIL,
   40            EC_MSG_PREOP_LOCK_FAILED, EC_MSG_CHILDS_INSUFFICIENT,
   41            EC_MSG_OP_EXEC_UNAVAIL, EC_MSG_UNLOCK_DELAY_FAILED,
   42            EC_MSG_SIZE_VERS_UPDATE_FAIL, EC_MSG_INVALID_REQUEST,
   43            EC_MSG_INVALID_LOCK_TYPE, EC_MSG_SIZE_VERS_GET_FAIL,
   44            EC_MSG_FILE_SIZE_GET_FAIL, EC_MSG_FOP_MISMATCH,
   45            EC_MSG_SUBVOL_ID_DICT_SET_FAIL, EC_MSG_SUBVOL_BUILD_FAIL,
   46            EC_MSG_XLATOR_INIT_FAIL, EC_MSG_NO_PARENTS, EC_MSG_TIMER_CREATE_FAIL,
   47            EC_MSG_TOO_MANY_SUBVOLS, EC_MSG_DATA_UNAVAILABLE,
   48            EC_MSG_INODE_REMOVE_FAIL, EC_MSG_INVALID_REDUNDANCY,
   49            EC_MSG_XLATOR_PARSE_OPT_FAIL, EC_MSG_OP_FAIL_ON_SUBVOLS,
   50            EC_MSG_INVALID_INODE, EC_MSG_LOCK_MISMATCH, EC_MSG_XDATA_MISMATCH,
   51            EC_MSG_HEALING_INFO, EC_MSG_HEAL_SUCCESS, EC_MSG_FULL_SWEEP_START,
   52            EC_MSG_FULL_SWEEP_STOP, EC_MSG_INVALID_FOP, EC_MSG_EC_UP,
   53            EC_MSG_EC_DOWN, EC_MSG_SIZE_XATTR_GET_FAIL,
   54            EC_MSG_VER_XATTR_GET_FAIL, EC_MSG_CONFIG_XATTR_GET_FAIL,
   55            EC_MSG_CONFIG_XATTR_INVALID, EC_MSG_EXTENSION, EC_MSG_EXTENSION_NONE,
   56            EC_MSG_EXTENSION_UNKNOWN, EC_MSG_EXTENSION_UNSUPPORTED,
   57            EC_MSG_EXTENSION_FAILED, EC_MSG_NO_GF, EC_MSG_MATRIX_FAILED,
   58            EC_MSG_DYN_CREATE_FAILED, EC_MSG_DYN_CODEGEN_FAILED,
   59            EC_MSG_THREAD_CLEANUP_FAILED, EC_MSG_FD_BAD);
   60 
   61 #endif /* !_EC_MESSAGES_H_ */