"Fossies" - the Fresh Open Source Software Archive

Member "glusterfs-8.2/xlators/performance/write-behind/src/write-behind-messages.h" (16 Sep 2020, 1157 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 "write-behind-messages.h" see the Fossies "Dox" file reference documentation.

    1 /*Copyright (c) 2015 Red Hat, Inc. <http://www.redhat.com>
    2   This file is part of GlusterFS.
    3 
    4   This file is licensed to you under your choice of the GNU Lesser
    5   General Public License, version 3 or any later version (LGPLv3 or
    6   later), or the GNU General Public License, version 2 (GPLv2), in all
    7   cases as published by the Free Software Foundation.
    8 */
    9 
   10 #ifndef _WRITE_BEHIND_MESSAGES_H_
   11 #define _WRITE_BEHIND_MESSAGES_H_
   12 
   13 #include <glusterfs/glfs-message-id.h>
   14 
   15 /* To add new message IDs, append new identifiers at the end of the list.
   16  *
   17  * Never remove a message ID. If it's not used anymore, you can rename it or
   18  * leave it as it is, but not delete it. This is to prevent reutilization of
   19  * IDs by other messages.
   20  *
   21  * The component name must match one of the entries defined in
   22  * glfs-message-id.h.
   23  */
   24 
   25 GLFS_MSGID(WRITE_BEHIND, WRITE_BEHIND_MSG_EXCEEDED_MAX_SIZE,
   26            WRITE_BEHIND_MSG_INIT_FAILED, WRITE_BEHIND_MSG_INVALID_ARGUMENT,
   27            WRITE_BEHIND_MSG_NO_MEMORY, WRITE_BEHIND_MSG_SIZE_NOT_SET,
   28            WRITE_BEHIND_MSG_VOL_MISCONFIGURED,
   29            WRITE_BEHIND_MSG_RES_UNAVAILABLE);
   30 
   31 #endif /* _WRITE_BEHIND_MESSAGES_H_ */