char ls_name[MAX_NAME+1] = { 0 };
char vg_name[MAX_NAME+1] = { 0 };
char vg_uuid[MAX_NAME+1] = { 0 };
- char vg_sysid[MAX_NAME+1] = { 0 };
char lock_args[MAX_ARGS+1] = { 0 };
char lock_type[MAX_NAME+1] = { 0 };
- (void) sscanf(line, "info=ls ls_name=%s vg_name=%s vg_uuid=%s vg_sysid=%s vg_args=%s lm_type=%s",
- ls_name, vg_name, vg_uuid, vg_sysid, lock_args, lock_type);
+ (void) sscanf(line, "info=ls ls_name=%s vg_name=%s vg_uuid=%s vg_args=%s lm_type=%s",
+ ls_name, vg_name, vg_uuid, lock_args, lock_type);
if (!first_ls)
printf("\n");
"ls_name=%s "
"vg_name=%s "
"vg_uuid=%s "
- "vg_sysid=%s "
"vg_args=%s "
"lm_type=%s "
"host_id=%llu "
ls->name,
ls->vg_name,
ls->vg_uuid,
- ls->vg_sysid[0] ? ls->vg_sysid : ".",
ls->vg_args,
lm_str(ls->lm_type),
(unsigned long long)ls->host_id,
const char *cl_name;
const char *vg_name;
const char *vg_uuid;
- const char *vg_sysid;
const char *path;
const char *str;
struct pvs pvs;
cl_pid = daemon_request_int(req, "pid", 0);
vg_name = daemon_request_str(req, "vg_name", NULL);
vg_uuid = daemon_request_str(req, "vg_uuid", NULL);
- vg_sysid = daemon_request_str(req, "vg_sysid", NULL);
str = daemon_request_str(req, "mode", NULL);
mode = str_to_mode(str);
str = daemon_request_str(req, "opts", NULL);
if (vg_uuid && strcmp(vg_uuid, "none"))
memccpy(act->vg_uuid, vg_uuid, 0, 64);
- if (vg_sysid && strcmp(vg_sysid, "none"))
- dm_strncpy(act->vg_sysid, vg_sysid, sizeof(act->vg_sysid));
-
str = daemon_request_str(req, "lv_name", NULL);
if (str && strcmp(str, "none"))
strncpy(act->lv_name, str, MAX_NAME);
char vg_args[MAX_ARGS+1];
char lv_args[MAX_ARGS+1];
char prev_lv_args[MAX_ARGS+1];
- char vg_sysid[MAX_NAME+1];
struct pvs pvs; /* PV list for idm */
};
char vg_name[MAX_NAME+1];
char vg_uuid[64];
char vg_args[MAX_ARGS+1]; /* lock manager specific args */
- char vg_sysid[MAX_NAME+1];
int8_t lm_type; /* lock manager: LM_DLM, LM_SANLOCK */
void *lm_data;
uint64_t host_id;