Author: adrian.chadd
Date: Fri Jul 17 00:39:03 2009
New Revision: 14207
Modified:
playpen/LUSCA_HEAD_storework/app/coss_rebuild/coss_build_dir.c
Log:
* Note that I should fix this process later!
* Print progress records out
Modified: playpen/LUSCA_HEAD_storework/app/coss_rebuild/coss_build_dir.c
==============================================================================
--- playpen/LUSCA_HEAD_storework/app/coss_rebuild/coss_build_dir.c
(original)
+++ playpen/LUSCA_HEAD_storework/app/coss_rebuild/coss_build_dir.c Fri Jul
17 00:39:03 2009
@@ -111,8 +111,10 @@
}
}
+ /* XXX this should loop over numstripes and try seek+read; doing it
this
way means we -could- read too much.. */
while ((len = read(fd, buf, stripesize)) > 0) {
debug(85, 5) ("STRIPE: %d (len %d)\n", i, len);
+ storeSwapLogPrintProgress(1, i, numstripes);
if (parse_stripe(i, buf, len, blocksize, stripesize) < 0)
break;
i++;
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"lusca-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/lusca-commit?hl=en
-~----------~----~----~----~------~----~------~--~---