lightnvm: enable to send hint to erase command
authorJavier González <jg@lightnvm.io>
Mon, 28 Nov 2016 21:38:54 +0000 (22:38 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 29 Nov 2016 19:12:51 +0000 (12:12 -0700)
commitbb3149792e0ed52cf5f457dda4c9bf9c5bda1542
tree1b85ed6347013add8d1aa00c912e6674210b27c5
parent3dc87dd048dc442bab633e85bfb96c893612d765
lightnvm: enable to send hint to erase command

Erases might be subject to host hints. An example is multi-plane
programming to erase blocks in parallel. Enable targets to specify this
hint.

Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/lightnvm/core.c
drivers/lightnvm/gennvm.c
drivers/lightnvm/rrpc.c
drivers/lightnvm/sysblk.c
drivers/nvme/host/lightnvm.c
include/linux/lightnvm.h