mbox series

[0/4] lnvm/pblk mapping cleanups

Message ID 1564566096-28756-1-git-send-email-hans@owltronix.com (mailing list archive)
Headers show
Series lnvm/pblk mapping cleanups | expand

Message

Hans Holmberg July 31, 2019, 9:41 a.m. UTC
This series cleans up the metadata allocation/mapping in lnvm/pblk
by moving over to kvmalloc for metadata and moving metadata mapping
down to the lower lever driver where blk_rq_map_kern can be used.

Hans Holmberg (4):
  lightnvm: remove nvm_submit_io_sync_fn
  lightnvm: move metadata mapping to lower level driver
  lightnvm: pblk: use kvmalloc for metadata
  block: stop exporting bio_map_kern

 block/bio.c                      |   1 -
 drivers/lightnvm/core.c          |  43 ++++++++++++---
 drivers/lightnvm/pblk-core.c     | 116 +++++----------------------------------
 drivers/lightnvm/pblk-gc.c       |  19 +++----
 drivers/lightnvm/pblk-init.c     |  38 ++++---------
 drivers/lightnvm/pblk-read.c     |  22 +-------
 drivers/lightnvm/pblk-recovery.c |  39 ++-----------
 drivers/lightnvm/pblk-write.c    |  20 +------
 drivers/lightnvm/pblk.h          |  31 +----------
 drivers/nvme/host/lightnvm.c     |  45 +++++----------
 include/linux/lightnvm.h         |   8 +--
 11 files changed, 96 insertions(+), 286 deletions(-)

Comments

Matias Bjorling Aug. 6, 2019, 1:40 p.m. UTC | #1
On 7/31/19 11:41 AM, Hans Holmberg wrote:
> This series cleans up the metadata allocation/mapping in lnvm/pblk
> by moving over to kvmalloc for metadata and moving metadata mapping
> down to the lower lever driver where blk_rq_map_kern can be used.
> 
> Hans Holmberg (4):
>    lightnvm: remove nvm_submit_io_sync_fn
>    lightnvm: move metadata mapping to lower level driver
>    lightnvm: pblk: use kvmalloc for metadata
>    block: stop exporting bio_map_kern
> 
>   block/bio.c                      |   1 -
>   drivers/lightnvm/core.c          |  43 ++++++++++++---
>   drivers/lightnvm/pblk-core.c     | 116 +++++----------------------------------
>   drivers/lightnvm/pblk-gc.c       |  19 +++----
>   drivers/lightnvm/pblk-init.c     |  38 ++++---------
>   drivers/lightnvm/pblk-read.c     |  22 +-------
>   drivers/lightnvm/pblk-recovery.c |  39 ++-----------
>   drivers/lightnvm/pblk-write.c    |  20 +------
>   drivers/lightnvm/pblk.h          |  31 +----------
>   drivers/nvme/host/lightnvm.c     |  45 +++++----------
>   include/linux/lightnvm.h         |   8 +--
>   11 files changed, 96 insertions(+), 286 deletions(-)
> 

Hi Jens,

Would you like me to pick up this serie, and send it through the 
lightnvm pull request, or would you like to pick it up?

Thank you!
Matias
Jens Axboe Aug. 6, 2019, 2:16 p.m. UTC | #2
On 8/6/19 6:40 AM, Matias Bjørling wrote:
> On 7/31/19 11:41 AM, Hans Holmberg wrote:
>> This series cleans up the metadata allocation/mapping in lnvm/pblk
>> by moving over to kvmalloc for metadata and moving metadata mapping
>> down to the lower lever driver where blk_rq_map_kern can be used.
>>
>> Hans Holmberg (4):
>>     lightnvm: remove nvm_submit_io_sync_fn
>>     lightnvm: move metadata mapping to lower level driver
>>     lightnvm: pblk: use kvmalloc for metadata
>>     block: stop exporting bio_map_kern
>>
>>    block/bio.c                      |   1 -
>>    drivers/lightnvm/core.c          |  43 ++++++++++++---
>>    drivers/lightnvm/pblk-core.c     | 116 +++++----------------------------------
>>    drivers/lightnvm/pblk-gc.c       |  19 +++----
>>    drivers/lightnvm/pblk-init.c     |  38 ++++---------
>>    drivers/lightnvm/pblk-read.c     |  22 +-------
>>    drivers/lightnvm/pblk-recovery.c |  39 ++-----------
>>    drivers/lightnvm/pblk-write.c    |  20 +------
>>    drivers/lightnvm/pblk.h          |  31 +----------
>>    drivers/nvme/host/lightnvm.c     |  45 +++++----------
>>    include/linux/lightnvm.h         |   8 +--
>>    11 files changed, 96 insertions(+), 286 deletions(-)
>>
> 
> Hi Jens,
> 
> Would you like me to pick up this serie, and send it through the
> lightnvm pull request, or would you like to pick it up?

I can apply it directly for 5.4.