lightnvm: enable metadata to be sent to device
authorJavier González <javier@cnexlabs.com>
Fri, 6 May 2016 18:03:12 +0000 (20:03 +0200)
committerJens Axboe <axboe@fb.com>
Fri, 6 May 2016 18:51:10 +0000 (12:51 -0600)
commit003fad376b924fc3a61c659f38da70356ec144fa
tree459eee86dc024eeba9571cd7495a665b061060d0
parent57682b49154921306a5e7b79c883781230698878
lightnvm: enable metadata to be sent to device

Enable metadata buffer to be sent to the device through the metadata
field on the physical rw nvme command. The size of the metadata buffer
must follow dev->oob_size * # of PPAs.

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