]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit172bfab4ca91ea7556e8a17e5127ed0ecac7d47d
tree459eee86dc024eeba9571cd7495a665b061060d0
parente312a84f5ffda063b078599dc69252304e865a5b
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