author | Wilfried Goesgens <dothebart@citadel.org> | |
Wed, 23 Jul 2014 12:15:43 +0000 (14:15 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Wed, 23 Jul 2014 12:31:48 +0000 (14:31 +0200) | ||
commit | 3e0942fc2d97a3028b9244fde6605c9ba68224fe | |
tree | 592d47f94e580071b281d40d99ef5ae235b9c319 | tree | snapshot |
parent | 521df2eab8db4c5d370310b9739fbdb6a3e66557 | commit | diff |
zfs_arc: support for zfsonlinux
fix alocation schemes so the plugin actually works
- specify type llist_t kstat_t, so we can easily pass in our parsed data
- read the file into one chunk of memory so we have the values available
- count the number of lines to allocate the long pointer array
- parse the buffer line by line.
fix alocation schemes so the plugin actually works
- specify type llist_t kstat_t, so we can easily pass in our parsed data
- read the file into one chunk of memory so we have the values available
- count the number of lines to allocate the long pointer array
- parse the buffer line by line.
src/zfs_arc.c | diff | blob | history |