Re: [PATCH 3/3] lightnvm: rename dma helper functions

2016-04-27 Thread Javier González
>> if (dev->ops->max_phys_sect > 1) { >> -dev->ppalist_pool = dev->ops->create_dma_pool(dev, "ppalist"); >> -if (!dev->ppalist_pool) { >> +dev->dma_page_pool = dev->ops->create_dma_pool(dev, "ppalist"); > > rename to dmapool or something similar? > >> +if (!d

Re: [PATCH 3/3] lightnvm: rename dma helper functions

2016-04-27 Thread Matias Bjørling
On 04/27/2016 07:28 PM, Javier González wrote: 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