projects
/
bluesky.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
579ee9a
)
Do not drop data from cache immediately after a write.
author
Michael Vrable
<mvrable@cs.ucsd.edu>
Fri, 5 Feb 2010 21:40:33 +0000
(13:40 -0800)
committer
Michael Vrable
<mvrable@cs.ucsd.edu>
Fri, 5 Feb 2010 21:40:33 +0000
(13:40 -0800)
bluesky/file.c
patch
|
blob
|
history
diff --git
a/bluesky/file.c
b/bluesky/file.c
index
2df979e
..
6ba39e3
100644
(file)
--- a/
bluesky/file.c
+++ b/
bluesky/file.c
@@
-225,13
+225,9
@@
void bluesky_block_flush(BlueSkyFS *fs, BlueSkyBlock *block,
g_free(block->ref);
block->ref = name;
- /* block->type = BLUESKY_BLOCK_CACHED; */
- bluesky_string_unref(block->data);
- block->data = NULL;
- block->type = BLUESKY_BLOCK_REF;
+ block->type = BLUESKY_BLOCK_CACHED;
g_checksum_free(csum);
- //bluesky_string_unref(data);
}
/* Flush all blocks in a file to stable storage. */