diff options
author | Mohamed Ashiq <ashiq333@gmail.com> | 2015-05-19 15:28:30 +0530 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2015-06-17 07:07:23 -0700 |
commit | 515a4c4e08eb9fcd92c9cca693ef9978b8a1b05c (patch) | |
tree | 772816973ab4d28d6ab1b8a5e825203224d03d11 | |
parent | 1cc500f48005d8682f39f7c6355170df569c7603 (diff) |
common-utils/libglusterfs : Porting to a new logging framework
Change-Id: Iee1c083774c988375a7261cfd6d510ed4c574de2
BUG: 1194640
Signed-off-by: Mohamed Ashiq <ashiq333@gmail.com>
Reviewed-on: http://review.gluster.org/10824
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Kaushal M <kaushal@redhat.com>
-rw-r--r-- | libglusterfs/src/common-utils.c | 332 | ||||
-rw-r--r-- | libglusterfs/src/common-utils.h | 38 | ||||
-rw-r--r-- | libglusterfs/src/libglusterfs-messages.h | 628 |
3 files changed, 412 insertions, 586 deletions
diff --git a/libglusterfs/src/common-utils.c b/libglusterfs/src/common-utils.c index bda336e348a..428cdecc356 100644 --- a/libglusterfs/src/common-utils.c +++ b/libglusterfs/src/common-utils.c @@ -45,6 +45,7 @@ #include "lkowner.h" #include "syscall.h" #include <ifaddrs.h> +#include "libglusterfs-messages.h" #ifndef AI_ADDRCONFIG #define AI_ADDRCONFIG 0 @@ -90,8 +91,8 @@ mkdir_p (char *path, mode_t mode, gf_boolean_t allow_symlinks) dir[i] = '\0'; ret = mkdir (dir, mode); if (ret && errno != EEXIST) { - gf_log ("", GF_LOG_ERROR, "Failed due to reason %s", - strerror (errno)); + gf_msg ("", GF_LOG_ERROR, errno, LG_MSG_DIR_OP_FAILED, + "Failed due to reason %s", strerror (errno)); goto out; } @@ -102,8 +103,9 @@ mkdir_p (char *path, mode_t mode, gf_boolean_t allow_symlinks) if (S_ISLNK (stbuf.st_mode)) { ret = -1; - gf_log ("", GF_LOG_ERROR, "%s is a symlink", - dir); + gf_msg ("", GF_LOG_ERROR, 0, + LG_MSG_DIR_IS_SYMLINK, "%s is a " + "symlink", dir); goto out; } } @@ -114,8 +116,9 @@ mkdir_p (char *path, mode_t mode, gf_boolean_t allow_symlinks) ret = stat (dir, &stbuf); if (ret || !S_ISDIR (stbuf.st_mode)) { ret = -1; - gf_log ("", GF_LOG_ERROR, "Failed to create directory, " - "possibly some of the components were not directories"); + gf_msg ("", GF_LOG_ERROR, 0, LG_MSG_DIR_OP_FAILED, "Failed to " + "create directory, possibly some of the components " + "were not directories"); goto out; } @@ -191,16 +194,17 @@ gf_rev_dns_lookup (const char *ip) sizeof (host_addr), NULL, 0, 0); if (ret != 0) { - gf_log ("resolver", GF_LOG_INFO, "could not resolve hostname " - "for %s: %s", ip, strerror (errno)); + gf_msg ("resolver", GF_LOG_INFO, errno, + LG_MSG_RESOLVE_HOSTNAME_FAILED, "could not resolve " + "hostname for %s: %s", ip, strerror (errno)); goto out; } /* Get the FQDN */ fqdn = gf_strdup (host_addr); if (!fqdn) - gf_log ("resolver", GF_LOG_CRITICAL, "Allocation failed for " - "the host address"); + gf_msg ("resolver", GF_LOG_CRITICAL, 0, LG_MSG_NO_MEMORY, + "Allocation failed for the host address"); out: return fqdn; @@ -222,7 +226,8 @@ gf_resolve_path_parent (const char *path) GF_VALIDATE_OR_GOTO (THIS->name, path, out); if (strlen (path) <= 0) { - gf_log_callingfn (THIS->name, GF_LOG_DEBUG, + gf_msg_callingfn (THIS->name, GF_LOG_DEBUG, 0, + LG_MSG_INVALID_STRING, "invalid string for 'path'"); goto out; } @@ -230,7 +235,7 @@ gf_resolve_path_parent (const char *path) /* dup the parameter, we don't want to modify it */ pathc = strdupa (path); if (!pathc) { - gf_log (THIS->name, GF_LOG_CRITICAL, + gf_msg (THIS->name, GF_LOG_CRITICAL, 0, LG_MSG_NO_MEMORY, "Allocation failed for the parent"); goto out; } @@ -242,7 +247,7 @@ gf_resolve_path_parent (const char *path) parent = gf_strdup (tmp); if (!parent) - gf_log (THIS->name, GF_LOG_CRITICAL, + gf_msg (THIS->name, GF_LOG_CRITICAL, 0, LG_MSG_NO_MEMORY, "Allocation failed for the parent"); out: return parent; @@ -261,7 +266,8 @@ gf_resolve_ip6 (const char *hostname, char service[NI_MAXSERV], host[NI_MAXHOST]; if (!hostname) { - gf_log_callingfn ("resolver", GF_LOG_WARNING, "hostname is NULL"); + gf_msg_callingfn ("resolver", GF_LOG_WARNING, 0, + LG_MSG_HOSTNAME_NULL, "hostname is NULL"); return -1; } @@ -276,15 +282,13 @@ gf_resolve_ip6 (const char *hostname, if (cache->first && !cache->next) { freeaddrinfo(cache->first); cache->first = cache->next = NULL; - gf_log ("resolver", GF_LOG_TRACE, - "flushing DNS cache"); + gf_msg_trace ("resolver", 0, "flushing DNS cache"); } if (!cache->first) { char *port_str = NULL; - gf_log ("resolver", GF_LOG_TRACE, - "DNS cache not present, freshly probing hostname: %s", - hostname); + gf_msg_trace ("resolver", 0, "DNS cache not present, freshly " + "probing hostname: %s", hostname); memset(&hints, 0, sizeof(hints)); hints.ai_family = family; @@ -295,12 +299,14 @@ gf_resolve_ip6 (const char *hostname, ret = gf_asprintf (&port_str, "%d", port); if (-1 == ret) { - gf_log ("resolver", GF_LOG_ERROR, "asprintf failed"); + gf_msg ("resolver", GF_LOG_ERROR, 0, + LG_MSG_ASPRINTF_FAILED, "asprintf failed"); return -1; } if ((ret = getaddrinfo(hostname, port_str, &hints, &cache->first)) != 0) { - gf_log ("resolver", GF_LOG_ERROR, - "getaddrinfo failed (%s)", gai_strerror (ret)); + gf_msg ("resolver", GF_LOG_ERROR, ret, + LG_MSG_GETADDRINFO_FAILED, "getaddrinfo failed" + " (%s)", gai_strerror (ret)); GF_FREE (*dnscache); *dnscache = NULL; @@ -319,14 +325,15 @@ gf_resolve_ip6 (const char *hostname, service, sizeof (service), NI_NUMERICHOST); if (ret != 0) { - gf_log ("resolver", GF_LOG_ERROR, - "getnameinfo failed (%s)", gai_strerror (ret)); + gf_msg ("resolver", GF_LOG_ERROR, 0, + LG_MSG_GETNAMEINFO_FAILED, "getnameinfo failed" + " (%s)", gai_strerror (ret)); goto err; } - gf_log ("resolver", GF_LOG_DEBUG, - "returning ip-%s (port-%s) for hostname: %s and port: %d", - host, service, hostname, port); + gf_msg_debug ("resolver", 0, "returning ip-%s (port-%s) for " + "hostname: %s and port: %d", host, service, + hostname, port); *addr_info = cache->next; } @@ -340,13 +347,14 @@ gf_resolve_ip6 (const char *hostname, service, sizeof (service), NI_NUMERICHOST); if (ret != 0) { - gf_log ("resolver", GF_LOG_ERROR, - "getnameinfo failed (%s)", gai_strerror (ret)); + gf_msg ("resolver", GF_LOG_ERROR, 0, + LG_MSG_GETNAMEINFO_FAILED, "getnameinfo failed" + " (%s)", gai_strerror (ret)); goto err; } - gf_log ("resolver", GF_LOG_DEBUG, - "next DNS query will return: ip-%s port-%s", host, service); + gf_msg_debug ("resolver", 0, "next DNS query will return: " + "ip-%s port-%s", host, service); } return 0; @@ -661,7 +669,8 @@ gf_strsplit (const char *str, const char *delim, int j = 0; if (str == NULL || delim == NULL || tokens == NULL || token_count == NULL) { - gf_log_callingfn (THIS->name, GF_LOG_WARNING, "argument invalid"); + gf_msg_callingfn (THIS->name, GF_LOG_WARNING, EINVAL, + LG_MSG_INVALID_ARG, "argument invalid"); return -1; } @@ -726,7 +735,8 @@ gf_strstr (const char *str, const char *delim, const char *match) tmp_str = strdup (str); if (str == NULL || delim == NULL || match == NULL || tmp_str == NULL) { - gf_log_callingfn (THIS->name, GF_LOG_WARNING, "argument invalid"); + gf_msg_callingfn (THIS->name, GF_LOG_WARNING, EINVAL, + LG_MSG_INVALID_ARG, "argument invalid"); ret = -1; goto out; } @@ -756,7 +766,8 @@ gf_volume_name_validate (const char *volume_name) const char *vname = NULL; if (volume_name == NULL) { - gf_log_callingfn (THIS->name, GF_LOG_WARNING, "argument invalid"); + gf_msg_callingfn (THIS->name, GF_LOG_WARNING, EINVAL, + LG_MSG_INVALID_ARG, "argument invalid"); return -1; } @@ -781,7 +792,8 @@ gf_string2time (const char *str, uint32_t *n) const char *s = NULL; if (str == NULL || n == NULL) { - gf_log_callingfn (THIS->name, GF_LOG_WARNING, "argument invalid"); + gf_msg_callingfn (THIS->name, GF_LOG_WARNING, EINVAL, + LG_MSG_INVALID_ARG, "argument invalid"); errno = EINVAL; return -1; } @@ -858,7 +870,8 @@ gf_string2percent (const char *str, double *n) const char *s = NULL; if (str == NULL || n == NULL) { - gf_log_callingfn (THIS->name, GF_LOG_WARNING, "argument invalid"); + gf_msg_callingfn (THIS->name, GF_LOG_WARNING, EINVAL, + LG_MSG_INVALID_ARG, "argument invalid"); errno = EINVAL; return -1; } @@ -901,7 +914,8 @@ _gf_string2long (const char *str, long *n, int base) int old_errno = 0; if (str == NULL || n == NULL) { - gf_log_callingfn (THIS->name, GF_LOG_WARNING, "argument invalid"); + gf_msg_callingfn (THIS->name, GF_LOG_WARNING, EINVAL, + LG_MSG_INVALID_ARG, "argument invalid"); errno = EINVAL; return -1; } @@ -935,7 +949,8 @@ _gf_string2ulong (const char *str, unsigned long *n, int base) const char *s = NULL; if (str == NULL || n == NULL) { - gf_log_callingfn (THIS->name, GF_LOG_WARNING, "argument invalid"); + gf_msg_callingfn (THIS->name, GF_LOG_WARNING, EINVAL, + LG_MSG_INVALID_ARG, "argument invalid"); errno = EINVAL; return -1; } @@ -977,7 +992,8 @@ _gf_string2uint (const char *str, unsigned int *n, int base) const char *s = NULL; if (str == NULL || n == NULL) { - gf_log_callingfn (THIS->name, GF_LOG_WARNING, "argument invalid"); + gf_msg_callingfn (THIS->name, GF_LOG_WARNING, EINVAL, + LG_MSG_INVALID_ARG, "argument invalid"); errno = EINVAL; return -1; } @@ -1018,7 +1034,8 @@ _gf_string2double (const char *str, double *n) int old_errno = 0; if (str == NULL || n == NULL) { - gf_log_callingfn (THIS->name, GF_LOG_WARNING, "argument invalid"); + gf_msg_callingfn (THIS->name, GF_LOG_WARNING, EINVAL, + LG_MSG_INVALID_ARG, "argument invalid"); errno = EINVAL; return -1; } @@ -1051,7 +1068,8 @@ _gf_string2longlong (const char *str, long long *n, int base) int old_errno = 0; if (str == NULL || n == NULL) { - gf_log_callingfn (THIS->name, GF_LOG_WARNING, "argument invalid"); + gf_msg_callingfn (THIS->name, GF_LOG_WARNING, EINVAL, + LG_MSG_INVALID_ARG, "argument invalid"); errno = EINVAL; return -1; } @@ -1085,7 +1103,8 @@ _gf_string2ulonglong (const char *str, unsigned long long *n, int base) const char *s = NULL; if (str == NULL || n == NULL) { - gf_log_callingfn (THIS->name, GF_LOG_WARNING, "argument invalid"); + gf_msg_callingfn (THIS->name, GF_LOG_WARNING, EINVAL, + LG_MSG_INVALID_ARG, "argument invalid"); errno = EINVAL; return -1; } @@ -1454,8 +1473,8 @@ gf_string2bytesize_range (const char *str, uint64_t *n, uint64_t max) gf_boolean_t fraction = _gf_false; if (str == NULL || n == NULL) { - gf_log_callingfn (THIS->name, GF_LOG_WARNING, - "argument invalid"); + gf_msg_callingfn (THIS->name, GF_LOG_WARNING, EINVAL, + LG_MSG_INVALID_ARG, "argument invalid"); errno = EINVAL; return -1; } @@ -1570,8 +1589,8 @@ gf_string2percent_or_bytesize (const char *str, double *n, const char *s = NULL; if (str == NULL || n == NULL) { - gf_log_callingfn (THIS->name, GF_LOG_WARNING, - "argument invalid"); + gf_msg_callingfn (THIS->name, GF_LOG_WARNING, EINVAL, + LG_MSG_INVALID_ARG, "argument invalid"); errno = EINVAL; return -1; } @@ -1668,7 +1687,8 @@ int gf_string2boolean (const char *str, gf_boolean_t *b) { if (str == NULL) { - gf_log_callingfn (THIS->name, GF_LOG_WARNING, "argument invalid"); + gf_msg_callingfn (THIS->name, GF_LOG_WARNING, EINVAL, + LG_MSG_INVALID_ARG, "argument invalid"); return -1; } @@ -1786,8 +1806,8 @@ get_checksum_for_path (char *path, uint32_t *checksum) fd = open (path, O_RDWR); if (fd == -1) { - gf_log (THIS->name, GF_LOG_ERROR, "Unable to open %s, errno: %d", - path, errno); + gf_msg (THIS->name, GF_LOG_ERROR, errno, LG_MSG_PATH_ERROR, + "Unable to open %s, errno: %d", path, errno); goto out; } @@ -1820,7 +1840,8 @@ get_file_mtime (const char *path, time_t *stamp) ret = stat (path, &f_stat); if (ret < 0) { - gf_log (THIS->name, GF_LOG_ERROR, "failed to stat %s: %s", + gf_msg (THIS->name, GF_LOG_ERROR, errno, + LG_MSG_FILE_STAT_FAILED, "failed to stat %s: %s", path, strerror (errno)); goto out; } @@ -1881,14 +1902,16 @@ gf_is_ip_in_net (const char *network, const char *ip_str) /* Convert IP address to a long */ ret = inet_pton (family, ip_str, &ip_buf); if (ret < 0) - gf_log ("common-utils", GF_LOG_ERROR, - "inet_pton() failed with %s", strerror (errno)); + gf_msg ("common-utils", GF_LOG_ERROR, errno, + LG_MSG_INET_PTON_FAILED, "inet_pton() failed with %s", + strerror (errno)); /* Convert network IP address to a long */ ret = inet_pton (family, net_ip, &net_ip_buf); if (ret < 0) { - gf_log ("common-utils", GF_LOG_ERROR, - "inet_pton() failed with %s", strerror (errno)); + gf_msg ("common-utils", GF_LOG_ERROR, errno, + LG_MSG_INET_PTON_FAILED, "inet_pton() failed with %s", + strerror (errno)); goto out; } @@ -2118,8 +2141,8 @@ valid_ipv4_subnetwork (const char *address) gf_boolean_t retv = _gf_true; if (address == NULL) { - gf_log_callingfn (THIS->name, GF_LOG_WARNING, - "argument invalid"); + gf_msg_callingfn (THIS->name, GF_LOG_WARNING, EINVAL, + LG_MSG_INVALID_ARG, "argument invalid"); return _gf_false; } @@ -2133,8 +2156,9 @@ valid_ipv4_subnetwork (const char *address) */ slash = strchr(paddr, '/'); if ((slash == NULL) || (slash[1] == '\0')) { - gf_log_callingfn (THIS->name, GF_LOG_WARNING, - "Invalid IPv4 subnetwork format"); + gf_msg_callingfn (THIS->name, GF_LOG_WARNING, 0, + LG_MSG_INVALID_IPV4_FORMAT, "Invalid IPv4 " + "subnetwork format"); retv = _gf_false; goto out; } @@ -2142,7 +2166,8 @@ valid_ipv4_subnetwork (const char *address) *slash = '\0'; retv = valid_ipv4_address (paddr, strlen(paddr), _gf_false); if (retv == _gf_false) { - gf_log_callingfn (THIS->name, GF_LOG_WARNING, + gf_msg_callingfn (THIS->name, GF_LOG_WARNING, 0, + LG_MSG_INVALID_IPV4_FORMAT, "Invalid IPv4 subnetwork address"); goto out; } @@ -2150,7 +2175,8 @@ valid_ipv4_subnetwork (const char *address) prefixlen = strtol (slash + 1, &endptr, 10); if ((errno != 0) || (*endptr != '\0') || (prefixlen < 0) || (prefixlen > IPv4_ADDR_SIZE)) { - gf_log_callingfn (THIS->name, GF_LOG_WARNING, + gf_msg_callingfn (THIS->name, GF_LOG_WARNING, 0, + LG_MSG_INVALID_IPV4_FORMAT, "Invalid IPv4 subnetwork mask"); retv = _gf_false; goto out; @@ -2225,7 +2251,8 @@ valid_internet_address (char *address, gf_boolean_t wildcard_acc) int length = 0; if (address == NULL) { - gf_log_callingfn (THIS->name, GF_LOG_WARNING, "argument invalid"); + gf_msg_callingfn (THIS->name, GF_LOG_WARNING, EINVAL, + LG_MSG_INVALID_ARG, "argument invalid"); goto out; } @@ -2265,8 +2292,8 @@ valid_mount_auth_address (char *address) /* 1. Check for "NULL and empty string */ if ((address == NULL) || (address[0] == '\0')){ - gf_log_callingfn (THIS->name, - GF_LOG_WARNING, "argument invalid"); + gf_msg_callingfn (THIS->name, GF_LOG_WARNING, EINVAL, + LG_MSG_INVALID_ARG, "argument invalid"); return _gf_false; } @@ -2313,8 +2340,8 @@ gf_sock_union_equal_addr (union gf_sock_union *a, union gf_sock_union *b) { if (!a || !b) { - gf_log ("common-utils", GF_LOG_ERROR, "Invalid arguments" - " to gf_sock_union_equal_addr"); + gf_msg ("common-utils", GF_LOG_ERROR, 0, LG_MSG_INVALID_ENTRY, + "Invalid arguments to gf_sock_union_equal_addr"); return _gf_false; } @@ -2337,8 +2364,8 @@ gf_sock_union_equal_addr (union gf_sock_union *a, return _gf_true; default: - gf_log ("common-utils", GF_LOG_DEBUG, - "Unsupported/invalid address family"); + gf_msg_debug ("common-utils", 0, "Unsupported/invalid address " + "family"); break; } @@ -2477,8 +2504,8 @@ gf_roundup_power_of_two (int32_t nr) int32_t result = 1; if (nr < 0) { - gf_log ("common-utils", GF_LOG_WARNING, - "negative number passed"); + gf_msg ("common-utils", GF_LOG_WARNING, 0, + LG_MSG_NEGATIVE_NUM_PASSED, "negative number passed"); result = -1; goto out; } @@ -2501,8 +2528,8 @@ gf_roundup_next_power_of_two (int32_t nr) int32_t result = 1; if (nr < 0) { - gf_log ("common-utils", GF_LOG_WARNING, - "negative number passed"); + gf_msg ("common-utils", GF_LOG_WARNING, 0, + LG_MSG_NEGATIVE_NUM_PASSED, "negative number passed"); result = -1; goto out; } @@ -2668,7 +2695,7 @@ gf_canonicalize_path (char *path) out: if (ret) - gf_log ("common-utils", GF_LOG_ERROR, + gf_msg ("common-utils", GF_LOG_ERROR, 0, LG_MSG_PATH_ERROR, "Path manipulation failed"); GF_FREE(tmppath); @@ -2712,14 +2739,14 @@ generate_glusterfs_ctx_id (void) char now_str[32]; if (gettimeofday (&tv, NULL) == -1) { - gf_log ("glusterfsd", GF_LOG_ERROR, - "gettimeofday: failed %s", - strerror (errno)); + gf_msg ("glusterfsd", GF_LOG_ERROR, errno, + LG_MSG_GETTIMEOFDAY_FAILED, "gettimeofday: " + "failed %s", strerror (errno)); } if (gethostname (hostname, 256) == -1) { - gf_log ("glusterfsd", GF_LOG_ERROR, - "gethostname: failed %s", + gf_msg ("glusterfsd", GF_LOG_ERROR, errno, + LG_MSG_GETHOSTNAME_FAILED, "gethostname: failed %s", strerror (errno)); } @@ -2752,18 +2779,19 @@ gf_get_reserved_ports () * continue with older method of using any of the available * port? For now 2nd option is considered. */ - gf_log ("glusterfs", GF_LOG_WARNING, "could not open " - "the file /proc/sys/net/ipv4/ip_local_reserved_ports " - "for getting reserved ports info (%s)", - strerror (errno)); + gf_msg ("glusterfs", GF_LOG_WARNING, errno, + LG_MSG_FILE_OP_FAILED, "could not open the file " + "/proc/sys/net/ipv4/ip_local_reserved_ports for " + "getting reserved ports info (%s)", strerror (errno)); goto out; } ret = read (proc_fd, buffer, sizeof (buffer)); if (ret < 0) { - gf_log ("glusterfs", GF_LOG_WARNING, "could not " - "read the file %s for getting reserved ports " - "info (%s)", proc_file, strerror (errno)); + gf_msg ("glusterfs", GF_LOG_WARNING, errno, + LG_MSG_FILE_OP_FAILED, "could not read the file %s for" + " getting reserved ports info (%s)", proc_file, + strerror (errno)); goto out; } ports_info = gf_strdup (buffer); @@ -2786,8 +2814,9 @@ gf_process_reserved_ports (gf_boolean_t *ports) ports_info = gf_get_reserved_ports (); if (!ports_info) { - gf_log ("glusterfs", GF_LOG_WARNING, "Not able to get reserved " - "ports, hence there is a possibility that glusterfs " + gf_msg ("glusterfs", GF_LOG_WARNING, 0, + LG_MSG_RESERVED_PORTS_ERROR, "Not able to get reserved" + " ports, hence there is a possibility that glusterfs " "may consume reserved port"); goto out; } @@ -2821,18 +2850,20 @@ gf_ports_reserved (char *blocked_port, gf_boolean_t *ports) if (gf_string2int16 (blocked_port, &tmp_port1) == 0) { if (tmp_port1 > (GF_CLIENT_PORT_CEILING - 1) || tmp_port1 < 0) { - gf_log ("glusterfs-socket", GF_LOG_WARNING, - "invalid port %d", tmp_port1); + gf_msg ("glusterfs-socket", GF_LOG_WARNING, 0, + LG_MSG_INVALID_PORT, "invalid port %d", + tmp_port1); result = _gf_true; goto out; } else { - gf_log ("glusterfs", GF_LOG_DEBUG, - "blocking port %d", tmp_port1); + gf_msg_debug ("glusterfs", 0, "blocking port " + "%d", tmp_port1); ports[tmp_port1] = _gf_true; } } else { - gf_log ("glusterfs-socket", GF_LOG_WARNING, "%s is " - "not a valid port identifier", blocked_port); + gf_msg ("glusterfs-socket", GF_LOG_WARNING, 0, + LG_MSG_INVALID_PORT, "%s is not a valid port " + "identifier", blocked_port); result = _gf_true; goto out; } @@ -2863,8 +2894,8 @@ gf_ports_reserved (char *blocked_port, gf_boolean_t *ports) if (tmp_port2 < 0) tmp_port2 = 0; } - gf_log ("glusterfs", GF_LOG_DEBUG, "lower: %d, higher: %d", - tmp_port1, tmp_port2); + gf_msg_debug ("glusterfs", 0, "lower: %d, higher: %d", + tmp_port1, tmp_port2); for (; tmp_port1 <= tmp_port2; tmp_port1++) ports[tmp_port1] = _gf_true; } @@ -2929,9 +2960,9 @@ gf_get_hostname_from_ip (char *client_ip, char **hostname) client_hostname, sizeof (client_hostname), NULL, 0, 0); if (ret) { - gf_log ("common-utils", GF_LOG_ERROR, - "Could not lookup hostname of %s : %s", - client_ip, gai_strerror (ret)); + gf_msg ("common-utils", GF_LOG_ERROR, 0, + LG_MSG_GETNAMEINFO_FAILED, "Could not lookup hostname " + "of %s : %s", client_ip, gai_strerror (ret)); ret = -1; goto out; } @@ -2960,8 +2991,8 @@ gf_interface_search (char *ip) ret = getifaddrs (&ifaddr); if (ret != 0) { - gf_log (this->name, GF_LOG_ERROR, "getifaddrs() failed: %s\n", - gai_strerror(ret)); + gf_msg (this->name, GF_LOG_ERROR, 0, LG_MSG_GETIFADDRS_FAILED, + "getifaddrs() failed: %s\n", gai_strerror(ret)); goto out; } @@ -2985,9 +3016,9 @@ gf_interface_search (char *ip) host, NI_MAXHOST, NULL, 0, NI_NUMERICHOST); if (ret != 0) { - gf_log (this->name, GF_LOG_ERROR, - "getnameinfo() failed: %s\n", - gai_strerror(ret)); + gf_msg (this->name, GF_LOG_ERROR, 0, + LG_MSG_GETNAMEINFO_FAILED, "getnameinfo() " + "failed: %s\n", gai_strerror(ret)); goto out; } @@ -3003,9 +3034,8 @@ gf_interface_search (char *ip) } if (strncmp (ip, host, NI_MAXHOST) == 0) { - gf_log (this->name, GF_LOG_DEBUG, - "%s is local address at interface %s", - ip, ifa->ifa_name); + gf_msg_debug (this->name, 0, "%s is local address at " + "interface %s", ip, ifa->ifa_name); found = _gf_true; goto out; } @@ -3037,12 +3067,14 @@ get_ip_from_addrinfo (struct addrinfo *addr, char **ip) break; default: - gf_log ("glusterd", GF_LOG_ERROR, "Invalid family"); + gf_msg ("glusterd", GF_LOG_ERROR, 0, + LG_MSG_INVALID_FAMILY, "Invalid family"); return NULL; } if (!inet_ntop(addr->ai_family, in_addr, buf, sizeof(buf))) { - gf_log ("glusterd", GF_LOG_ERROR, "String conversion failed"); + gf_msg ("glusterd", GF_LOG_ERROR, 0, LG_MSG_CONVERSION_FAILED, + "String conversion failed"); return NULL; } @@ -3078,8 +3110,9 @@ gf_is_loopback_localhost (const struct sockaddr *sa, char *hostname) default: if (hostname) - gf_log ("glusterd", GF_LOG_ERROR, - "unknown address family %d for %s", + gf_msg ("glusterd", GF_LOG_ERROR, 0, + LG_MSG_INVALID_FAMILY, "unknown " + "address family %d for %s", sa->sa_family, hostname); break; } @@ -3101,14 +3134,15 @@ gf_is_local_addr (char *hostname) ret = getaddrinfo (hostname, NULL, NULL, &result); if (ret != 0) { - gf_log (this->name, GF_LOG_ERROR, "error in getaddrinfo: %s\n", - gai_strerror(ret)); + gf_msg (this->name, GF_LOG_ERROR, ret, + LG_MSG_GETADDRINFO_FAILED, + "error in getaddrinfo: %s\n", gai_strerror(ret)); goto out; } for (res = result; res != NULL; res = res->ai_next) { - gf_log (this->name, GF_LOG_DEBUG, "%s ", - get_ip_from_addrinfo (res, &ip)); + gf_msg_debug (this->name, 0, "%s ", + get_ip_from_addrinfo (res, &ip)); found = gf_is_loopback_localhost (res->ai_addr, hostname) || gf_interface_search (ip); @@ -3124,7 +3158,7 @@ out: freeaddrinfo (result); if (!found) - gf_log (this->name, GF_LOG_DEBUG, "%s is not local", hostname); + gf_msg_debug (this->name, 0, "%s is not local", hostname); return found; } @@ -3141,15 +3175,17 @@ gf_is_same_address (char *name1, char *name2) gai_err = getaddrinfo(name1,NULL,NULL,&addr1); if (gai_err != 0) { - gf_log (name1, GF_LOG_WARNING, - "error in getaddrinfo: %s\n", gai_strerror(gai_err)); + gf_msg (name1, GF_LOG_WARNING, gai_err, + LG_MSG_GETADDRINFO_FAILED, "error in getaddrinfo: " + "%s\n", gai_strerror(gai_err)); goto out; } gai_err = getaddrinfo(name2,NULL,NULL,&addr2); if (gai_err != 0) { - gf_log (name2, GF_LOG_WARNING, - "error in getaddrinfo: %s\n", gai_strerror(gai_err)); + gf_msg (name2, GF_LOG_WARNING, gai_err, + LG_MSG_GETADDRINFO_FAILED, "error in getaddrinfo: " + "%s\n", gai_strerror(gai_err)); goto out; } @@ -3331,8 +3367,8 @@ gf_skip_header_section (int fd, int header_len) ret = lseek (fd, header_len, SEEK_SET); if (ret == (off_t) -1) { - gf_log ("", GF_LOG_ERROR, "Failed to skip header " - "section"); + gf_msg ("", GF_LOG_ERROR, 0, LG_MSG_SKIP_HEADER_FAILED, + "Failed to skip header section"); } else { ret = 0; } @@ -3361,8 +3397,9 @@ gf_is_service_running (char *pidfile, int *pid) ret = fscanf (file, "%d", pid); if (ret <= 0) { - gf_log ("", GF_LOG_ERROR, "Unable to read pidfile: %s, %s", - pidfile, strerror (errno)); + gf_msg ("", GF_LOG_ERROR, errno, LG_MSG_FILE_OP_FAILED, + "Unable to read pidfile: %s, %s", pidfile, + strerror (errno)); *pid = -1; } @@ -3413,8 +3450,8 @@ gf_check_log_format (const char *value) log_format = gf_logformat_withmsgid; if (log_format == -1) - gf_log (THIS->name, GF_LOG_ERROR, "Invalid log-format. " - "possible values are " + gf_msg (THIS->name, GF_LOG_ERROR, 0, LG_MSG_INVALID_LOG, + "Invalid log-format. possible values are " GF_LOG_FORMAT_NO_MSG_ID "|" GF_LOG_FORMAT_WITH_MSG_ID); return log_format; @@ -3431,8 +3468,8 @@ gf_check_logger (const char *value) logger = gf_logger_syslog; if (logger == -1) - gf_log (THIS->name, GF_LOG_ERROR, "Invalid logger. " - "possible values are " + gf_msg (THIS->name, GF_LOG_ERROR, 0, LG_MSG_INVALID_LOG, + "Invalid logger. possible values are " GF_LOGGER_GLUSTER_LOG "|" GF_LOGGER_SYSLOG); return logger; @@ -3491,7 +3528,8 @@ gf_set_timestamp (const char *src, const char* dest) ret = stat (src, &sb); if (ret) { - gf_log (this->name, GF_LOG_ERROR, "stat on %s failed: %s", + gf_msg (this->name, GF_LOG_ERROR, errno, + LG_MSG_FILE_STAT_FAILED, "stat on %s failed: %s", src, strerror(errno)); goto out; } @@ -3507,8 +3545,8 @@ gf_set_timestamp (const char *src, const char* dest) */ ret = utimes (dest, new_time); if (ret) { - gf_log (this->name, GF_LOG_ERROR, "utimes on %s failed: %s", - dest, strerror(errno)); + gf_msg (this->name, GF_LOG_ERROR, errno, LG_MSG_UTIMES_FAILED, + "utimes on %s failed: %s", dest, strerror(errno)); } out: return ret; @@ -3626,7 +3664,8 @@ gf_backtrace_save (char *buf) if ((0 == gf_backtrace_fillframes (bt))) return bt; - gf_log (THIS->name, GF_LOG_WARNING, "Failed to save the backtrace."); + gf_msg (THIS->name, GF_LOG_WARNING, 0, LG_MSG_BACKTRACE_SAVE_FAILED, + "Failed to save the backtrace."); return NULL; } @@ -3712,16 +3751,16 @@ gf_build_absolute_path (char *current_path, char *relative_path, char **path) */ currentpath_len = strlen (current_path); if (current_path[0] != '/' || (currentpath_len > PATH_MAX)) { - gf_log (THIS->name, GF_LOG_ERROR, "Wrong value for" - " current path %s", current_path); + gf_msg (THIS->name, GF_LOG_ERROR, 0, LG_MSG_INVALID_ENTRY, + "Wrong value for current path %s", current_path); ret = -EINVAL; goto err; } relativepath_len = strlen (relative_path); if (relative_path[0] == '/' || (relativepath_len > PATH_MAX)) { - gf_log (THIS->name, GF_LOG_ERROR, "Wrong value for" - " relative path %s", relative_path); + gf_msg (THIS->name, GF_LOG_ERROR, 0, LG_MSG_INVALID_ENTRY, + "Wrong value for relative path %s", relative_path); ret = -EINVAL; goto err; } @@ -3821,8 +3860,8 @@ recursive_rmdir (const char *delete_path) dir = opendir (delete_path); if (!dir) { - gf_log (this->name, GF_LOG_DEBUG, "Failed to open directory %s." - " Reason : %s", delete_path, strerror (errno)); + gf_msg_debug (this->name, 0, "Failed to open directory %s. " + "Reason : %s", delete_path, strerror (errno)); ret = 0; goto out; } @@ -3832,8 +3871,8 @@ recursive_rmdir (const char *delete_path) snprintf (path, PATH_MAX, "%s/%s", delete_path, entry->d_name); ret = lstat (path, &st); if (ret == -1) { - gf_log (this->name, GF_LOG_DEBUG, "Failed to stat " - "entry %s : %s", path, strerror (errno)); + gf_msg_debug (this->name, 0, "Failed to stat entry %s :" + " %s", path, strerror (errno)); goto out; } @@ -3843,27 +3882,26 @@ recursive_rmdir (const char *delete_path) ret = unlink (path); if (ret) { - gf_log (this->name, GF_LOG_DEBUG, " Failed to remove " - "%s. Reason : %s", path, strerror (errno)); + gf_msg_debug (this->name, 0, " Failed to remove %s. " + "Reason : %s", path, strerror (errno)); } - gf_log (this->name, GF_LOG_DEBUG, "%s %s", - ret ? "Failed to remove":"Removed", - entry->d_name); + gf_msg_debug (this->name, 0, "%s %s", ret ? + "Failed to remove" : "Removed", entry->d_name); GF_FOR_EACH_ENTRY_IN_DIR (entry, dir); } ret = closedir (dir); if (ret) { - gf_log (this->name, GF_LOG_DEBUG, "Failed to close dir %s. " - "Reason : %s", delete_path, strerror (errno)); + gf_msg_debug (this->name, 0, "Failed to close dir %s. Reason :" + " %s", delete_path, strerror (errno)); } ret = rmdir (delete_path); if (ret) { - gf_log (this->name, GF_LOG_DEBUG, "Failed to rmdir: %s,err: %s", - delete_path, strerror (errno)); + gf_msg_debug (this->name, 0, "Failed to rmdir: %s,err: %s", + delete_path, strerror (errno)); } out: diff --git a/libglusterfs/src/common-utils.h b/libglusterfs/src/common-utils.h index 06ce0ff4d71..cbfb58068f2 100644 --- a/libglusterfs/src/common-utils.h +++ b/libglusterfs/src/common-utils.h @@ -37,6 +37,8 @@ void trap (void); #include "locking.h" #include "mem-pool.h" #include "compat-uuid.h" +#include "uuid.h" +#include "libglusterfs-messages.h" #define STRINGIFY(val) #val #define TOSTRING(val) STRINGIFY(val) @@ -172,9 +174,10 @@ int gf_set_log_ident (cmd_args_t *cmd_args); #define VALIDATE_OR_GOTO(arg,label) do { \ if (!arg) { \ errno = EINVAL; \ - gf_log_callingfn ((this ? (this->name) : \ + gf_msg_callingfn ((this ? (this->name) : \ "(Govinda! Govinda!)"), \ - GF_LOG_WARNING, \ + GF_LOG_WARNING, EINVAL, \ + LG_MSG_INVALID_ARG, \ "invalid argument: " #arg); \ goto label; \ } \ @@ -183,7 +186,8 @@ int gf_set_log_ident (cmd_args_t *cmd_args); #define GF_VALIDATE_OR_GOTO(name,arg,label) do { \ if (!arg) { \ errno = EINVAL; \ - gf_log_callingfn (name, GF_LOG_ERROR, \ + gf_msg_callingfn (name, GF_LOG_ERROR, errno, \ + LG_MSG_INVALID_ARG, \ "invalid argument: " #arg); \ goto label; \ } \ @@ -192,7 +196,8 @@ int gf_set_log_ident (cmd_args_t *cmd_args); #define GF_VALIDATE_OR_GOTO_WITH_ERROR(name, arg, label, errno, error) do { \ if (!arg) { \ errno = error; \ - gf_log_callingfn (name, GF_LOG_ERROR, \ + gf_msg_callingfn (name, GF_LOG_ERROR, EINVAL, \ + LG_MSG_INVALID_ARG, \ "invalid argument: " #arg); \ goto label; \ } \ @@ -208,7 +213,8 @@ int gf_set_log_ident (cmd_args_t *cmd_args); #define GF_CHECK_ALLOC_AND_LOG(name, item, retval, msg, errlabel) do { \ if (!(item)) { \ (retval) = -ENOMEM; \ - gf_log (name, GF_LOG_CRITICAL, (msg)); \ + gf_msg (name, GF_LOG_CRITICAL, ENOMEM, \ + LG_MSG_NO_MEMORY, (msg)); \ goto errlabel; \ } \ } while (0) @@ -226,7 +232,8 @@ int gf_set_log_ident (cmd_args_t *cmd_args); GF_VALIDATE_OR_GOTO (name, arg, label); \ if ((arg[0]) != '/') { \ errno = EINVAL; \ - gf_log_callingfn (name, GF_LOG_ERROR, \ + gf_msg_callingfn (name, GF_LOG_ERROR, EINVAL, \ + LG_MSG_INVALID_ARG, \ "invalid argument: " #arg); \ goto label; \ } \ @@ -245,8 +252,8 @@ int gf_set_log_ident (cmd_args_t *cmd_args); #define GF_REMOVE_INTERNAL_XATTR(pattern, dict) \ do { \ if (!dict) { \ - gf_log (this->name, GF_LOG_ERROR, \ - "dict is null"); \ + gf_msg (this->name, GF_LOG_ERROR, 0, \ + LG_MSG_DICT_NULL, "dict is null"); \ break; \ } \ dict_foreach_fnmatch (dict, pattern, \ @@ -257,7 +264,8 @@ int gf_set_log_ident (cmd_args_t *cmd_args); #define GF_IF_INTERNAL_XATTR_GOTO(pattern, dict, op_errno, label) \ do { \ if (!dict) { \ - gf_log (this->name, GF_LOG_ERROR, \ + gf_msg (this->name, GF_LOG_ERROR, 0, \ + LG_MSG_DICT_NULL, \ "setxattr dict is null"); \ goto label; \ } \ @@ -265,7 +273,8 @@ int gf_set_log_ident (cmd_args_t *cmd_args); dict_null_foreach_fn, \ NULL) > 0) { \ op_errno = EPERM; \ - gf_log (this->name, GF_LOG_ERROR, \ + gf_msg (this->name, GF_LOG_ERROR, op_errno, \ + LG_MSG_NO_PERM, \ "attempt to set internal" \ " xattr: %s: %s", pattern, \ strerror (op_errno)); \ @@ -276,13 +285,15 @@ int gf_set_log_ident (cmd_args_t *cmd_args); #define GF_IF_NATIVE_XATTR_GOTO(pattern, key, op_errno, label) \ do { \ if (!key) { \ - gf_log (this->name, GF_LOG_ERROR, \ + gf_msg (this->name, GF_LOG_ERROR, 0, \ + LG_MSG_NO_KEY, \ "no key for removexattr"); \ goto label; \ } \ if (!fnmatch (pattern, key, 0)) { \ op_errno = EPERM; \ - gf_log (this->name, GF_LOG_ERROR, \ + gf_msg (this->name, GF_LOG_ERROR, op_errno, \ + LG_MSG_NO_PERM, \ "attempt to remove internal " \ "xattr: %s: %s", key, \ strerror (op_errno)); \ @@ -300,7 +311,8 @@ int gf_set_log_ident (cmd_args_t *cmd_args); #define GF_ASSERT(x) \ do { \ if (!(x)) { \ - gf_log_callingfn ("", GF_LOG_ERROR, \ + gf_msg_callingfn ("", GF_LOG_ERROR, 0, \ + LG_MSG_ASSERTION_FAILED, \ "Assertion failed: " #x); \ } \ } while (0) diff --git a/libglusterfs/src/libglusterfs-messages.h b/libglusterfs/src/libglusterfs-messages.h index e4ced026031..8b8af36ad3c 100644 --- a/libglusterfs/src/libglusterfs-messages.h +++ b/libglusterfs/src/libglusterfs-messages.h @@ -36,13 +36,13 @@ */ #define GLFS_LG_BASE GLFS_MSGID_COMP_LIBGLUSTERFS -#define GLFS_LG_NUM_MESSAGES 228 +#define GLFS_LG_NUM_MESSAGES 201 #define GLFS_LG_MSGID_END (GLFS_LG_BASE + GLFS_LG_NUM_MESSAGES + 1) /* Messaged with message IDs */ #define glfs_msg_start_lg GLFS_LG_BASE, "Invalid: Start of messages" /*------------*/ -#define LG_MSG_BACK_POLL_EVENT (GLFS_LG_BASE + 1) +#define LG_MSG_ASPRINTF_FAILED (GLFS_LG_BASE + 1) /*! * @messageid @@ -50,7 +50,7 @@ * @recommendedaction * */ -#define LG_MSG_ASPRINTF_FAILED (GLFS_LG_BASE + 2) +#define LG_MSG_INVALID_ENTRY (GLFS_LG_BASE + 2) /*! * @messageid @@ -58,7 +58,7 @@ * @recommendedaction * */ -#define LG_MSG_INVALID_ENTRY (GLFS_LG_BASE + 3) +#define LG_MSG_COUNT_LESS_THAN_ZERO (GLFS_LG_BASE + 3) /*! * @messageid @@ -66,7 +66,7 @@ * @recommendedaction * */ -#define LG_MSG_BUF_NULL (GLFS_LG_BASE + 4) +#define LG_MSG_COUNT_LESS_THAN_DATA_PAIRS (GLFS_LG_BASE + 4) /*! * @messageid @@ -74,7 +74,7 @@ * @recommendedaction * */ -#define LG_MSG_COUNT_LESS_THAN_ZERO (GLFS_LG_BASE + 5) +#define LG_MSG_VALUE_LENGTH_LESS_THAN_ZERO (GLFS_LG_BASE + 5) /*! * @messageid @@ -82,7 +82,7 @@ * @recommendedaction * */ -#define LG_MSG_COUNT_LESS_THAN_DATA_PAIRS (GLFS_LG_BASE + 6) +#define LG_MSG_PAIRS_LESS_THAN_COUNT (GLFS_LG_BASE + 6) /*! * @messageid @@ -90,7 +90,7 @@ * @recommendedaction * */ -#define LG_MSG_PAIR_KEY_NULL (GLFS_LG_BASE + 7) +#define LG_MSG_KEY_OR_VALUE_NULL (GLFS_LG_BASE + 7) /*! * @messageid @@ -98,7 +98,7 @@ * @recommendedaction * */ -#define LG_MSG_PAIR_VALUE_NULL (GLFS_LG_BASE + 8) +#define LG_MSG_FAILED_TO_LOG_DICT (GLFS_LG_BASE + 8) /*! * @messageid @@ -106,15 +106,14 @@ * @recommendedaction * */ -#define LG_MSG_VALUE_LENGTH_LESS_THAN_ZERO (GLFS_LG_BASE + 9) - +#define LG_MSG_NULL_VALUE_IN_DICT (GLFS_LG_BASE + 9) /*! * @messageid * @diagnosis * @recommendedaction * */ -#define LG_MSG_PAIRS_LESS_THAN_COUNT (GLFS_LG_BASE + 10) +#define LG_MSG_DIR_OP_FAILED (GLFS_LG_BASE + 10) /*! * @messageid @@ -122,7 +121,7 @@ * @recommendedaction * */ -#define LG_MSG_KEY_OR_VALUE_NULL (GLFS_LG_BASE + 11) +#define LG_MSG_STORE_HANDLE_CREATE_FAILED (GLFS_LG_BASE + 11) /*! * @messageid @@ -130,7 +129,7 @@ * @recommendedaction * */ -#define LG_MSG_FAILED_TO_LOG_DICT (GLFS_LG_BASE + 12) +#define LG_MSG_FILE_OP_FAILED (GLFS_LG_BASE + 12) /*! * @messageid @@ -138,14 +137,7 @@ * @recommendedaction * */ -#define LG_MSG_NULL_VALUE_IN_DICT (GLFS_LG_BASE + 13) -/*! - * @messageid - * @diagnosis - * @recommendedaction - * - */ -#define LG_MSG_DIR_OP_FAILED (GLFS_LG_BASE + 14) +#define LG_MSG_FILE_STAT_FAILED (GLFS_LG_BASE + 13) /*! * @messageid @@ -153,7 +145,7 @@ * @recommendedaction * */ -#define LG_MSG_STORE_HANDLE_CREATE_FAILED (GLFS_LG_BASE + 15) +#define LG_MSG_LOCK_GAIN_FAILED (GLFS_LG_BASE + 14) /*! * @messageid @@ -161,7 +153,7 @@ * @recommendedaction * */ -#define LG_MSG_SYNC_FAILED (GLFS_LG_BASE + 16) +#define LG_MSG_LOCK_RELEASE_FAILED (GLFS_LG_BASE + 15) /*! * @messageid @@ -169,7 +161,7 @@ * @recommendedaction * */ -#define LG_MSG_RENAME_FAILED (GLFS_LG_BASE + 17) +#define LG_MSG_DICT_SERIAL_FAILED (GLFS_LG_BASE + 16) /*! * @messageid @@ -177,7 +169,7 @@ * @recommendedaction * */ -#define LG_MSG_FILE_OP_FAILED (GLFS_LG_BASE + 18) +#define LG_MSG_DICT_UNSERIAL_FAILED (GLFS_LG_BASE + 17) /*! * @messageid @@ -185,7 +177,7 @@ * @recommendedaction * */ -#define LG_MSG_STORE_KEY_VALUE_FAILED (GLFS_LG_BASE + 19) +#define LG_MSG_NO_MEMORY (GLFS_LG_BASE + 18) /*! * @messageid @@ -193,7 +185,7 @@ * @recommendedaction * */ -#define LG_MSG_FFLUSH_FAILED (GLFS_LG_BASE + 20) +#define LG_MSG_VOLUME_ERROR (GLFS_LG_BASE + 19) /*! * @messageid @@ -201,7 +193,7 @@ * @recommendedaction * */ -#define LG_MSG_FILE_STAT_FAILED (GLFS_LG_BASE + 21) +#define LG_MSG_SUB_VOLUME_ERROR (GLFS_LG_BASE + 20) /*! * @messageid @@ -209,7 +201,7 @@ * @recommendedaction * */ -#define LG_MSG_LOCK_GAIN_FAILED (GLFS_LG_BASE + 22) +#define LG_MSG_SYNTAX_ERROR (GLFS_LG_BASE + 21) /*! * @messageid @@ -217,7 +209,7 @@ * @recommendedaction * */ -#define LG_MSG_LOCK_RELEASE_FAILED (GLFS_LG_BASE + 23) +#define LG_MSG_BACKTICK_PARSE_FAILED (GLFS_LG_BASE + 22) /*! * @messageid @@ -225,7 +217,7 @@ * @recommendedaction * */ -#define LG_MSG_MOVE_FAILED (GLFS_LG_BASE + 24) +#define LG_MSG_BUFFER_ERROR (GLFS_LG_BASE + 23) /*! * @messageid @@ -233,7 +225,7 @@ * @recommendedaction * */ -#define LG_MSG_DICT_SERIAL_FAILED (GLFS_LG_BASE + 25) +#define LG_MSG_STRDUP_ERROR (GLFS_LG_BASE + 24) /*! * @messageid @@ -241,7 +233,7 @@ * @recommendedaction * */ -#define LG_MSG_DICT_UNSERIAL_FAILED (GLFS_LG_BASE + 26) +#define LG_MSG_HASH_FUNC_ERROR (GLFS_LG_BASE + 25) /*! * @messageid @@ -249,31 +241,15 @@ * @recommendedaction * */ -#define LG_MSG_NO_MEMORY (GLFS_LG_BASE + 27) - +#define LG_MSG_GET_BUCKET_FAILED (GLFS_LG_BASE + 26) /*! * @messageid * @diagnosis * @recommendedaction * */ -#define LG_MSG_VOLUME_ERROR (GLFS_LG_BASE + 28) -/*! - * @messageid - * @diagnosis - * @recommendedaction - * - */ -#define LG_MSG_SUB_VOLUME_ERROR (GLFS_LG_BASE + 29) - -/*! - * @messageid - * @diagnosis - * @recommendedaction - * - */ -#define LG_MSG_SYNTAX_ERROR (GLFS_LG_BASE + 30) +#define LG_MSG_INSERT_FAILED (GLFS_LG_BASE + 27) /*! * @messageid @@ -281,7 +257,7 @@ * @recommendedaction * */ -#define LG_MSG_BACKTICK_PARSE_FAILED (GLFS_LG_BASE + 31) +#define LG_MSG_OUT_OF_RANGE (GLFS_LG_BASE + 28) /*! * @messageid @@ -289,7 +265,7 @@ * @recommendedaction * */ -#define LG_MSG_BUFFER_ERROR (GLFS_LG_BASE + 32) +#define LG_MSG_VALIDATE_RETURNS (GLFS_LG_BASE + 29) /*! * @messageid @@ -297,7 +273,7 @@ * @recommendedaction * */ -#define LG_MSG_GETTIMEOFDAY_FUNCTION_FAILED (GLFS_LG_BASE + 33) +#define LG_MSG_VALIDATE_REC_FAILED (GLFS_LG_BASE + 30) /*! * @messageid @@ -305,15 +281,8 @@ * @recommendedaction * */ -#define LG_MSG_DUMP_CALL_POOL_FAILED (GLFS_LG_BASE + 34) -/*! - * @messageid - * @diagnosis - * @recommendedaction - * - */ -#define LG_MSG_STRDUP_ERROR (GLFS_LG_BASE + 35) +#define LG_MSG_RB_TABLE_CREATE_FAILED (GLFS_LG_BASE + 31) /*! * @messageid @@ -321,23 +290,9 @@ * @recommendedaction * */ -#define LG_MSG_HASH_FUNC_ERROR (GLFS_LG_BASE + 36) -/*! - * @messageid - * @diagnosis - * @recommendedaction - * - */ -#define LG_MSG_INIT_BUCKET_FAILED (GLFS_LG_BASE + 37) -/*! - * @messageid - * @diagnosis - * @recommendedaction - * - */ -#define LG_MSG_GET_ENTRY_FAILED (GLFS_LG_BASE + 38) +#define LG_MSG_PATH_NOT_FOUND (GLFS_LG_BASE + 32) /*! * @messageid @@ -345,15 +300,8 @@ * @recommendedaction * */ -#define LG_MSG_GET_BUCKET_FAILED (GLFS_LG_BASE + 39) -/*! - * @messageid - * @diagnosis - * @recommendedaction - * - */ -#define LG_MSG_INSERT_FAILED (GLFS_LG_BASE + 40) +#define LG_MSG_EXPAND_FD_TABLE_FAILED (GLFS_LG_BASE + 33) /*! * @messageid @@ -361,7 +309,7 @@ * @recommendedaction * */ -#define LG_MSG_INIT_ENTRY_FAILED (GLFS_LG_BASE + 41) +#define LG_MSG_MAPPING_FAILED (GLFS_LG_BASE + 34) /*! * @messageid @@ -369,7 +317,7 @@ * @recommendedaction * */ -#define LG_MSG_OUT_OF_RANGE (GLFS_LG_BASE + 42) +#define LG_MSG_INIT_IOBUF_FAILED (GLFS_LG_BASE + 35) /*! * @messageid @@ -377,15 +325,8 @@ * @recommendedaction * */ -#define LG_MSG_VALIDATE_RETURNS (GLFS_LG_BASE + 43) -/*! - * @messageid - * @diagnosis - * @recommendedaction - * - */ -#define LG_MSG_VALIDATE_REC_FAILED (GLFS_LG_BASE + 44) +#define LG_MSG_PAGE_SIZE_EXCEEDED (GLFS_LG_BASE + 36) /*! * @messageid @@ -393,8 +334,7 @@ * @recommendedaction * */ - -#define LG_MSG_RB_TABLE_CREATE_FAILED (GLFS_LG_BASE + 45) +#define LG_MSG_ARENA_NOT_FOUND (GLFS_LG_BASE + 37) /*! * @messageid @@ -402,9 +342,7 @@ * @recommendedaction * */ - - -#define LG_MSG_PATH_NOT_FOUND (GLFS_LG_BASE + 46) +#define LG_MSG_IOBUF_NOT_FOUND (GLFS_LG_BASE + 38) /*! * @messageid @@ -412,9 +350,7 @@ * @recommendedaction * */ - - -#define LG_MSG_CONVERTION_FAILED (GLFS_LG_BASE + 47) +#define LG_MSG_POOL_NOT_FOUND (GLFS_LG_BASE + 39) /*! * @messageid @@ -422,8 +358,7 @@ * @recommendedaction * */ - -#define LG_MSG_EXPAND_FD_TABLE_FAILED (GLFS_LG_BASE + 48) +#define LG_MSG_SET_ATTRIBUTE_FAILED (GLFS_LG_BASE + 40) /*! * @messageid @@ -431,7 +366,7 @@ * @recommendedaction * */ -#define LG_MSG_MAPING_FAILED (GLFS_LG_BASE + 49) +#define LG_MSG_READ_ATTRIBUTE_FAILED (GLFS_LG_BASE + 41) /*! * @messageid @@ -439,7 +374,7 @@ * @recommendedaction * */ -#define LG_MSG_INIT_IOBUF_FAILED (GLFS_LG_BASE + 50) +#define LG_MSG_UNMOUNT_FAILED (GLFS_LG_BASE + 42) /*! * @messageid @@ -447,8 +382,7 @@ * @recommendedaction * */ - -#define LG_MSG_PAGE_SIZE_EXCEEDED (GLFS_LG_BASE + 51) +#define LG_MSG_LATENCY_MEASUREMENT_STATE (GLFS_LG_BASE + 43) /*! * @messageid @@ -456,7 +390,7 @@ * @recommendedaction * */ -#define LG_MSG_ARENA_NOT_FOUND (GLFS_LG_BASE + 52) +#define LG_MSG_NO_PERM (GLFS_LG_BASE + 44) /*! * @messageid @@ -464,7 +398,7 @@ * @recommendedaction * */ -#define LG_MSG_IOBUF_NOT_FOUND (GLFS_LG_BASE + 53) +#define LG_MSG_NO_KEY (GLFS_LG_BASE + 45) /*! * @messageid @@ -472,7 +406,7 @@ * @recommendedaction * */ -#define LG_MSG_POOL_NOT_FOUND (GLFS_LG_BASE + 54) +#define LG_MSG_DICT_NULL (GLFS_LG_BASE + 46) /*! * @messageid @@ -480,7 +414,7 @@ * @recommendedaction * */ -#define LG_MSG_SET_ATTRIBUTE_FAILED (GLFS_LG_BASE + 55) +#define LG_MSG_INIT_TIMER_FAILED (GLFS_LG_BASE + 47) /*! * @messageid @@ -488,7 +422,7 @@ * @recommendedaction * */ -#define LG_MSG_READ_ATTRIBUTE_FAILED (GLFS_LG_BASE + 56) +#define LG_MSG_FD_ANONYMOUS_FAILED (GLFS_LG_BASE + 48) /*! * @messageid @@ -496,7 +430,7 @@ * @recommendedaction * */ -#define LG_MSG_UNMOUNT_FAILED (GLFS_LG_BASE + 57) +#define LG_MSG_FD_CREATE_FAILED (GLFS_LG_BASE + 49) /*! * @messageid @@ -504,7 +438,7 @@ * @recommendedaction * */ -#define LG_MSG_LATENCY_MEASUREMENT_STATE (GLFS_LG_BASE + 58) +#define LG_MSG_BUFFER_FULL (GLFS_LG_BASE + 50) /*! * @messageid @@ -512,7 +446,7 @@ * @recommendedaction * */ -#define LG_MSG_NO_PERM (GLFS_LG_BASE + 59) +#define LG_MSG_FWRITE_FAILED (GLFS_LG_BASE + 51) /*! * @messageid @@ -520,7 +454,7 @@ * @recommendedaction * */ -#define LG_MSG_NO_KEY (GLFS_LG_BASE + 60) +#define LG_MSG_PRINT_FAILED (GLFS_LG_BASE + 52) /*! * @messageid @@ -528,7 +462,7 @@ * @recommendedaction * */ -#define LG_MSG_DICT_NULL (GLFS_LG_BASE + 61) +#define LG_MSG_MEM_POOL_DESTROY (GLFS_LG_BASE + 53) /*! * @messageid @@ -536,7 +470,7 @@ * @recommendedaction * */ -#define LG_MSG_INIT_TIMER_FAILED (GLFS_LG_BASE + 62) +#define LG_MSG_EXPAND_CLIENT_TABLE_FAILED (GLFS_LG_BASE + 54) /*! * @messageid @@ -544,7 +478,7 @@ * @recommendedaction * */ -#define LG_MSG_FD_ANONYMOUS_FAILED (GLFS_LG_BASE + 63) +#define LG_MSG_DISCONNECT_CLIENT (GLFS_LG_BASE + 55) /*! * @messageid @@ -552,7 +486,7 @@ * @recommendedaction * */ -#define LG_MSG_FD_CREATE_FAILED (GLFS_LG_BASE + 64) +#define LG_MSG_PIPE_CREATE_FAILED (GLFS_LG_BASE + 56) /*! * @messageid @@ -560,7 +494,7 @@ * @recommendedaction * */ -#define LG_MSG_BUFFER_FULL (GLFS_LG_BASE + 65) +#define LG_MSG_SET_PIPE_FAILED (GLFS_LG_BASE + 57) /*! * @messageid @@ -568,7 +502,7 @@ * @recommendedaction * */ -#define LG_MSG_FWRITE_FAILED (GLFS_LG_BASE + 66) +#define LG_MSG_REGISTER_PIPE_FAILED (GLFS_LG_BASE + 58) /*! * @messageid @@ -576,7 +510,7 @@ * @recommendedaction * */ -#define LG_MSG_PRINT_FAILED (GLFS_LG_BASE + 67) +#define LG_MSG_POLL_IGNORE_MULTIPLE_THREADS (GLFS_LG_BASE + 59) /*! * @messageid @@ -584,7 +518,7 @@ * @recommendedaction * */ -#define LG_MSG_MEM_POOL_DESTROY (GLFS_LG_BASE + 68) +#define LG_MSG_INDEX_NOT_FOUND (GLFS_LG_BASE + 60) /*! * @messageid @@ -592,7 +526,7 @@ * @recommendedaction * */ -#define LG_MSG_EXPAND_CLIENT_TABLE_FAILED (GLFS_LG_BASE + 69) +#define LG_MSG_EPOLL_FD_CREATE_FAILED (GLFS_LG_BASE + 61) /*! * @messageid @@ -600,7 +534,7 @@ * @recommendedaction * */ -#define LG_MSG_DISCONNECT_CLIENT (GLFS_LG_BASE + 70) +#define LG_MSG_SLOT_NOT_FOUND (GLFS_LG_BASE + 62) /*! * @messageid @@ -608,7 +542,7 @@ * @recommendedaction * */ -#define LG_MSG_PIPE_CREATE_FAILED (GLFS_LG_BASE + 71) + #define LG_MSG_STALE_FD_FOUND (GLFS_LG_BASE + 63) /*! * @messageid @@ -616,7 +550,7 @@ * @recommendedaction * */ -#define LG_MSG_SET_PIPE_FAILED (GLFS_LG_BASE + 72) +#define LG_MSG_GENERATION_MISMATCH (GLFS_LG_BASE + 64) /*! * @messageid @@ -624,7 +558,7 @@ * @recommendedaction * */ -#define LG_MSG_REGISTER_PIPE_FAILED (GLFS_LG_BASE + 73) +#define LG_MSG_PTHREAD_KEY_CREATE_FAILED (GLFS_LG_BASE + 65) /*! * @messageid @@ -632,7 +566,7 @@ * @recommendedaction * */ -#define LG_MSG_POLL_IGNORE_MULTIPLE_THREADS (GLFS_LG_BASE + 74) +#define LG_MSG_TRANSLATOR_INIT_FAILED (GLFS_LG_BASE + 66) /*! * @messageid @@ -640,7 +574,7 @@ * @recommendedaction * */ -#define LG_MSG_INDEX_NOT_FOUND (GLFS_LG_BASE + 75) +#define LG_MSG_UUID_BUF_INIT_FAILED (GLFS_LG_BASE + 67) /*! * @messageid @@ -648,7 +582,7 @@ * @recommendedaction * */ -#define LG_MSG_EPOLL_FD_CREATE_FAILED (GLFS_LG_BASE + 76) +#define LG_MSG_LKOWNER_BUF_INIT_FAILED (GLFS_LG_BASE + 68) /*! * @messageid @@ -656,7 +590,7 @@ * @recommendedaction * */ -#define LG_MSG_SLOT_NOT_FOUND (GLFS_LG_BASE + 77) +#define LG_MSG_SYNCTASK_INIT_FAILED (GLFS_LG_BASE + 69) /*! * @messageid @@ -664,7 +598,7 @@ * @recommendedaction * */ -#define LG_MSG_FD_ADD_FAILED (GLFS_LG_BASE + 78) +#define LG_MSG_SYNCOPCTX_INIT_FAILED (GLFS_LG_BASE + 70) /*! * @messageid @@ -672,7 +606,7 @@ * @recommendedaction * */ -#define LG_MSG_FD_DEL_FAILED (GLFS_LG_BASE + 79) +#define LG_MSG_GLOBAL_INIT_FAILED (GLFS_LG_BASE + 71) /*! * @messageid @@ -680,7 +614,7 @@ * @recommendedaction * */ -#define LG_MSG_FD_MODIFY_FAILED (GLFS_LG_BASE + 80) +#define LG_MSG_PTHREAD_FAILED (GLFS_LG_BASE + 72) /*! * @messageid @@ -688,7 +622,7 @@ * @recommendedaction * */ - #define LG_MSG_STALE_FD_FOUND (GLFS_LG_BASE + 81) +#define LG_MSG_DIR_IS_SYMLINK (GLFS_LG_BASE + 73) /*! * @messageid @@ -696,15 +630,8 @@ * @recommendedaction * */ -#define LG_MSG_GENERATION_MISMATCH (GLFS_LG_BASE + 82) -/*! - * @messageid - * @diagnosis - * @recommendedaction - * - */ -#define LG_MSG_STARTED_THREAD (GLFS_LG_BASE + 83) +#define LG_MSG_RESOLVE_HOSTNAME_FAILED (GLFS_LG_BASE + 74) /*! * @messageid @@ -712,15 +639,8 @@ * @recommendedaction * */ -#define LG_MSG_EXITED_THREAD (GLFS_LG_BASE + 84) -/*! - * @messageid - * @diagnosis - * @recommendedaction - * - */ -#define LG_MSG_START_THREAD_FAILED (GLFS_LG_BASE + 85) +#define LG_MSG_GETADDRINFO_FAILED (GLFS_LG_BASE + 75) /*! * @messageid @@ -728,15 +648,8 @@ * @recommendedaction * */ -#define LG_MSG_PTHREAD_KEY_CREATE_FAILED (GLFS_LG_BASE + 86) -/*! - * @messageid - * @diagnosis - * @recommendedaction - * - */ -#define LG_MSG_TRANSLATOR_INIT_FAILED (GLFS_LG_BASE + 87) +#define LG_MSG_GETNAMEINFO_FAILED (GLFS_LG_BASE + 76) /*! * @messageid @@ -744,15 +657,8 @@ * @recommendedaction * */ -#define LG_MSG_UUID_BUF_INIT_FAILED (GLFS_LG_BASE + 88) -/*! - * @messageid - * @diagnosis - * @recommendedaction - * - */ -#define LG_MSG_LKOWNER_BUF_INIT_FAILED (GLFS_LG_BASE + 89) +#define LG_MSG_PATH_ERROR (GLFS_LG_BASE + 77) /*! * @messageid @@ -760,15 +666,8 @@ * @recommendedaction * */ -#define LG_MSG_SYNCTASK_INIT_FAILED (GLFS_LG_BASE + 90) -/*! - * @messageid - * @diagnosis - * @recommendedaction - * - */ -#define LG_MSG_SYNCOPCTX_INIT_FAILED (GLFS_LG_BASE + 91) +#define LG_MSG_INET_PTON_FAILED (GLFS_LG_BASE + 78) /*! * @messageid @@ -776,15 +675,8 @@ * @recommendedaction * */ -#define LG_MSG_GLOBAL_INIT_FAILED (GLFS_LG_BASE + 92) -/*! - * @messageid - * @diagnosis - * @recommendedaction - * - */ -#define LG_MSG_PTHREAD_FAILED (GLFS_LG_BASE + 93) +#define LG_MSG_NEGATIVE_NUM_PASSED (GLFS_LG_BASE + 79) /*! * @messageid @@ -792,70 +684,8 @@ * @recommendedaction * */ -#define LG_MSG_DIR_IS_SYMLINK (GLFS_LG_BASE + 94) -/*! - * @messageid - * @diagnosis - * @recommendedaction - * - */ - -#define LG_MSG_RESOLVE_HOSTNAME_FAILED (GLFS_LG_BASE + 95) - -/*! - * @messageid - * @diagnosis - * @recommendedaction - * - */ - -#define LG_MSG_GETADDRINFO_FAILED (GLFS_LG_BASE + 96) - -/*! - * @messageid - * @diagnosis - * @recommendedaction - * - */ - -#define LG_MSG_GETNAMEINFO_FAILED (GLFS_LG_BASE + 97) - -/*! - * @messageid - * @diagnosis - * @recommendedaction - * - */ - -#define LG_MSG_PATH_ERROR (GLFS_LG_BASE + 98) - -/*! - * @messageid - * @diagnosis - * @recommendedaction - * - */ - -#define LG_MSG_INET_PTON_FAILED (GLFS_LG_BASE + 99) - -/*! - * @messageid - * @diagnosis - * @recommendedaction - * - */ - -#define LG_MSG_NEGATIVE_NUM_PASSED (GLFS_LG_BASE + 100) - -/*! - * @messageid - * @diagnosis - * @recommendedaction - * - */ - -#define LG_MSG_GETHOSTNAME_FAILED (GLFS_LG_BASE + 101) +#define LG_MSG_GETHOSTNAME_FAILED (GLFS_LG_BASE + 80) /*! * @messageid @@ -864,7 +694,7 @@ * */ -#define LG_MSG_RESERVED_PORTS_ERROR (GLFS_LG_BASE + 102) +#define LG_MSG_RESERVED_PORTS_ERROR (GLFS_LG_BASE + 81) /*! * @messageid @@ -873,7 +703,7 @@ * */ -#define LG_MSG_INVALID_PORT (GLFS_LG_BASE + 103) +#define LG_MSG_INVALID_PORT (GLFS_LG_BASE + 82) /*! * @messageid @@ -882,7 +712,7 @@ * */ -#define LG_MSG_INVALID_FAMILY (GLFS_LG_BASE + 104) +#define LG_MSG_INVALID_FAMILY (GLFS_LG_BASE + 83) /*! * @messageid @@ -891,7 +721,7 @@ * */ -#define LG_MSG_CONVERSION_FAILED (GLFS_LG_BASE + 105) +#define LG_MSG_CONVERSION_FAILED (GLFS_LG_BASE + 84) /*! * @messageid @@ -900,7 +730,7 @@ * */ -#define LG_MSG_SKIP_HEADER_FAILED (GLFS_LG_BASE + 106) +#define LG_MSG_SKIP_HEADER_FAILED (GLFS_LG_BASE + 85) /*! * @messageid @@ -909,7 +739,7 @@ * */ -#define LG_MSG_INVALID_LOG (GLFS_LG_BASE + 107) +#define LG_MSG_INVALID_LOG (GLFS_LG_BASE + 86) /*! * @messageid @@ -918,7 +748,7 @@ * */ -#define LG_MSG_UTIMES_FAILED (GLFS_LG_BASE + 108) +#define LG_MSG_UTIMES_FAILED (GLFS_LG_BASE + 87) /*! * @messageid @@ -927,7 +757,7 @@ * */ -#define LG_MSG_BACKTRACE_SAVE_FAILED (GLFS_LG_BASE + 109) +#define LG_MSG_BACKTRACE_SAVE_FAILED (GLFS_LG_BASE + 88) /*! * @messageid @@ -936,7 +766,7 @@ * */ -#define LG_MSG_INIT_FAILED (GLFS_LG_BASE + 110) +#define LG_MSG_INIT_FAILED (GLFS_LG_BASE + 89) /*! * @messageid @@ -945,7 +775,7 @@ * */ -#define LG_MSG_VALIDATION_FAILED (GLFS_LG_BASE + 111) +#define LG_MSG_VALIDATION_FAILED (GLFS_LG_BASE + 90) /*! * @messageid @@ -954,7 +784,7 @@ * */ -#define LG_MSG_GRAPH_ERROR (GLFS_LG_BASE + 112) +#define LG_MSG_GRAPH_ERROR (GLFS_LG_BASE + 91) /*! * @messageid @@ -963,7 +793,7 @@ * */ -#define LG_MSG_UNKNOWN_OPTIONS_FAILED (GLFS_LG_BASE + 113) +#define LG_MSG_UNKNOWN_OPTIONS_FAILED (GLFS_LG_BASE + 92) /*! * @messageid @@ -972,7 +802,7 @@ * */ -#define LG_MSG_NOTIFICATION_FAILED (GLFS_LG_BASE + 114) +#define LG_MSG_CTX_NULL (GLFS_LG_BASE + 93) /*! * @messageid @@ -981,7 +811,7 @@ * */ -#define LG_MSG_CTX_NULL (GLFS_LG_BASE + 115) +#define LG_MSG_TMPFILE_CREATE_FAILED (GLFS_LG_BASE + 94) /*! * @messageid @@ -990,7 +820,7 @@ * */ -#define LG_MSG_CTX_ACTIVE_NULL (GLFS_LG_BASE + 116) +#define LG_MSG_DLOPEN_FAILED (GLFS_LG_BASE + 95) /*! * @messageid @@ -999,7 +829,7 @@ * */ -#define LG_MSG_TMPFILE_CREATE_FAILED (GLFS_LG_BASE + 117) +#define LG_MSG_LOAD_FAILED (GLFS_LG_BASE + 96) /*! * @messageid @@ -1008,7 +838,7 @@ * */ -#define LG_MSG_DLOPEN_FAILED (GLFS_LG_BASE + 118) +#define LG_MSG_DLSYM_ERROR (GLFS_LG_BASE + 97) /*! * @messageid @@ -1017,7 +847,7 @@ * */ -#define LG_MSG_LOAD_FAILED (GLFS_LG_BASE + 119) +#define LG_MSG_TREE_NOT_FOUND (GLFS_LG_BASE + 98) /*! * @messageid @@ -1026,7 +856,7 @@ * */ -#define LG_MSG_DLSYM_ERROR (GLFS_LG_BASE + 120) +#define LG_MSG_PER_DENTRY (GLFS_LG_BASE + 99) /*! * @messageid @@ -1035,7 +865,7 @@ * */ -#define LG_MSG_TREE_NOT_FOUND (GLFS_LG_BASE + 121) +#define LG_MSG_DENTRY (GLFS_LG_BASE + 100) /*! * @messageid @@ -1044,7 +874,7 @@ * */ -#define LG_MSG_PER_DENTRY (GLFS_LG_BASE + 122) +#define LG_MSG_GETIFADDRS_FAILED (GLFS_LG_BASE + 101) /*! * @messageid @@ -1053,7 +883,7 @@ * */ -#define LG_MSG_PARENT_NOT_FOUND (GLFS_LG_BASE + 123) +#define LG_MSG_REGEX_OP_FAILED (GLFS_LG_BASE + 102) /*! * @messageid @@ -1062,7 +892,7 @@ * */ -#define LG_MSG_CYCLIC_LOOP (GLFS_LG_BASE + 124) +#define LG_MSG_FRAME_ERROR (GLFS_LG_BASE + 103) /*! * @messageid @@ -1071,7 +901,7 @@ * */ -#define LG_MSG_DENTRY (GLFS_LG_BASE + 125) +#define LG_MSG_SET_PARAM_FAILED (GLFS_LG_BASE + 104) /*! * @messageid @@ -1080,7 +910,7 @@ * */ -#define LG_MSG_INFINITE_LOOP (GLFS_LG_BASE + 126) +#define LG_MSG_GET_PARAM_FAILED (GLFS_LG_BASE + 105) /*! * @messageid @@ -1089,7 +919,7 @@ * */ -#define LG_MSG_GETIFADDRS_FAILED (GLFS_LG_BASE + 127) +#define LG_MSG_PREPARE_FAILED (GLFS_LG_BASE + 106) /*! * @messageid @@ -1098,7 +928,7 @@ * */ -#define LG_MSG_REGEX_OP_FAILED (GLFS_LG_BASE + 128) +#define LG_MSG_EXEC_FAILED (GLFS_LG_BASE + 107) /*! * @messageid @@ -1107,7 +937,7 @@ * */ -#define LG_MSG_FRAME_ERROR (GLFS_LG_BASE + 129) +#define LG_MSG_BINDING_FAILED (GLFS_LG_BASE + 108) /*! * @messageid @@ -1116,7 +946,7 @@ * */ -#define LG_MSG_SET_PARAM_FAILED (GLFS_LG_BASE + 130) +#define LG_MSG_DELETE_FAILED (GLFS_LG_BASE + 109) /*! * @messageid @@ -1125,7 +955,7 @@ * */ -#define LG_MSG_GET_PARAM_FAILED (GLFS_LG_BASE + 131) +#define LG_MSG_GET_ID_FAILED (GLFS_LG_BASE + 110) /*! * @messageid @@ -1134,7 +964,7 @@ * */ -#define LG_MSG_PREPARE_FAILED (GLFS_LG_BASE + 132) +#define LG_MSG_CREATE_FAILED (GLFS_LG_BASE + 111) /*! * @messageid @@ -1143,7 +973,7 @@ * */ -#define LG_MSG_EXEC_FAILED (GLFS_LG_BASE + 133) +#define LG_MSG_PARSE_FAILED (GLFS_LG_BASE + 112) /*! * @messageid @@ -1152,8 +982,8 @@ * */ -#define LG_MSG_BINDING_FAILED (GLFS_LG_BASE + 134) +#define LG_MSG_GETCONTEXT_FAILED (GLFS_LG_BASE + 113) /*! * @messageid * @diagnosis @@ -1161,7 +991,7 @@ * */ -#define LG_MSG_DELETE_FAILED (GLFS_LG_BASE + 135) +#define LG_MSG_UPDATE_FAILED (GLFS_LG_BASE + 114) /*! * @messageid @@ -1170,7 +1000,7 @@ * */ -#define LG_MSG_GET_ID_FAILED (GLFS_LG_BASE + 136) +#define LG_MSG_QUERY_CALL_BACK_FAILED (GLFS_LG_BASE + 115) /*! * @messageid @@ -1179,7 +1009,7 @@ * */ -#define LG_MSG_CREATE_FAILED (GLFS_LG_BASE + 137) +#define LG_MSG_GET_RECORD_FAILED (GLFS_LG_BASE + 116) /*! * @messageid @@ -1188,7 +1018,7 @@ * */ -#define LG_MSG_PARSE_FAILED (GLFS_LG_BASE + 138) +#define LG_MSG_DB_ERROR (GLFS_LG_BASE + 117) /*! * @messageid @@ -1197,8 +1027,8 @@ * */ +#define LG_MSG_CONNECTION_ERROR (GLFS_LG_BASE + 118) -#define LG_MSG_GETCONTEXT_FAILED (GLFS_LG_BASE + 139) /*! * @messageid * @diagnosis @@ -1206,7 +1036,7 @@ * */ -#define LG_MSG_UPDATE_FAILED (GLFS_LG_BASE + 140) +#define LG_MSG_NOT_MULTITHREAD_MODE (GLFS_LG_BASE + 119) /*! * @messageid @@ -1215,7 +1045,7 @@ * */ -#define LG_MSG_QUERY_CALL_BACK_FAILED (GLFS_LG_BASE + 141) +#define LG_MSG_SKIP_PATH (GLFS_LG_BASE + 120) /*! * @messageid @@ -1224,7 +1054,7 @@ * */ -#define LG_MSG_GET_RECORD_FAILED (GLFS_LG_BASE + 142) +#define LG_MSG_INVALID_FOP (GLFS_LG_BASE + 121) /*! * @messageid @@ -1233,7 +1063,7 @@ * */ -#define LG_MSG_DB_ERROR (GLFS_LG_BASE + 143) +#define LG_MSG_QUERY_FAILED (GLFS_LG_BASE + 122) /*! * @messageid @@ -1242,7 +1072,7 @@ * */ -#define LG_MSG_CONNECTION_ERROR (GLFS_LG_BASE + 144) +#define LG_MSG_CLEAR_COUNTER_FAILED (GLFS_LG_BASE + 123) /*! * @messageid @@ -1251,7 +1081,7 @@ * */ -#define LG_MSG_NOT_MULTITHREAD_MODE (GLFS_LG_BASE + 145) +#define LG_MSG_LOCK_LIST_FAILED (GLFS_LG_BASE + 124) /*! * @messageid @@ -1260,7 +1090,7 @@ * */ -#define LG_MSG_SKIP_PATH (GLFS_LG_BASE + 146) +#define LG_MSG_UNLOCK_LIST_FAILED (GLFS_LG_BASE + 125) /*! * @messageid @@ -1269,7 +1099,7 @@ * */ -#define LG_MSG_INVALID_FOP (GLFS_LG_BASE + 147) +#define LG_MSG_ADD_TO_LIST_FAILED (GLFS_LG_BASE + 126) /*! * @messageid @@ -1278,7 +1108,7 @@ * */ -#define LG_MSG_QUERY_FAILED (GLFS_LG_BASE + 148) +#define LG_MSG_INIT_DB_FAILED (GLFS_LG_BASE + 127) /*! * @messageid @@ -1287,7 +1117,7 @@ * */ -#define LG_MSG_CLEAR_COUNTER_FAILED (GLFS_LG_BASE + 149) +#define LG_MSG_DELETE_FROM_LIST_FAILED (GLFS_LG_BASE + 128) /*! * @messageid @@ -1296,7 +1126,7 @@ * */ -#define LG_MSG_LOCK_LIST_FAILED (GLFS_LG_BASE + 150) +#define LG_MSG_CLOSE_CONNECTION_FAILED (GLFS_LG_BASE + 129) /*! * @messageid @@ -1305,7 +1135,7 @@ * */ -#define LG_MSG_UNLOCK_LIST_FAILED (GLFS_LG_BASE + 151) +#define LG_MSG_INSERT_OR_UPDATE_FAILED (GLFS_LG_BASE + 130) /*! * @messageid @@ -1314,7 +1144,7 @@ * */ -#define LG_MSG_ADD_TO_LIST_FAILED (GLFS_LG_BASE + 152) +#define LG_MSG_FIND_OP_FAILED (GLFS_LG_BASE + 131) /*! * @messageid @@ -1323,7 +1153,7 @@ * */ -#define LG_MSG_INIT_DB_FAILED (GLFS_LG_BASE + 153) +#define LG_MSG_CONNECTION_INIT_FAILED (GLFS_LG_BASE + 132) /*! * @messageid @@ -1332,7 +1162,7 @@ * */ -#define LG_MSG_DELETE_FROM_LIST_FAILED (GLFS_LG_BASE + 154) +#define LG_MSG_COMPLETED_TASK (GLFS_LG_BASE + 133) /*! * @messageid @@ -1341,7 +1171,7 @@ * */ -#define LG_MSG_CLOSE_CONNECTION_FAILED (GLFS_LG_BASE + 155) +#define LG_MSG_WAKE_UP_ZOMBIE (GLFS_LG_BASE + 134) /*! * @messageid @@ -1350,7 +1180,7 @@ * */ -#define LG_MSG_INSERT_OR_UPDATE_FAILED (GLFS_LG_BASE + 156) +#define LG_MSG_REWAITING_TASK (GLFS_LG_BASE + 135) /*! * @messageid @@ -1359,7 +1189,7 @@ * */ -#define LG_MSG_FIND_OP_FAILED (GLFS_LG_BASE + 157) +#define LG_MSG_SLEEP_ZOMBIE (GLFS_LG_BASE + 136) /*! * @messageid @@ -1368,7 +1198,7 @@ * */ -#define LG_MSG_CONNECTION_INIT_FAILED (GLFS_LG_BASE + 158) +#define LG_MSG_SWAP_FAILED (GLFS_LG_BASE + 137) /*! * @messageid @@ -1377,7 +1207,7 @@ * */ -#define LG_MSG_COMPLETED_TASK (GLFS_LG_BASE + 159) +#define LG_MSG_UNSUPPORTED_PLUGIN (GLFS_LG_BASE + 138) /*! * @messageid @@ -1386,7 +1216,7 @@ * */ -#define LG_MSG_WAKE_UP_ZOMBIE (GLFS_LG_BASE + 160) +#define LG_MSG_INVALID_DB_TYPE (GLFS_LG_BASE + 139) /*! * @messageid @@ -1394,8 +1224,7 @@ * @recommendedaction * */ - -#define LG_MSG_REWAITING_TASK (GLFS_LG_BASE + 161) +#define LG_MSG_UNDERSIZED_BUF (GLFS_LG_BASE + 140) /*! * @messageid @@ -1403,8 +1232,7 @@ * @recommendedaction * */ - -#define LG_MSG_SLEEP_ZOMBIE (GLFS_LG_BASE + 162) +#define LG_MSG_DATA_CONVERSION_ERROR (GLFS_LG_BASE + 141) /*! * @messageid @@ -1412,8 +1240,7 @@ * @recommendedaction * */ - -#define LG_MSG_SWAP_FAILED (GLFS_LG_BASE + 163) +#define LG_MSG_DICT_ERROR (GLFS_LG_BASE + 142) /*! * @messageid @@ -1421,8 +1248,7 @@ * @recommendedaction * */ - -#define LG_MSG_UNSUPPORTED_PLUGIN (GLFS_LG_BASE + 164) +#define LG_MSG_IOBUFS_NOT_FOUND (GLFS_LG_BASE + 143) /*! * @messageid @@ -1430,8 +1256,7 @@ * @recommendedaction * */ - -#define LG_MSG_INVALID_DB_TYPE (GLFS_LG_BASE + 165) +#define LG_MSG_ENTRIES_NULL (GLFS_LG_BASE + 144) /*! * @messageid @@ -1439,7 +1264,7 @@ * @recommendedaction * */ -#define LG_MSG_NULL_INDEX_IN_BUF (GLFS_LG_BASE + 166) +#define LG_MSG_FD_NOT_FOUND_IN_FDTABLE (GLFS_LG_BASE + 145) /*! * @messageid @@ -1447,8 +1272,7 @@ * @recommendedaction * */ - -#define LG_MSG_DATA_NULL (GLFS_LG_BASE + 167) +#define LG_MSG_REALLOC_FOR_FD_PTR_FAILED (GLFS_LG_BASE + 146) /*! * @messageid @@ -1456,7 +1280,7 @@ * @recommendedaction * */ -#define LG_MSG_DICT_OR_KEY_NULL (GLFS_LG_BASE + 168) +#define LG_MSG_DICT_SET_FAILED (GLFS_LG_BASE + 147) /*! * @messageid @@ -1464,7 +1288,7 @@ * @recommendedaction * */ -#define LG_MSG_DICT_OR_KEY_OR_DATA_NULL (GLFS_LG_BASE + 169) +#define LG_MSG_NULL_PTR (GLFS_LG_BASE + 148) /*! * @messageid @@ -1472,7 +1296,7 @@ * @recommendedaction * */ -#define LG_MSG_DICT_OR_KEY_VALUE_NULL (GLFS_LG_BASE + 170) +#define LG_MSG_RBTHASH_INIT_BUCKET_FAILED (GLFS_LG_BASE + 149) /*! * @messageid @@ -1480,7 +1304,7 @@ * @recommendedaction * */ -#define LG_MSG_VALUE_NULL (GLFS_LG_BASE + 171) +#define LG_MSG_ASSERTION_FAILED (GLFS_LG_BASE + 150) /*! * @messageid @@ -1488,7 +1312,7 @@ * @recommendedaction * */ -#define LG_MSG_UNDERSIZED_BUF (GLFS_LG_BASE + 172) +#define LG_MSG_HOSTNAME_NULL (GLFS_LG_BASE + 151) /*! * @messageid @@ -1496,7 +1320,7 @@ * @recommendedaction * */ -#define LG_MSG_DATA_CONVERSION_ERROR (GLFS_LG_BASE + 173) +#define LG_MSG_INVALID_IPV4_FORMAT (GLFS_LG_BASE + 152) /*! * @messageid @@ -1504,7 +1328,7 @@ * @recommendedaction * */ -#define LG_MSG_DICT_OR_MATCH_OR_ACTION_NULL (GLFS_LG_BASE + 174) +#define LG_MSG_CTX_CLEANUP_STARTED (GLFS_LG_BASE + 153) /*! * @messageid @@ -1512,15 +1336,8 @@ * @recommendedaction * */ -#define LG_MSG_SIZE_ZERO (GLFS_LG_BASE + 175) -/*! - * @messageid - * @diagnosis - * @recommendedaction - * - */ -#define LG_MSG_FILL_NULL (GLFS_LG_BASE + 176) +#define LG_MSG_TIMER_REGISTER_ERROR (GLFS_LG_BASE + 154) /*! * @messageid @@ -1528,7 +1345,7 @@ * @recommendedaction * */ -#define LG_MSG_UNDESIRED_BUFF (GLFS_LG_BASE + 177) +#define LG_MSG_PTR_HEADER_CORRUPTED (GLFS_LG_BASE + 155) /*! * @messageid @@ -1536,7 +1353,7 @@ * @recommendedaction * */ -#define LG_MSG_DICT_ERROR (GLFS_LG_BASE + 178) +#define LG_MSG_INVALID_UPLINK (GLFS_LG_BASE + 156) /*! * @messageid @@ -1544,15 +1361,8 @@ * @recommendedaction * */ -#define LG_MSG_IOBUFS_NOT_FOUND (GLFS_LG_BASE + 179) -/*! - * @messageid - * @diagnosis - * @recommendedaction - * - */ -#define LG_MSG_ENTRIES_NULL (GLFS_LG_BASE + 180) +#define LG_MSG_CLIENT_NULL (GLFS_LG_BASE + 157) /*! * @messageid @@ -1560,7 +1370,7 @@ * @recommendedaction * */ -#define LG_MSG_COUNT_NULL (GLFS_LG_BASE + 181) +#define LG_MSG_XLATOR_DOES_NOT_IMPLEMENT (GLFS_LG_BASE + 158) /*! * @messageid @@ -1568,7 +1378,7 @@ * @recommendedaction * */ -#define LG_MSG_FD_NOT_FOUND_IN_FDTABLE (GLFS_LG_BASE + 182) +#define LG_MSG_DENTRY_NOT_FOUND (GLFS_LG_BASE + 159) /*! * @messageid @@ -1576,7 +1386,7 @@ * @recommendedaction * */ -#define LG_MSG_FD_NULL (GLFS_LG_BASE + 183) +#define LG_MSG_INODE_NOT_FOUND (GLFS_LG_BASE + 160) /*! * @messageid @@ -1584,7 +1394,7 @@ * @recommendedaction * */ -#define LG_MSG_INODE_NULL (GLFS_LG_BASE + 184) +#define LG_MSG_INODE_TABLE_NOT_FOUND (GLFS_LG_BASE + 161) /*! * @messageid @@ -1592,7 +1402,7 @@ * @recommendedaction * */ -#define LG_MSG_FD_OR_INODE_NULL (GLFS_LG_BASE + 185) +#define LG_MSG_DENTRY_CREATE_FAILED (GLFS_LG_BASE + 162) /*! * @messageid @@ -1600,7 +1410,7 @@ * @recommendedaction * */ -#define LG_MSG_REALLOC_FOR_FD_PTR_FAILED (GLFS_LG_BASE + 186) +#define LG_MSG_INODE_CONTEXT_FREED (GLFS_LG_BASE + 163) /*! * @messageid @@ -1608,7 +1418,7 @@ * @recommendedaction * */ -#define LG_MSG_XLATOR_OR_FD_NULL (GLFS_LG_BASE + 187) +#define LG_MSG_UNKNOWN_LOCK_TYPE (GLFS_LG_BASE + 164) /*! * @messageid @@ -1616,7 +1426,7 @@ * @recommendedaction * */ -#define LG_MSG_DICT_SET_FAILED (GLFS_LG_BASE + 188) +#define LG_MSG_UNLOCK_BEFORE_LOCK (GLFS_LG_BASE + 165) /*! * @messageid @@ -1624,7 +1434,7 @@ * @recommendedaction * */ -#define LG_MSG_READ_HEADER_FAILED (GLFS_LG_BASE + 189) +#define LG_MSG_LOCK_OWNER_ERROR (GLFS_LG_BASE + 166) /*! * @messageid @@ -1632,7 +1442,7 @@ * @recommendedaction * */ -#define LG_MSG_READ_FROM_QUOTA_FAILED (GLFS_LG_BASE + 190) +#define LG_MSG_MEMPOOL_PTR_NULL (GLFS_LG_BASE + 167) /*! * @messageid @@ -1640,7 +1450,7 @@ * @recommendedaction * */ -#define LG_MSG_ASSERTION_FAILED (GLFS_LG_BASE + 191) +#define LG_MSG_QUOTA_XATTRS_MISSING (GLFS_LG_BASE + 168) /*! * @messageid @@ -1648,7 +1458,7 @@ * @recommendedaction * */ -#define LG_MSG_HOSTNAME_NULL (GLFS_LG_BASE + 192) +#define LG_MSG_INVALID_STRING (GLFS_LG_BASE + 169) /*! * @messageid @@ -1656,7 +1466,7 @@ * @recommendedaction * */ -#define LG_MSG_INVALID_IPV4_FORMAT (GLFS_LG_BASE + 193) +#define LG_MSG_BIND_REF (GLFS_LG_BASE + 170) /*! * @messageid @@ -1664,7 +1474,7 @@ * @recommendedaction * */ -#define LG_MSG_CTX_CLEANUP_STARTED (GLFS_LG_BASE + 194) +#define LG_MSG_REF_COUNT (GLFS_LG_BASE + 171) /*! * @messageid @@ -1672,8 +1482,7 @@ * @recommendedaction * */ - -#define LG_MSG_TIMER_REGISTER_ERROR (GLFS_LG_BASE + 195) +#define LG_MSG_INVALID_ARG (GLFS_LG_BASE + 172) /*! * @messageid @@ -1681,7 +1490,7 @@ * @recommendedaction * */ -#define LG_MSG_PTR_HEADER_CORRUPTED (GLFS_LG_BASE + 196) +#define LG_MSG_VOL_OPTION_ADD (GLFS_LG_BASE + 173) /*! * @messageid @@ -1689,7 +1498,7 @@ * @recommendedaction * */ -#define LG_MSG_INVALID_UPLINK (GLFS_LG_BASE + 197) +#define LG_MSG_XLATOR_OPTION_INVALID (GLFS_LG_BASE + 174) /*! * @messageid @@ -1697,8 +1506,7 @@ * @recommendedaction * */ - -#define LG_MSG_CLIENTTABLE_NULL (GLFS_LG_BASE + 198) +#define LG_MSG_GETTIMEOFDAY_FAILED (GLFS_LG_BASE + 175) /*! * @messageid @@ -1706,7 +1514,7 @@ * @recommendedaction * */ -#define LG_MSG_CLIENT_NULL (GLFS_LG_BASE + 199) +#define LG_MSG_GRAPH_INIT_FAILED (GLFS_LG_BASE + 176) /*! * @messageid @@ -1714,7 +1522,7 @@ * @recommendedaction * */ -#define LG_MSG_XLATOR_DOES_NOT_IMPLEMENT (GLFS_LG_BASE + 200) +#define LG_MSG_EVENT_NOTIFY_FAILED (GLFS_LG_BASE + 177) /*! * @messageid @@ -1722,7 +1530,7 @@ * @recommendedaction * */ -#define LG_MSG_DENTRY_NOT_FOUND (GLFS_LG_BASE + 201) +#define LG_MSG_ACTIVE_GRAPH_NULL (GLFS_LG_BASE + 178) /*! * @messageid @@ -1730,7 +1538,7 @@ * @recommendedaction * */ -#define LG_MSG_INODE_NOT_FOUND (GLFS_LG_BASE + 202) +#define LG_MSG_VOLFILE_PARSE_ERROR (GLFS_LG_BASE + 179) /*! * @messageid @@ -1738,7 +1546,7 @@ * @recommendedaction * */ -#define LG_MSG_INODE_OR_NAME_NOT_FOUND (GLFS_LG_BASE + 203) +#define LG_MSG_FD_INODE_NULL (GLFS_LG_BASE + 180) /*! * @messageid @@ -1746,7 +1554,7 @@ * @recommendedaction * */ -#define LG_MSG_INODE_OR_PARENT_OR_NAME_NOT_FOUND (GLFS_LG_BASE + 204) +#define LG_MSG_INVALID_VOLFILE_ENTRY (GLFS_LG_BASE + 181) /*! * @messageid @@ -1754,7 +1562,7 @@ * @recommendedaction * */ -#define LG_MSG_TABLE_NOT_FOUND (GLFS_LG_BASE + 205) +#define LG_MSG_PER_DENTRY_FAILED (GLFS_LG_BASE + 182) /*! * @messageid @@ -1762,7 +1570,7 @@ * @recommendedaction * */ -#define LG_MSG_TABLE_OR_PARENT_OR_NAME_NOT_FOUND (GLFS_LG_BASE + 206) +#define LG_MSG_PARENT_DENTRY_NOT_FOUND (GLFS_LG_BASE + 183) /*! * @messageid @@ -1770,7 +1578,7 @@ * @recommendedaction * */ -#define LG_MSG_DENTRY_CREATE_FAILED (GLFS_LG_BASE + 207) +#define LG_MSG_DENTRY_CYCLIC_LOOP (GLFS_LG_BASE + 184) /*! * @messageid @@ -1778,39 +1586,8 @@ * @recommendedaction * */ -#define LG_MSG_INODE_CONTEXT_FREED (GLFS_LG_BASE + 208) -/*! - * @messageid - * @diagnosis - * @recommendedaction - * - */ -#define LG_MSG_UNKNOWN_LOCK_TYPE (GLFS_LG_BASE + 209) - -/*! - * @messageid - * @diagnosis - * @recommendedaction - * - */ -#define LG_MSG_UNLOCK_BEFORE_LOCK (GLFS_LG_BASE + 210) - -/*! - * @messageid - * @diagnosis - * @recommendedaction - * - */ -#define LG_MSG_LOCK_OWNER_ERROR (GLFS_LG_BASE + 211) - -/*! - * @messageid - * @diagnosis - * @recommendedaction - * - */ -#define LG_MSG_FDTABLE_NULL (GLFS_LG_BASE + 212) +#define LG_MSG_INVALID_POLL_IN (GLFS_LG_BASE + 185) /*! * @messageid @@ -1818,7 +1595,7 @@ * @recommendedaction * */ -#define LG_MSG_MEMPOOL_PTR_NULL (GLFS_LG_BASE + 213) +#define LG_MSG_INVALID_POLL_OUT (GLFS_LG_BASE + 186) /*! * @messageid @@ -1826,7 +1603,7 @@ * @recommendedaction * */ -#define LG_MSG_INVALID_VERSION (GLFS_LG_BASE + 214) +#define LG_MSG_EPOLL_FD_ADD_FAILED (GLFS_LG_BASE + 187) /*! * @messageid @@ -1834,7 +1611,7 @@ * @recommendedaction * */ -#define LG_MSG_WRITE_TO_QUOTA_FAILED (GLFS_LG_BASE + 215) +#define LG_MSG_EPOLL_FD_DEL_FAILED (GLFS_LG_BASE + 188) /*! * @messageid @@ -1842,7 +1619,7 @@ * @recommendedaction * */ -#define LG_MSG_QUOTA_XATTRS_MISSING (GLFS_LG_BASE + 216) +#define LG_MSG_EPOLL_FD_MODIFY_FAILED (GLFS_LG_BASE + 189) /*! * @messageid @@ -1850,7 +1627,7 @@ * @recommendedaction * */ -#define LG_MSG_INVALID_STRING (GLFS_LG_BASE + 217) +#define LG_MSG_STARTED_EPOLL_THREAD (GLFS_LG_BASE + 190) /*! * @messageid @@ -1858,7 +1635,7 @@ * @recommendedaction * */ -#define LG_MSG_BIND_REF (GLFS_LG_BASE + 218) +#define LG_MSG_EXITED_EPOLL_THREAD (GLFS_LG_BASE + 191) /*! * @messageid @@ -1866,7 +1643,7 @@ * @recommendedaction * */ -#define LG_MSG_REF_COUNT (GLFS_LG_BASE + 219) +#define LG_MSG_START_EPOLL_THREAD_FAILED (GLFS_LG_BASE + 192) /*! * @messageid @@ -1874,7 +1651,7 @@ * @recommendedaction * */ -#define LG_MSG_INVALID_ARG (GLFS_LG_BASE + 220) +#define LG_MSG_FALLBACK_TO_POLL (GLFS_LG_BASE + 193) /*! * @messageid @@ -1882,7 +1659,7 @@ * @recommendedaction * */ -#define LG_MSG_VOL_OPTION_ADD (GLFS_LG_BASE + 221) +#define LG_MSG_QUOTA_CONF_ERROR (GLFS_LG_BASE + 194) /*! * @messageid @@ -1890,7 +1667,7 @@ * @recommendedaction * */ -#define LG_MSG_XLATOR_OPTION_INVALID (GLFS_LG_BASE + 222) +#define LG_MSG_RBTHASH_GET_ENTRY_FAILED (GLFS_LG_BASE + 195) /*! * @messageid @@ -1898,7 +1675,7 @@ * @recommendedaction * */ -#define LG_MSG_GETTIMEOFDAY_FAILED (GLFS_LG_BASE + 223) +#define LG_MSG_RBTHASH_GET_BUCKET_FAILED (GLFS_LG_BASE + 196) /*! * @messageid @@ -1906,7 +1683,7 @@ * @recommendedaction * */ -#define LG_MSG_GRAPH_INIT_FAILED (GLFS_LG_BASE + 224) +#define LG_MSG_RBTHASH_INSERT_FAILED (GLFS_LG_BASE + 197) /*! * @messageid @@ -1914,15 +1691,14 @@ * @recommendedaction * */ -#define LG_MSG_EVENT_NOTIFY_FAILED (GLFS_LG_BASE + 225) - +#define LG_MSG_RBTHASH_INIT_ENTRY_FAILED (GLFS_LG_BASE + 198) /*! * @messageid * @diagnosis * @recommendedaction * */ -#define LG_MSG_ACTIVE_GRAPH_NULL (GLFS_LG_BASE + 226) +#define LG_MSG_TMPFILE_DELETE_FAILED (GLFS_LG_BASE + 199) /*! * @messageid @@ -1930,7 +1706,7 @@ * @recommendedaction * */ -#define LG_MSG_VOLFILE_PARSE_ERROR (GLFS_LG_BASE + 227) +#define LG_MSG_MEMPOOL_INVALID_FREE (GLFS_LG_BASE + 200) /*! * @messageid @@ -1938,7 +1714,7 @@ * @recommendedaction * */ -#define LG_MSG_INVALID_VOLFILE_ENTRY (GLFS_LG_BASE + 228) +#define LG_MSG_LOCK_FAILURE (GLFS_LG_BASE + 201) /*! * @messageid |