Skip to content
Commit 17912c49 authored by Javier González's avatar Javier González Committed by Jens Axboe
Browse files

lightnvm: submit erases using the I/O path



Until now erases have been submitted as synchronous commands through a
dedicated erase function. In order to enable targets implementing
asynchronous erases, refactor the erase path so that it uses the normal
async I/O submission functions. If a target requires sync I/O, it can
implement it internally. Also, adapt rrpc to use the new erase path.

Signed-off-by: default avatarJavier González <javier@cnexlabs.com>
Fixed spelling error.
Signed-off-by: default avatarMatias Bjørling <matias@cnexlabs.com>

Signed-off-by: default avatarMatias Bjørling <matias@cnexlabs.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 2849a7be
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment