summaryrefslogtreecommitdiffstats
path: root/drivers/lightnvm/rrpc.h
diff options
context:
space:
mode:
authorMatias Bjørling <m@bjorling.me>2016-01-12 07:49:30 +0100
committerJens Axboe <axboe@fb.com>2016-01-12 08:21:17 -0700
commit09719b62fdab031e39b39a6470364a372abdf3f4 (patch)
tree149130e72879af4aa048967694c3927d3e397a63 /drivers/lightnvm/rrpc.h
parent72d256ecc5d0c8cbcc0bd5c6d983b434df556cb4 (diff)
downloadlinux-09719b62fdab031e39b39a6470364a372abdf3f4.tar.gz
linux-09719b62fdab031e39b39a6470364a372abdf3f4.tar.bz2
linux-09719b62fdab031e39b39a6470364a372abdf3f4.zip
lightnvm: introduce nvm_submit_ppa
Internal logic for both core and media managers, does not have a backing bio for issuing I/Os. Introduce nvm_submit_ppa to allow raw I/Os to be submitted to the underlying device driver. The function request the device, ppa, data buffer and its length and will submit the I/O synchronously to the device. The return value may therefore be used to detect any errors regarding the issued I/O. Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/lightnvm/rrpc.h')
0 files changed, 0 insertions, 0 deletions