diff options
author | Matias Bjørling <m@bjorling.me> | 2016-01-12 07:49:30 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-01-12 16:21:17 +0100 |
commit | 09719b62fdab031e39b39a6470364a372abdf3f4 (patch) | |
tree | 149130e72879af4aa048967694c3927d3e397a63 /include/scsi/libiscsi.h | |
parent | lightnvm: move rq->error to nvm_rq->error (diff) | |
download | linux-09719b62fdab031e39b39a6470364a372abdf3f4.tar.xz 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 'include/scsi/libiscsi.h')
0 files changed, 0 insertions, 0 deletions