{
stat->total_items= strtol(value, (char **)NULL, 10);
}
+ else if (!strcmp("bytes_read", key))
+ {
+ stat->bytes_read= strtoll(value, (char **)NULL, 10);
+ }
+ else if (!strcmp("bytes_written", key))
+ {
+ stat->bytes_written= strtoll(value, (char **)NULL, 10);
+ }
else if (!strcmp("bytes", key))
{
stat->bytes= strtoll(value, (char **)NULL, 10);
{
stat->evictions= (uint64_t)strtoll(value, (char **)NULL, 10);
}
- else if (!strcmp("bytes_read", key))
- {
- stat->bytes_read= strtoll(value, (char **)NULL, 10);
- }
- else if (!strcmp("bytes_written", key))
- {
- stat->bytes_written= strtoll(value, (char **)NULL, 10);
- }
else if (!strcmp("limit_maxbytes", key))
{
stat->limit_maxbytes= strtoll(value, (char **)NULL, 10);