projects
/
bluesky.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dc3639
)
Turn down debugging.
author
Michael Vrable
<mvrable@cs.ucsd.edu>
Fri, 18 Mar 2011 08:34:33 +0000
(
01:34
-0700)
committer
Michael Vrable
<mvrable@cs.ucsd.edu>
Fri, 18 Mar 2011 08:34:33 +0000
(
01:34
-0700)
bluesky/cache.c
patch
|
blob
|
history
diff --git
a/bluesky/cache.c
b/bluesky/cache.c
index
b20960c
..
f3307d4
100644
(file)
--- a/
bluesky/cache.c
+++ b/
bluesky/cache.c
@@
-437,8
+437,8
@@
static int compute_pressure(BlueSkyFS *fs)
/* Too much uncommitted data in the journal on disk, not yet flushed to the
* cloud? */
- printf("Dirty journals: %d to %d\n",
- fs->log->journal_watermark, fs->log->seq_num);
+
/*
printf("Dirty journals: %d to %d\n",
+ fs->log->journal_watermark, fs->log->seq_num);
*/
int dirty_limit;
dirty_limit = bluesky_options.cache_size / (LOG_SEGMENT_SIZE / 1024) / 2;
int dirty_journals = fs->log->seq_num - fs->log->journal_watermark + 1;