Re: [PATCH 0/8] lightnvm: simplify media manager V2

From: Matias BjÃrling
Date: Wed Nov 23 2016 - 07:07:06 EST


On 11/21/2016 01:10 PM, Javier GonzÃlez wrote:
> V2:
> - Fix 2 bad memory free on error rrpc init error handling. Reported by
> kbuild.
>
> This patchset simplifies the generic media manager interface and moves
> lun and block functionality to lightnvm targets. This makes that
> rrpc-specific functionality is not exposed on the media manager. This is
> done in preparation for the pblk target.
>
> Javier GonzÃlez (8):
> lightnvm: move block provisioning to targets
> lightnvm: remove get_lun operation on gennvm
> lightnvm: remove debug lun statistics from gennvm
> lightnvm: eliminate nvm_block abstraction on mm
> lightnvm: eliminate nvm_lun abstraction in mm
> lightnvm: introduce helpers for generic ops in rrpc
> lightnvm: introduce max_phys_sects helper function
> lightnvm: use target nvm on target-specific ops.
>
> drivers/lightnvm/core.c | 154 ++++++-----
> drivers/lightnvm/gennvm.c | 612 ++++++++++++++++++++-----------------------
> drivers/lightnvm/gennvm.h | 20 +-
> drivers/lightnvm/rrpc.c | 443 +++++++++++++++++++++----------
> drivers/lightnvm/rrpc.h | 62 ++++-
> drivers/lightnvm/sysblk.c | 65 +++--
> drivers/nvme/host/lightnvm.c | 14 +-
> include/linux/lightnvm.h | 217 +++++++--------
> 8 files changed, 885 insertions(+), 702 deletions(-)
>

Thanks Javier. Picked up for 4.10. Please note I fixed up an
initialization bug with null_blk device in the "lightnvm: introduce
helpers for generic ops in rrpc" patch.