cmdebug-entry-count-20081010
authorHarald Barth <haba@kth.se>
Fri, 10 Oct 2008 12:50:52 +0000 (12:50 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 10 Oct 2008 12:50:52 +0000 (12:50 +0000)
LICENSE IPL10

raise max number of entries as cache managers routinely have more
than 10,000 vnode status objects

src/venus/cmdebug.c

index 04ea063..1685113 100644 (file)
@@ -266,7 +266,7 @@ PrintCacheEntries32(struct rx_connection *aconn, int aint32)
     struct AFSDBCacheEntry centry;
     char *cellname;
 
-    for (i = 0; i < 10000; i++) {
+    for (i = 0; i < 1000000; i++) {
        code = RXAFSCB_GetCE(aconn, i, &centry);
        if (code) {
            if (code == 1)
@@ -363,7 +363,7 @@ PrintCacheEntries64(struct rx_connection *aconn, int aint32)
     char *cellname;
     int ce64 = 0;
 
-    for (i = 0; i < 10000; i++) {
+    for (i = 0; i < 1000000; i++) {
        code = RXAFSCB_GetCE64(aconn, i, &centry);
        if (code) {
            if (code == 1)