diff --git a/src/bozo/bos.c b/src/bozo/bos.c index 2d54598495..ad369c93c0 100644 --- a/src/bozo/bos.c +++ b/src/bozo/bos.c @@ -1144,6 +1144,7 @@ DoSalvage(struct rx_connection * aconn, char * aparm1, char * aparm2, char pbuffer[PARMBUFFERSSIZE]; afs_int32 partNumber; char *notifier = NONOTIFIER; + int count; /* if a partition was specified, canonicalize the name, since * the salvager has a stupid partition ID parser */ @@ -1314,13 +1315,15 @@ DoSalvage(struct rx_connection * aconn, char * aparm1, char * aparm2, goto done; } /* now wait for bnode to disappear */ + count = 0; while (1) { - IOMGR_Sleep(5); + IOMGR_Sleep(1); tp = tbuffer; code = BOZO_GetInstanceInfo(aconn, "salvage-tmp", &tp, &istatus); if (code) break; - printf("bos: waiting for salvage to complete.\n"); + if ((++count % 5) == 0) + printf("bos: waiting for salvage to complete.\n"); } if (code != BZNOENT) { printf("bos: salvage failed (%s)\n", em(code));