Skip to content

Commit

Permalink
max cache size support
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitrii Zagorodnov committed Jan 27, 2009
1 parent 1786862 commit 62c6acd
Show file tree
Hide file tree
Showing 7 changed files with 472 additions and 126 deletions.
1 change: 1 addition & 0 deletions node/handlers.c
Expand Up @@ -942,6 +942,7 @@ int doDescribeResource (ncMetadata *meta, char *resourceType, ncResource **outRe
int sum_cores = 0; /* for known domains: sum of requested cores */

logprintfl (EUCAINFO, "doDescribeResource() invoked\n");
LogprintfCache (); /* print cache contents */

* outRes = NULL;
error = init_config();
Expand Down
6 changes: 6 additions & 0 deletions storage/Makefile
Expand Up @@ -17,9 +17,15 @@ Wclient: Makefile Wclient.c ../util/euca_auth.o ../util/misc.o walrus.o
walrus.o: walrus.c walrus.h
$(CC) $(CFLAGS) $(INCLUDES) -c walrus.c

test: test.c storage.h storage.o ../util/misc.o ../util/data.o ../util/ipc.o ../util/euca_auth.o walrus.o
$(CC) $(CFLAGS) $(INCLUDES) test.c storage.o ../util/misc.o ../util/data.o ../util/ipc.o ../util/euca_auth.o walrus.o $(STORAGE_LIBS) -o test

.c.o:
$(CC) -c $(CFLAGS) $(INCLUDES) $<

../util/ipc.o: ../util/ipc.c ../util/ipc.h ../util/eucalyptus.h
make -C ../util

../util/misc.o: ../util/misc.c ../util/misc.h ../util/eucalyptus.h
make -C ../util

Expand Down

0 comments on commit 62c6acd

Please sign in to comment.