Skip to content

Commit 0a13dae

Browse files
committed
Merge branch 'for-4.5/lightnvm' of git://git.kernel.dk/linux-block
Pull lightnvm fixes and updates from Jens Axboe: "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" * 'for-4.5/lightnvm' of git://git.kernel.dk/linux-block: (26 commits) lightnvm: ensure that nvm_dev_ops can be used without CONFIG_NVM lightnvm: introduce factory reset lightnvm: use system block for mm initialization lightnvm: introduce ioctl to initialize device lightnvm: core on-disk initialization lightnvm: introduce mlc lower page table mappings lightnvm: add mccap support lightnvm: manage open and closed blocks separately lightnvm: fix missing grown bad block type lightnvm: reference rrpc lun in rrpc block lightnvm: introduce nvm_submit_ppa lightnvm: move rq->error to nvm_rq->error lightnvm: support multiple ppas in nvm_erase_ppa lightnvm: move the pages per block check out of the loop lightnvm: sectors first in ppa list lightnvm: fix locking and mempool in rrpc_lun_gc lightnvm: put block back to gc list on its reclaim fail lightnvm: check bi_error in gc lightnvm: return the get_bb_tbl return value lightnvm: refactor end_io functions for sync ...
2 parents 6412035 + a7fd9a4 commit 0a13dae

File tree

10 files changed

+1476
-226
lines changed

10 files changed

+1476
-226
lines changed

drivers/block/null_blk.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,9 +436,8 @@ static void null_del_dev(struct nullb *nullb)
436436
static void null_lnvm_end_io(struct request *rq, int error)
437437
{
438438
struct nvm_rq *rqd = rq->end_io_data;
439-
struct nvm_dev *dev = rqd->dev;
440439

441-
dev->mt->end_io(rqd, error);
440+
nvm_end_io(rqd, error);
442441

443442
blk_put_request(rq);
444443
}

drivers/lightnvm/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
# Makefile for Open-Channel SSDs.
33
#
44

5-
obj-$(CONFIG_NVM) := core.o
5+
obj-$(CONFIG_NVM) := core.o sysblk.o
66
obj-$(CONFIG_NVM_GENNVM) += gennvm.o
77
obj-$(CONFIG_NVM_RRPC) += rrpc.o

0 commit comments

Comments
 (0)