Deleted Added
full compact
spa.c (245945) spa.c (246666)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 1767 unchanged lines hidden (view full) ---

1776 atomic_add_64(&sle->sle_data_count, 1);
1777 }
1778 zio_data_buf_free(zio->io_data, zio->io_size);
1779}
1780
1781/*ARGSUSED*/
1782static int
1783spa_load_verify_cb(spa_t *spa, zilog_t *zilog, const blkptr_t *bp,
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 1767 unchanged lines hidden (view full) ---

1776 atomic_add_64(&sle->sle_data_count, 1);
1777 }
1778 zio_data_buf_free(zio->io_data, zio->io_size);
1779}
1780
1781/*ARGSUSED*/
1782static int
1783spa_load_verify_cb(spa_t *spa, zilog_t *zilog, const blkptr_t *bp,
1784 arc_buf_t *pbuf, const zbookmark_t *zb, const dnode_phys_t *dnp, void *arg)
1784 const zbookmark_t *zb, const dnode_phys_t *dnp, void *arg)
1785{
1786 if (bp != NULL) {
1787 zio_t *rio = arg;
1788 size_t size = BP_GET_PSIZE(bp);
1789 void *data = zio_data_buf_alloc(size);
1790
1791 zio_nowait(zio_read(rio, spa, bp, data, size,
1792 spa_load_verify_done, rio->io_private, ZIO_PRIORITY_SCRUB,

--- 4853 unchanged lines hidden ---
1785{
1786 if (bp != NULL) {
1787 zio_t *rio = arg;
1788 size_t size = BP_GET_PSIZE(bp);
1789 void *data = zio_data_buf_alloc(size);
1790
1791 zio_nowait(zio_read(rio, spa, bp, data, size,
1792 spa_load_verify_done, rio->io_private, ZIO_PRIORITY_SCRUB,

--- 4853 unchanged lines hidden ---