- in case of mmap just point to the correct position within the file
file_name, (long long) correct_len);
goto out_nullify_head;
}
+ if (rdwr & RRD_READVALUES) {
+ long d_offset = offset;
+
+ __rrd_read(rrd->rrd_value, rrd_value_t,
+ row_cnt * rrd->stat_head->ds_cnt);
+
+ rrd_file->header_len = d_offset;
+ rrd_file->pos = d_offset;
+ }
+
}
+
+
out_done:
return (rrd_file);
out_nullify_head:
#define RRD_READAHEAD (1<<3)
#define RRD_COPY (1<<4)
#define RRD_EXCL (1<<5)
+#define RRD_READVALUES (1<<6)
enum cf_en cf_conv(
const char *string);