summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
0138e07)
Increased retry attempt before generating an error (prdb modification)
#include <afs/pterror.h>
#define STOP_FILE "/moira/afs/noafs"
#include <afs/pterror.h>
#define STOP_FILE "/moira/afs/noafs"
-#define PR_TRIES 2
-#define PR_DELAY 5
+#define PR_TRIES 3
+#define PR_DELAY 15
#define file_exists(file) (access((file), F_OK) == 0)
#define file_exists(file) (access((file), F_OK) == 0)
if (afterc < FS_CREATE) {
if (!strcmp(before[FS_TYPE], "AFS"))
critical_alert("incremental",
if (afterc < FS_CREATE) {
if (!strcmp(before[FS_TYPE], "AFS"))
critical_alert("incremental",
- "Could not delete AFS filesystem %s: Operation not supported\n",
+ "Could not delete AFS filesystem %s: Operation not supported",
before[FS_NAME]);
return;
}
before[FS_NAME]);
return;
}
if (!strcmp(after[FS_TYPE], "AFS")) {
if (strcmp(before[FS_TYPE], "AFS")) {
critical_alert("incremental",
if (!strcmp(after[FS_TYPE], "AFS")) {
if (strcmp(before[FS_TYPE], "AFS")) {
critical_alert("incremental",
- "Cannot convert %s to an AFS filesystem: Operation not supported\n",
+ "Cannot convert %s to an AFS filesystem: Operation not supported",
after[FS_NAME]);
} else {
critical_alert("incremental",
after[FS_NAME]);
} else {
critical_alert("incremental",
- "Cannot change attributes of AFS filesystem %s: Operation not supported\n",
+ "Cannot change attributes of AFS filesystem %s: Operation not supported",
after[FS_NAME]);
}
return;
after[FS_NAME]);
}
return;