Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ubd_drv: update io->addr for UBD_IO_COMMIT_AND_FETCH_REQ
Now we only update io->addr for UBD_IO_FETCH_REQ command which is issued when starting device, this way requires that buffer has to be pre-allocated, and not flexible enough. Update io->addr in both UBD_IO_FETCH_REQ and UBD_IO_COMMIT_AND_FETCH_REQ, then application can cover buffer allocation, such as take the buffer for post-handling request, then complete the request with new buffer. Signed-off-by: Ming Lei <ming.lei@redhat.com>
- Loading branch information