aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nvme
diff options
context:
space:
mode:
authorJavier González <javier@javigon.com>2018-10-09 13:12:10 +0200
committerJens Axboe <axboe@kernel.dk>2018-10-09 08:25:08 -0600
commit9bd1f875c047a8a619a3e5233c1eb23eace02f31 (patch)
tree8037785267158bf0eaa7d1fc7cd1596862ca69f4 /drivers/nvme
parentlightnvm: pblk: encapsulate rb pointer operations (diff)
downloadlinux-dev-9bd1f875c047a8a619a3e5233c1eb23eace02f31.tar.xz
linux-dev-9bd1f875c047a8a619a3e5233c1eb23eace02f31.zip
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 <javier@cnexlabs.com> Signed-off-by: Matias Bjørling <mb@lightnvm.io> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/nvme')
0 files changed, 0 insertions, 0 deletions