.bi_rw = job->rw,
.mem.type = DM_IO_PAGE_LIST,
.mem.ptr.pl = job->pages,
.bi_rw = job->rw,
.mem.type = DM_IO_PAGE_LIST,
.mem.ptr.pl = job->pages,
.notify.fn = complete_io,
.notify.context = job,
.client = job->kc->io_client,
.notify.fn = complete_io,
.notify.context = job,
.client = job->kc->io_client,
r = kcopyd_get_pages(job->kc, job->nr_pages, &job->pages);
if (!r) {
/* this job is ready for io */
r = kcopyd_get_pages(job->kc, job->nr_pages, &job->pages);
if (!r) {
/* this job is ready for io */
job->num_dests = num_dests;
memcpy(&job->dests, dests, sizeof(*dests) * num_dests);
job->num_dests = num_dests;
memcpy(&job->dests, dests, sizeof(*dests) * num_dests);