Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
0841cc92
Commit
0841cc92
authored
Jan 07, 2010
by
antirez
Browse files
fflush VM swap file after object swapping
parent
87eaf97f
Changes
1
Show whitespace changes
Inline
Side-by-side
redis.c
View file @
0841cc92
...
@@ -6943,6 +6943,7 @@ static int vmSwapObject(robj *key, robj *val) {
...
@@ -6943,6 +6943,7 @@ static int vmSwapObject(robj *key, robj *val) {
(unsigned long long) page, (unsigned long long) pages);
(unsigned long long) page, (unsigned long long) pages);
server.vm_stats_swapped_objects++;
server.vm_stats_swapped_objects++;
server.vm_stats_swapouts++;
server.vm_stats_swapouts++;
fflush(server.vm_fp);
return REDIS_OK;
return REDIS_OK;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment