author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 16 Oct 2008 21:12:27 +0000 (21:12 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 16 Oct 2008 21:12:27 +0000 (21:12 +0000) | ||
commit | 4d7e379201b4cf3dbdad103d691ca7d2724ade2f | |
tree | b17f49b07f1b01f3007051b690c9ceba73fc57ff | tree | snapshot |
parent | 401ee75cb9db4973161d9bf6e83e586087bd7769 | commit | diff |
- rrd_open() calculates file size for new files and calls mmap once for
the whole file
- rrd_resize() cleaned up, no longer passing a size through the cookie
argument
- rrd_init(&my_rrd) must be called before rrd_open() - if people are
calling rrd_open directly from application code, this might be
troublesome. Alternative solutions: creating an additional function,
rrd_open_create(), or adding an extra argument to rrd_open() for setting
the file size
-- Daniel Pocock
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1613 a5681a0c-68f1-0310-ab6d-d61299d08faa
the whole file
- rrd_resize() cleaned up, no longer passing a size through the cookie
argument
- rrd_init(&my_rrd) must be called before rrd_open() - if people are
calling rrd_open directly from application code, this might be
troublesome. Alternative solutions: creating an additional function,
rrd_open_create(), or adding an extra argument to rrd_open() for setting
the file size
-- Daniel Pocock
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1613 a5681a0c-68f1-0310-ab6d-d61299d08faa
12 files changed:
src/rrd.h | diff | blob | history | |
src/rrd_create.c | diff | blob | history | |
src/rrd_dump.c | diff | blob | history | |
src/rrd_fetch.c | diff | blob | history | |
src/rrd_first.c | diff | blob | history | |
src/rrd_info.c | diff | blob | history | |
src/rrd_last.c | diff | blob | history | |
src/rrd_lastupdate.c | diff | blob | history | |
src/rrd_open.c | diff | blob | history | |
src/rrd_resize.c | diff | blob | history | |
src/rrd_tune.c | diff | blob | history | |
src/rrd_update.c | diff | blob | history |