commit | 45dcf29b98377bbdc40aa4a23a79ade60295dbaf | [log] [tgz] |
---|---|---|
author | Javier González <javier@javigon.com> | Tue Oct 09 13:12:02 2018 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Oct 09 08:25:07 2018 -0600 |
tree | 2c21e73e66a009ba9ebfb22e425064e952b91571 | |
parent | 090ee26fd51270cc3bd54a0efbc716ede320ad27 [diff] |
lightnvm: pblk: encapsulate rqd dma allocations dma allocations for ppa_list and meta_list in rqd are replicated in several places across the pblk codebase. Make helpers to encapsulate creation and deletion to simplify the code. 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>