diff options
| author | Javier González <[email protected]> | 2018-10-09 13:12:10 +0200 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2018-10-09 08:25:08 -0600 |
| commit | 9bd1f875c047a8a619a3e5233c1eb23eace02f31 (patch) | |
| tree | 8037785267158bf0eaa7d1fc7cd1596862ca69f4 /tools/perf/scripts/python/netdev-times.py | |
| parent | 40b8657dcc0bbd4a293cac1acd4b0b01c0359416 (diff) | |
lightnvm: pblk: move ring buffer alloc/free rb init
pblk's read/write buffer currently takes a buffer and its size and uses
it to create the metadata around it to use it as a ring buffer. This
puts the responsibility of allocating/freeing ring buffer memory on the
ring buffer user. Instead, move it inside of the ring buffer helpers
(pblk-rb.c). This simplifies creation/destruction routines.
Signed-off-by: Javier González <[email protected]>
Signed-off-by: Matias Bjørling <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions