[GIT PULL] Lightnvm fixes and updates for 4.5-rc1
From: Jens Axboe
Date: Thu Jan 21 2016 - 16:22:43 EST
Hi Linus,
This should have been part of the drivers branch, but it arrived a bit
late and wasn't based on the official core block driver branch. So they
got a small scolding, but got a pass since it's still new. Hence it's in
a separate branch.
This is mostly pure fixes, contained to lightnvm/, and minor feature
additions.
Please pull!
git://git.kernel.dk/linux-block.git for-4.5/lightnvm
----------------------------------------------------------------
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
Jens Axboe (1):
lightnvm: ensure that nvm_dev_ops can be used without CONFIG_NVM
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 | 198 +++++------
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 | 238 ++++++++++----
include/uapi/linux/lightnvm.h | 31 ++
10 files changed, 1476 insertions(+), 226 deletions(-)
create mode 100644 drivers/lightnvm/sysblk.c
--
Jens Axboe