"Fossies" - the Fresh Open Source Software Archive

Member "glusterfs-8.2/xlators/performance/md-cache/src/md-cache-messages.h" (16 Sep 2020, 1030 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 "md-cache-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 _MD_CACHE_MESSAGES_H_
   11 #define _MD_CACHE_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(MD_CACHE, MD_CACHE_MSG_NO_MEMORY, MD_CACHE_MSG_DISCARD_UPDATE,
   26            MD_CACHE_MSG_CACHE_UPDATE, MD_CACHE_MSG_IPC_UPCALL_FAILED,
   27            MD_CACHE_MSG_NO_XATTR_CACHE);
   28 
   29 #endif /* _MD_CACHE_MESSAGES_H_ */