Blame view
drivers/lightnvm/pblk-read.c
13.4 KB
a4bd217b4 lightnvm: physica... |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
/* * Copyright (C) 2016 CNEX Labs * Initial release: Javier Gonzalez <javier@cnexlabs.com> * Matias Bjorling <matias@cnexlabs.com> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License version * 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * pblk-read.c - pblk's read path */ #include "pblk.h" /* * There is no guarantee that the value read from cache has not been updated and * resides at another location in the cache. We guarantee though that if the * value is read from the cache, it belongs to the mapped lba. In order to * guarantee and order between writes and reads are ordered, a flush must be * issued. */ static int pblk_read_from_cache(struct pblk *pblk, struct bio *bio, sector_t lba, struct ppa_addr ppa, |
75cb8e939 lightnvm: pblk: a... |
29 |
int bio_iter, bool advanced_bio) |
a4bd217b4 lightnvm: physica... |
30 31 32 33 34 35 |
{ #ifdef CONFIG_NVM_DEBUG /* Callers must ensure that the ppa points to a cache address */ BUG_ON(pblk_ppa_empty(ppa)); BUG_ON(!pblk_addr_in_cache(ppa)); #endif |
75cb8e939 lightnvm: pblk: a... |
36 37 |
return pblk_rb_copy_to_bio(&pblk->rwb, bio, lba, ppa, bio_iter, advanced_bio); |
a4bd217b4 lightnvm: physica... |
38 39 40 41 42 43 44 45 46 |
} static void pblk_read_ppalist_rq(struct pblk *pblk, struct nvm_rq *rqd, unsigned long *read_bitmap) { struct bio *bio = rqd->bio; struct ppa_addr ppas[PBLK_MAX_REQ_ADDRS]; sector_t blba = pblk_get_lba(bio); int nr_secs = rqd->nr_ppas; |
75cb8e939 lightnvm: pblk: a... |
47 |
bool advanced_bio = false; |
a4bd217b4 lightnvm: physica... |
48 49 50 |
int i, j = 0; /* logic error: lba out-of-bounds. Ignore read request */ |
2a79efd83 lightnvm: fix som... |
51 52 53 |
if (blba + nr_secs >= pblk->rl.nr_secs) { WARN(1, "pblk: read lbas out of bounds "); |
a4bd217b4 lightnvm: physica... |
54 55 56 57 58 59 60 61 62 63 64 65 |
return; } pblk_lookup_l2p_seq(pblk, ppas, blba, nr_secs); for (i = 0; i < nr_secs; i++) { struct ppa_addr p = ppas[i]; sector_t lba = blba + i; retry: if (pblk_ppa_empty(p)) { WARN_ON(test_and_set_bit(i, read_bitmap)); |
75cb8e939 lightnvm: pblk: a... |
66 67 68 69 70 71 72 |
if (unlikely(!advanced_bio)) { bio_advance(bio, (i) * PBLK_EXPOSED_PAGE_SIZE); advanced_bio = true; } goto next; |
a4bd217b4 lightnvm: physica... |
73 74 75 76 77 78 |
} /* Try to read from write buffer. The address is later checked * on the write buffer to prevent retrieving overwritten data. */ if (pblk_addr_in_cache(p)) { |
75cb8e939 lightnvm: pblk: a... |
79 80 |
if (!pblk_read_from_cache(pblk, bio, lba, p, i, advanced_bio)) { |
a4bd217b4 lightnvm: physica... |
81 82 83 84 |
pblk_lookup_l2p_seq(pblk, &p, lba, 1); goto retry; } WARN_ON(test_and_set_bit(i, read_bitmap)); |
75cb8e939 lightnvm: pblk: a... |
85 |
advanced_bio = true; |
db7ada33c lightnvm: pblk: a... |
86 87 88 |
#ifdef CONFIG_NVM_DEBUG atomic_long_inc(&pblk->cache_reads); #endif |
a4bd217b4 lightnvm: physica... |
89 90 91 92 |
} else { /* Read from media non-cached sectors */ rqd->ppa_list[j++] = p; } |
75cb8e939 lightnvm: pblk: a... |
93 |
next: |
a4bd217b4 lightnvm: physica... |
94 95 96 |
if (advanced_bio) bio_advance(bio, PBLK_EXPOSED_PAGE_SIZE); } |
f9c101523 lightnvm: pblk: i... |
97 98 99 100 |
if (pblk_io_aligned(pblk, nr_secs)) rqd->flags = pblk_set_read_mode(pblk, PBLK_READ_SEQUENTIAL); else rqd->flags = pblk_set_read_mode(pblk, PBLK_READ_RANDOM); |
a4bd217b4 lightnvm: physica... |
101 102 103 104 105 106 107 108 |
#ifdef CONFIG_NVM_DEBUG atomic_long_add(nr_secs, &pblk->inflight_reads); #endif } static int pblk_submit_read_io(struct pblk *pblk, struct nvm_rq *rqd) { int err; |
a4bd217b4 lightnvm: physica... |
109 110 111 112 113 114 115 116 117 118 119 |
err = pblk_submit_io(pblk, rqd); if (err) return NVM_IO_ERR; return NVM_IO_OK; } static void pblk_end_io_read(struct nvm_rq *rqd) { struct pblk *pblk = rqd->private; struct nvm_tgt_dev *dev = pblk->dev; |
084ec9ba0 lightnvm: pblk: r... |
120 |
struct pblk_g_ctx *r_ctx = nvm_rq_to_pdu(rqd); |
a4bd217b4 lightnvm: physica... |
121 122 123 124 125 126 |
struct bio *bio = rqd->bio; if (rqd->error) pblk_log_read_err(pblk, rqd); #ifdef CONFIG_NVM_DEBUG else |
4e4cbee93 block: switch bio... |
127 128 |
WARN_ONCE(bio->bi_status, "pblk: corrupted read error "); |
a4bd217b4 lightnvm: physica... |
129 |
#endif |
63e3809cf lightnvm: pblk: s... |
130 |
nvm_dev_dma_free(dev->parent, rqd->meta_list, rqd->dma_meta_list); |
a4bd217b4 lightnvm: physica... |
131 132 |
bio_put(bio); |
084ec9ba0 lightnvm: pblk: r... |
133 134 |
if (r_ctx->private) { struct bio *orig_bio = r_ctx->private; |
a4bd217b4 lightnvm: physica... |
135 |
#ifdef CONFIG_NVM_DEBUG |
084ec9ba0 lightnvm: pblk: r... |
136 137 |
WARN_ONCE(orig_bio->bi_status, "pblk: corrupted read bio "); |
a4bd217b4 lightnvm: physica... |
138 |
#endif |
084ec9ba0 lightnvm: pblk: r... |
139 140 |
bio_endio(orig_bio); bio_put(orig_bio); |
a4bd217b4 lightnvm: physica... |
141 142 143 144 145 146 147 148 |
} #ifdef CONFIG_NVM_DEBUG atomic_long_add(rqd->nr_ppas, &pblk->sync_reads); atomic_long_sub(rqd->nr_ppas, &pblk->inflight_reads); #endif pblk_free_rqd(pblk, rqd, READ); |
588726d3e lightnvm: pblk: f... |
149 |
atomic_dec(&pblk->inflight_io); |
a4bd217b4 lightnvm: physica... |
150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 |
} static int pblk_fill_partial_read_bio(struct pblk *pblk, struct nvm_rq *rqd, unsigned int bio_init_idx, unsigned long *read_bitmap) { struct bio *new_bio, *bio = rqd->bio; struct bio_vec src_bv, dst_bv; void *ppa_ptr = NULL; void *src_p, *dst_p; dma_addr_t dma_ppa_list = 0; int nr_secs = rqd->nr_ppas; int nr_holes = nr_secs - bitmap_weight(read_bitmap, nr_secs); int i, ret, hole; DECLARE_COMPLETION_ONSTACK(wait); new_bio = bio_alloc(GFP_KERNEL, nr_holes); if (!new_bio) { pr_err("pblk: could not alloc read bio "); return NVM_IO_ERR; } if (pblk_bio_add_pages(pblk, new_bio, GFP_KERNEL, nr_holes)) goto err; if (nr_holes != new_bio->bi_vcnt) { pr_err("pblk: malformed bio "); goto err; } new_bio->bi_iter.bi_sector = 0; /* internal bio */ bio_set_op_attrs(new_bio, REQ_OP_READ, 0); new_bio->bi_private = &wait; new_bio->bi_end_io = pblk_end_bio_sync; rqd->bio = new_bio; rqd->nr_ppas = nr_holes; |
f9c101523 lightnvm: pblk: i... |
189 |
rqd->flags = pblk_set_read_mode(pblk, PBLK_READ_RANDOM); |
a4bd217b4 lightnvm: physica... |
190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 |
rqd->end_io = NULL; if (unlikely(nr_secs > 1 && nr_holes == 1)) { ppa_ptr = rqd->ppa_list; dma_ppa_list = rqd->dma_ppa_list; rqd->ppa_addr = rqd->ppa_list[0]; } ret = pblk_submit_read_io(pblk, rqd); if (ret) { bio_put(rqd->bio); pr_err("pblk: read IO submission failed "); goto err; } if (!wait_for_completion_io_timeout(&wait, msecs_to_jiffies(PBLK_COMMAND_TIMEOUT_MS))) { pr_err("pblk: partial read I/O timed out "); } if (rqd->error) { atomic_long_inc(&pblk->read_failed); #ifdef CONFIG_NVM_DEBUG pblk_print_failed_rqd(pblk, rqd, rqd->error); #endif } if (unlikely(nr_secs > 1 && nr_holes == 1)) { rqd->ppa_list = ppa_ptr; rqd->dma_ppa_list = dma_ppa_list; } /* Fill the holes in the original bio */ i = 0; hole = find_first_zero_bit(read_bitmap, nr_secs); do { src_bv = new_bio->bi_io_vec[i++]; dst_bv = bio->bi_io_vec[bio_init_idx + hole]; src_p = kmap_atomic(src_bv.bv_page); dst_p = kmap_atomic(dst_bv.bv_page); memcpy(dst_p + dst_bv.bv_offset, src_p + src_bv.bv_offset, PBLK_EXPOSED_PAGE_SIZE); kunmap_atomic(src_p); kunmap_atomic(dst_p); |
136e415e7 lightnvm: pblk: f... |
240 |
mempool_free(src_bv.bv_page, pblk->page_bio_pool); |
a4bd217b4 lightnvm: physica... |
241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 |
hole = find_next_zero_bit(read_bitmap, nr_secs, hole + 1); } while (hole < nr_secs); bio_put(new_bio); /* Complete the original bio and associated request */ rqd->bio = bio; rqd->nr_ppas = nr_secs; rqd->private = pblk; bio_endio(bio); pblk_end_io_read(rqd); return NVM_IO_OK; err: /* Free allocated pages in new bio */ pblk_bio_free_pages(pblk, bio, 0, new_bio->bi_vcnt); rqd->private = pblk; pblk_end_io_read(rqd); return NVM_IO_ERR; } static void pblk_read_rq(struct pblk *pblk, struct nvm_rq *rqd, unsigned long *read_bitmap) { struct bio *bio = rqd->bio; struct ppa_addr ppa; sector_t lba = pblk_get_lba(bio); /* logic error: lba out-of-bounds. Ignore read request */ |
2a79efd83 lightnvm: fix som... |
272 273 274 |
if (lba >= pblk->rl.nr_secs) { WARN(1, "pblk: read lba out of bounds "); |
a4bd217b4 lightnvm: physica... |
275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 |
return; } pblk_lookup_l2p_seq(pblk, &ppa, lba, 1); #ifdef CONFIG_NVM_DEBUG atomic_long_inc(&pblk->inflight_reads); #endif retry: if (pblk_ppa_empty(ppa)) { WARN_ON(test_and_set_bit(0, read_bitmap)); return; } /* Try to read from write buffer. The address is later checked on the * write buffer to prevent retrieving overwritten data. */ if (pblk_addr_in_cache(ppa)) { |
75cb8e939 lightnvm: pblk: a... |
294 |
if (!pblk_read_from_cache(pblk, bio, lba, ppa, 0, 1)) { |
a4bd217b4 lightnvm: physica... |
295 296 297 298 |
pblk_lookup_l2p_seq(pblk, &ppa, lba, 1); goto retry; } WARN_ON(test_and_set_bit(0, read_bitmap)); |
db7ada33c lightnvm: pblk: a... |
299 300 301 |
#ifdef CONFIG_NVM_DEBUG atomic_long_inc(&pblk->cache_reads); #endif |
a4bd217b4 lightnvm: physica... |
302 303 304 |
} else { rqd->ppa_addr = ppa; } |
f9c101523 lightnvm: pblk: i... |
305 306 |
rqd->flags = pblk_set_read_mode(pblk, PBLK_READ_RANDOM); |
a4bd217b4 lightnvm: physica... |
307 308 309 310 311 |
} int pblk_submit_read(struct pblk *pblk, struct bio *bio) { struct nvm_tgt_dev *dev = pblk->dev; |
5bf1e1ee6 lightnvm: potenti... |
312 |
unsigned int nr_secs = pblk_get_secs(bio); |
a4bd217b4 lightnvm: physica... |
313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 |
struct nvm_rq *rqd; unsigned long read_bitmap; /* Max 64 ppas per request */ unsigned int bio_init_idx; int ret = NVM_IO_ERR; if (nr_secs > PBLK_MAX_REQ_ADDRS) return NVM_IO_ERR; bitmap_zero(&read_bitmap, nr_secs); rqd = pblk_alloc_rqd(pblk, READ); if (IS_ERR(rqd)) { pr_err_ratelimited("pblk: not able to alloc rqd"); return NVM_IO_ERR; } rqd->opcode = NVM_OP_PREAD; rqd->bio = bio; rqd->nr_ppas = nr_secs; rqd->private = pblk; rqd->end_io = pblk_end_io_read; /* Save the index for this bio's start. This is needed in case * we need to fill a partial read. */ bio_init_idx = pblk_get_bi_idx(bio); |
63e3809cf lightnvm: pblk: s... |
339 340 341 342 343 344 345 |
rqd->meta_list = nvm_dev_dma_alloc(dev->parent, GFP_KERNEL, &rqd->dma_meta_list); if (!rqd->meta_list) { pr_err("pblk: not able to allocate ppa list "); goto fail_rqd_free; } |
a4bd217b4 lightnvm: physica... |
346 |
if (nr_secs > 1) { |
63e3809cf lightnvm: pblk: s... |
347 348 |
rqd->ppa_list = rqd->meta_list + pblk_dma_meta_size; rqd->dma_ppa_list = rqd->dma_meta_list + pblk_dma_meta_size; |
a4bd217b4 lightnvm: physica... |
349 350 351 352 353 354 355 356 357 |
pblk_read_ppalist_rq(pblk, rqd, &read_bitmap); } else { pblk_read_rq(pblk, rqd, &read_bitmap); } bio_get(bio); if (bitmap_full(&read_bitmap, nr_secs)) { bio_endio(bio); |
588726d3e lightnvm: pblk: f... |
358 |
atomic_inc(&pblk->inflight_io); |
a4bd217b4 lightnvm: physica... |
359 360 361 362 363 364 365 |
pblk_end_io_read(rqd); return NVM_IO_OK; } /* All sectors are to be read from the device */ if (bitmap_empty(&read_bitmap, rqd->nr_ppas)) { struct bio *int_bio = NULL; |
084ec9ba0 lightnvm: pblk: r... |
366 |
struct pblk_g_ctx *r_ctx = nvm_rq_to_pdu(rqd); |
a4bd217b4 lightnvm: physica... |
367 368 |
/* Clone read bio to deal with read errors internally */ |
b25d52379 lightnvm/pblk-rea... |
369 |
int_bio = bio_clone_fast(bio, GFP_KERNEL, pblk_bio_set); |
a4bd217b4 lightnvm: physica... |
370 371 372 373 374 375 376 |
if (!int_bio) { pr_err("pblk: could not clone read bio "); return NVM_IO_ERR; } rqd->bio = int_bio; |
084ec9ba0 lightnvm: pblk: r... |
377 |
r_ctx->private = bio; |
a4bd217b4 lightnvm: physica... |
378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 |
ret = pblk_submit_read_io(pblk, rqd); if (ret) { pr_err("pblk: read IO submission failed "); if (int_bio) bio_put(int_bio); return ret; } return NVM_IO_OK; } /* The read bio request could be partially filled by the write buffer, * but there are some holes that need to be read from the drive. */ ret = pblk_fill_partial_read_bio(pblk, rqd, bio_init_idx, &read_bitmap); if (ret) { pr_err("pblk: failed to perform partial read "); return ret; } return NVM_IO_OK; fail_rqd_free: pblk_free_rqd(pblk, rqd, READ); return ret; } static int read_ppalist_rq_gc(struct pblk *pblk, struct nvm_rq *rqd, struct pblk_line *line, u64 *lba_list, unsigned int nr_secs) { struct ppa_addr ppas[PBLK_MAX_REQ_ADDRS]; int valid_secs = 0; int i; pblk_lookup_l2p_rand(pblk, ppas, lba_list, nr_secs); for (i = 0; i < nr_secs; i++) { if (pblk_addr_in_cache(ppas[i]) || ppas[i].g.blk != line->id || pblk_ppa_empty(ppas[i])) { lba_list[i] = ADDR_EMPTY; continue; } rqd->ppa_list[valid_secs++] = ppas[i]; } #ifdef CONFIG_NVM_DEBUG atomic_long_add(valid_secs, &pblk->inflight_reads); #endif return valid_secs; } static int read_rq_gc(struct pblk *pblk, struct nvm_rq *rqd, struct pblk_line *line, sector_t lba) { struct ppa_addr ppa; int valid_secs = 0; |
659226eb6 lightnvm: don't p... |
439 440 |
if (lba == ADDR_EMPTY) goto out; |
a4bd217b4 lightnvm: physica... |
441 |
/* logic error: lba out-of-bounds */ |
2a79efd83 lightnvm: fix som... |
442 443 444 |
if (lba >= pblk->rl.nr_secs) { WARN(1, "pblk: read lba out of bounds "); |
a4bd217b4 lightnvm: physica... |
445 446 |
goto out; } |
a4bd217b4 lightnvm: physica... |
447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 |
spin_lock(&pblk->trans_lock); ppa = pblk_trans_map_get(pblk, lba); spin_unlock(&pblk->trans_lock); /* Ignore updated values until the moment */ if (pblk_addr_in_cache(ppa) || ppa.g.blk != line->id || pblk_ppa_empty(ppa)) goto out; rqd->ppa_addr = ppa; valid_secs = 1; #ifdef CONFIG_NVM_DEBUG atomic_long_inc(&pblk->inflight_reads); #endif out: return valid_secs; } int pblk_submit_read_gc(struct pblk *pblk, u64 *lba_list, void *data, unsigned int nr_secs, unsigned int *secs_to_gc, struct pblk_line *line) { struct nvm_tgt_dev *dev = pblk->dev; struct nvm_geo *geo = &dev->geo; |
a4bd217b4 lightnvm: physica... |
473 474 475 476 477 478 |
struct bio *bio; struct nvm_rq rqd; int ret, data_len; DECLARE_COMPLETION_ONSTACK(wait); memset(&rqd, 0, sizeof(struct nvm_rq)); |
63e3809cf lightnvm: pblk: s... |
479 480 481 482 |
rqd.meta_list = nvm_dev_dma_alloc(dev->parent, GFP_KERNEL, &rqd.dma_meta_list); if (!rqd.meta_list) return NVM_IO_ERR; |
a4bd217b4 lightnvm: physica... |
483 |
if (nr_secs > 1) { |
63e3809cf lightnvm: pblk: s... |
484 485 |
rqd.ppa_list = rqd.meta_list + pblk_dma_meta_size; rqd.dma_ppa_list = rqd.dma_meta_list + pblk_dma_meta_size; |
a4bd217b4 lightnvm: physica... |
486 487 488 |
*secs_to_gc = read_ppalist_rq_gc(pblk, &rqd, line, lba_list, nr_secs); |
63e3809cf lightnvm: pblk: s... |
489 490 |
if (*secs_to_gc == 1) rqd.ppa_addr = rqd.ppa_list[0]; |
a4bd217b4 lightnvm: physica... |
491 492 493 494 495 496 497 498 |
} else { *secs_to_gc = read_rq_gc(pblk, &rqd, line, lba_list[0]); } if (!(*secs_to_gc)) goto out; data_len = (*secs_to_gc) * geo->sec_size; |
de54e703a lightnvm: pblk: u... |
499 |
bio = pblk_bio_map_addr(pblk, data, *secs_to_gc, data_len, |
8594a9a79 lightnvm: pblk: u... |
500 |
PBLK_VMALLOC_META, GFP_KERNEL); |
a4bd217b4 lightnvm: physica... |
501 502 503 504 505 506 507 508 509 510 511 512 513 |
if (IS_ERR(bio)) { pr_err("pblk: could not allocate GC bio (%lu) ", PTR_ERR(bio)); goto err_free_dma; } bio->bi_iter.bi_sector = 0; /* internal bio */ bio_set_op_attrs(bio, REQ_OP_READ, 0); rqd.opcode = NVM_OP_PREAD; rqd.end_io = pblk_end_io_sync; rqd.private = &wait; rqd.nr_ppas = *secs_to_gc; |
f9c101523 lightnvm: pblk: i... |
514 |
rqd.flags = pblk_set_read_mode(pblk, PBLK_READ_RANDOM); |
a4bd217b4 lightnvm: physica... |
515 516 517 518 519 520 521 |
rqd.bio = bio; ret = pblk_submit_read_io(pblk, &rqd); if (ret) { bio_endio(bio); pr_err("pblk: GC read request failed "); |
8594a9a79 lightnvm: pblk: u... |
522 |
goto err_free_bio; |
a4bd217b4 lightnvm: physica... |
523 524 525 526 527 528 529 |
} if (!wait_for_completion_io_timeout(&wait, msecs_to_jiffies(PBLK_COMMAND_TIMEOUT_MS))) { pr_err("pblk: GC read I/O timed out "); } |
588726d3e lightnvm: pblk: f... |
530 |
atomic_dec(&pblk->inflight_io); |
a4bd217b4 lightnvm: physica... |
531 532 533 534 535 536 537 538 539 540 541 542 543 |
if (rqd.error) { atomic_long_inc(&pblk->read_failed_gc); #ifdef CONFIG_NVM_DEBUG pblk_print_failed_rqd(pblk, &rqd, rqd.error); #endif } #ifdef CONFIG_NVM_DEBUG atomic_long_add(*secs_to_gc, &pblk->sync_reads); atomic_long_add(*secs_to_gc, &pblk->recov_gc_reads); atomic_long_sub(*secs_to_gc, &pblk->inflight_reads); #endif |
8594a9a79 lightnvm: pblk: u... |
544 |
bio_put(bio); |
a4bd217b4 lightnvm: physica... |
545 |
out: |
63e3809cf lightnvm: pblk: s... |
546 |
nvm_dev_dma_free(dev->parent, rqd.meta_list, rqd.dma_meta_list); |
a4bd217b4 lightnvm: physica... |
547 |
return NVM_IO_OK; |
8594a9a79 lightnvm: pblk: u... |
548 549 |
err_free_bio: bio_put(bio); |
a4bd217b4 lightnvm: physica... |
550 |
err_free_dma: |
63e3809cf lightnvm: pblk: s... |
551 |
nvm_dev_dma_free(dev->parent, rqd.meta_list, rqd.dma_meta_list); |
a4bd217b4 lightnvm: physica... |
552 553 |
return NVM_IO_ERR; } |