projects
/
bluesky.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improve the reading back of objects committed to the journal.
[bluesky.git]
/
bluesky
/
file.c
diff --git
a/bluesky/file.c
b/bluesky/file.c
index
cb9d5f0
..
34e103f
100644
(file)
--- a/
bluesky/file.c
+++ b/
bluesky/file.c
@@
-231,6
+231,7
@@
void bluesky_block_fetch(BlueSkyInode *inode, BlueSkyBlock *block,
bluesky_string_ref(block->data);
g_mutex_unlock(block->cloudref->lock);
block->type = BLUESKY_BLOCK_CACHED;
+ g_atomic_int_add(&inode->fs->cache_total, 1);
}
/* Write the given block to cloud-backed storage and mark it clean. */