mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 17:10:50 +00:00
fixed a few comments
This commit is contained in:
parent
7dd8e7cfdf
commit
a4798f733d
8
redis.c
8
redis.c
@ -9120,10 +9120,12 @@ static int vmWriteObjectOnSwap(robj *o, off_t page) {
|
|||||||
return REDIS_OK;
|
return REDIS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Swap the 'val' object relative to 'key' into disk. Store all the information
|
/* Transfers the 'val' object to disk. Store all the information
|
||||||
* needed to later retrieve the object into the key object.
|
* a 'vmpointer' object containing all the information needed to load the
|
||||||
|
* object back later is returned.
|
||||||
|
*
|
||||||
* If we can't find enough contiguous empty pages to swap the object on disk
|
* If we can't find enough contiguous empty pages to swap the object on disk
|
||||||
* REDIS_ERR is returned. */
|
* NULL is returned. */
|
||||||
static vmpointer *vmSwapObjectBlocking(robj *val) {
|
static vmpointer *vmSwapObjectBlocking(robj *val) {
|
||||||
off_t pages = rdbSavedObjectPages(val,NULL);
|
off_t pages = rdbSavedObjectPages(val,NULL);
|
||||||
off_t page;
|
off_t page;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user