projects
/
redis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87eaf97
)
fflush VM swap file after object swapping
author
antirez
<antirez@gmail.com>
Thu, 7 Jan 2010 20:53:12 +0000
(15:53 -0500)
committer
antirez
<antirez@gmail.com>
Thu, 7 Jan 2010 20:53:12 +0000
(15:53 -0500)
redis.c
patch
|
blob
|
blame
|
history
diff --git
a/redis.c
b/redis.c
index 8cf8d1746c14b0f2474ac2025f658cd398f2c654..f172f144864176c40ba84e640628ac85ec1194ab 100644
(file)
--- a/
redis.c
+++ b/
redis.c
@@
-6943,6
+6943,7
@@
static int vmSwapObject(robj *key, robj *val) {
(unsigned long long) page, (unsigned long long) pages);
server.vm_stats_swapped_objects++;
server.vm_stats_swapouts++;
+ fflush(server.vm_fp);
return REDIS_OK;
}