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 08:21:17 -0700 |
commit | 09719b62fdab031e39b39a6470364a372abdf3f4 (patch) | |
tree | 149130e72879af4aa048967694c3927d3e397a63 /tools | |
parent | 72d256ecc5d0c8cbcc0bd5c6d983b434df556cb4 (diff) |
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 'tools')
0 files changed, 0 insertions, 0 deletions