made the cache_size setting include send and receive buffers

This commit is contained in:
Arvid Norberg
2009-05-02 06:52:57 +00:00
parent 06b609aa1f
commit e4ddb13b6f
5 changed files with 79 additions and 52 deletions

View File

@@ -715,6 +715,7 @@ Returns status of the disk cache for this session.
size_type reads;
int cache_size;
int read_cache_size;
int total_used_buffers;
};
``blocks_written`` is the total number of 16 KiB blocks written to disk
@@ -740,6 +741,10 @@ This includes both read and write cache.
``read_cache_size`` is the number of 16KiB blocks in the read cache.
``total_used_buffers`` is the total number of buffers currently in use.
This includes the read/write disk cache as well as send and receive buffers
used in peer connections.
get_cache_info()
----------------