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