lightnvm: rename dma helper functions

Until now, the dma pool have been exclusively used to allocate the ppa
list being sent to the device. In pblk (upcoming), we use these pools to
allocate metadata too. Thus, we generalize the names of some variables
on the dma helper functions to make the code more readable.

Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
This commit is contained in:
Javier González 2016-05-06 20:03:13 +02:00 committed by Jens Axboe
parent 003fad376b
commit 75b8564932
3 changed files with 11 additions and 11 deletions

View file

@ -347,7 +347,7 @@ struct nvm_dev {
unsigned max_pages_per_blk;
unsigned long *lun_map;
void *ppalist_pool;
void *dma_pool;
struct nvm_id identity;