[PATCH 00/25] LightNVM patches for 4.5

From: Matias BjÃrling
Date: Tue Jan 12 2016 - 01:51:06 EST


Hi Jens,

Here is the collected patches for LightNVM ready for the 4.5 window.
They covers cover the following:

- Several error handling fixes by Wenwei, and Javier.
- Statistics bug reported and fixed by Chao.
- Added two preparation patches for host-side write buffering, by
Javier.
- Fix by Wenwei to correctly place block upon reclaim fail.
- Added sync support and introduced nvm_submit_ppa.
- Fixed ordering bug when plane ppas were sent before sectors ppas.
- Added missing bad block type.
- Added mccap and lower page table support to support SLC.
- Added on disk initialization to allow specific media manager to be
loaded upon device scan.
- Added factory reset to erase flash blocks on a device.
- Added ioctls for initialization and factory reset.
- Several refactoring patches to prepare for initialization and
factory reset.

They are based on top of 4.4-rc8.

Please pick up when convenient.

Thank you,
Matias

Chao Yu (1):
lightnvm: fix incorrect nr_free_blocks stat

Javier Gonzalez (1):
lightnvm: add check after mempool allocation

Javier GonzÃlez (2):
lightnvm: reference rrpc lun in rrpc block
lightnvm: manage open and closed blocks separately

Matias BjÃrling (15):
lightnvm: move ppa erase logic to core
lightnvm: refactor rqd ppa list into set/free
lightnvm: refactor end_io functions for sync
lightnvm: return the get_bb_tbl return value
lightnvm: sectors first in ppa list
lightnvm: support multiple ppas in nvm_erase_ppa
lightnvm: move rq->error to nvm_rq->error
lightnvm: introduce nvm_submit_ppa
lightnvm: fix missing grown bad block type
lightnvm: add mccap support
lightnvm: introduce mlc lower page table mappings
lightnvm: core on-disk initialization
lightnvm: introduce ioctl to initialize device
lightnvm: use system block for mm initialization
lightnvm: introduce factory reset

Wenwei Tao (6):
lightnvm: fix bio submission issue
lightnvm: unlock rq and free ppa_list on submission fail
lightnvm: check bi_error in gc
lightnvm: put block back to gc list on its reclaim fail
lightnvm: fix locking and mempool in rrpc_lun_gc
lightnvm: move the pages per block check out of the loop

drivers/block/null_blk.c | 3 +-
drivers/lightnvm/Makefile | 2 +-
drivers/lightnvm/core.c | 340 ++++++++++++++++++-
drivers/lightnvm/gennvm.c | 202 +++++-------
drivers/lightnvm/rrpc.c | 104 ++++--
drivers/lightnvm/rrpc.h | 13 +-
drivers/lightnvm/sysblk.c | 741 ++++++++++++++++++++++++++++++++++++++++++
drivers/nvme/host/lightnvm.c | 32 +-
include/linux/lightnvm.h | 119 ++++++-
include/uapi/linux/lightnvm.h | 31 ++
10 files changed, 1415 insertions(+), 172 deletions(-)
create mode 100644 drivers/lightnvm/sysblk.c

--
2.1.4