aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/lightnvm.h
diff options
context:
space:
mode:
authorJavier González <javier@cnexlabs.com>2016-05-06 20:03:13 +0200
committerJens Axboe <axboe@fb.com>2016-05-06 12:51:10 -0600
commit75b8564932ef646e8620deffacbe134846333948 (patch)
tree9e8e6c71494bce11fee3599b324c04b194131234 /include/linux/lightnvm.h
parentlightnvm: enable metadata to be sent to device (diff)
downloadlinux-dev-75b8564932ef646e8620deffacbe134846333948.tar.xz
linux-dev-75b8564932ef646e8620deffacbe134846333948.zip
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>
Diffstat (limited to 'include/linux/lightnvm.h')
-rw-r--r--include/linux/lightnvm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/lightnvm.h b/include/linux/lightnvm.h
index 678df4d4354d..0e8e01956325 100644
--- a/include/linux/lightnvm.h
+++ b/include/linux/lightnvm.h
@@ -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;