aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/lightnvm.h
diff options
context:
space:
mode:
authorJavier González <javier@cnexlabs.com>2016-05-06 20:03:12 +0200
committerJens Axboe <axboe@fb.com>2016-05-06 12:51:10 -0600
commit003fad376b924fc3a61c659f38da70356ec144fa (patch)
tree459eee86dc024eeba9571cd7495a665b061060d0 /include/linux/lightnvm.h
parentlightnvm: do not free unused metadata on rrpc (diff)
downloadlinux-dev-003fad376b924fc3a61c659f38da70356ec144fa.tar.xz
linux-dev-003fad376b924fc3a61c659f38da70356ec144fa.zip
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>
Diffstat (limited to 'include/linux/lightnvm.h')
-rw-r--r--include/linux/lightnvm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/lightnvm.h b/include/linux/lightnvm.h
index af72ca75dced..678df4d4354d 100644
--- a/include/linux/lightnvm.h
+++ b/include/linux/lightnvm.h
@@ -230,8 +230,8 @@ struct nvm_rq {
struct ppa_addr *ppa_list;
- void *metadata;
- dma_addr_t dma_metadata;
+ void *meta_list;
+ dma_addr_t dma_meta_list;
struct completion *wait;
nvm_end_io_fn *end_io;