but current existed tests still use dumpfile, switch to zconf later.
int c;
char cmd[1024];
+ setenv("LIBLUSTRE_USE_ZCONF", "no", 1);
+
while ((c = getopt(argc, argv, "c:s:")) != -1) {
switch (c) {
case 'c':
- setenv("LUSTRE_CONFIG_FILE", optarg, 1);
+ setenv("LIBLUSTRE_CONFIG_FILE", optarg, 1);
break;
case 's':
strcpy(mds_server, optarg);
{
int c;
+ setenv("LIBLUSTRE_USE_ZCONF", "no", 1);
+
while ((c = getopt(argc, argv, "s:b:f:c:")) != -1) {
switch (c) {
case 's':
strcpy(failover_script, optarg);
break;
case 'c':
- setenv("LUSTRE_CONFIG_FILE", optarg, 1);
+ setenv("LIBLUSTRE_CONFIG_FILE", optarg, 1);
break;
default:
usage(argv[0]);
#!/bin/sh
LUSTRE_MOUNT_POINT=${LUSTRE_MOUNT_POINT:-"/mnt/lustre"}
+LIBLUSTRE_USE_ZCONF="no"
LUSTRE_CONFIG_FILE=${LUSTRE_CONFIG_FILE:-"/tmp/DUMP_FILE"}
LD_PRELOAD=${LD_PRELOAD:-"/usr/lib/liblustre.so"}