Deleted Added
full compact
dmu_traverse.c (286551) dmu_traverse.c (286575)
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

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

529 td.td_hole_birth_enabled_txg = 0;
530 }
531
532 pd.pd_flags = flags;
533 mutex_init(&pd.pd_mtx, NULL, MUTEX_DEFAULT, NULL);
534 cv_init(&pd.pd_cv, NULL, CV_DEFAULT, NULL);
535
536 /* See comment on ZIL traversal in dsl_scan_visitds. */
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

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

529 td.td_hole_birth_enabled_txg = 0;
530 }
531
532 pd.pd_flags = flags;
533 mutex_init(&pd.pd_mtx, NULL, MUTEX_DEFAULT, NULL);
534 cv_init(&pd.pd_cv, NULL, CV_DEFAULT, NULL);
535
536 /* See comment on ZIL traversal in dsl_scan_visitds. */
537 if (ds != NULL && !dsl_dataset_is_snapshot(ds) && !BP_IS_HOLE(rootbp)) {
537 if (ds != NULL && !ds->ds_is_snapshot && !BP_IS_HOLE(rootbp)) {
538 arc_flags_t flags = ARC_FLAG_WAIT;
539 objset_phys_t *osp;
540 arc_buf_t *buf;
541
542 err = arc_read(NULL, td.td_spa, rootbp,
543 arc_getbuf_func, &buf,
544 ZIO_PRIORITY_ASYNC_READ, ZIO_FLAG_CANFAIL, &flags, NULL);
545 if (err != 0)

--- 105 unchanged lines hidden ---
538 arc_flags_t flags = ARC_FLAG_WAIT;
539 objset_phys_t *osp;
540 arc_buf_t *buf;
541
542 err = arc_read(NULL, td.td_spa, rootbp,
543 arc_getbuf_func, &buf,
544 ZIO_PRIORITY_ASYNC_READ, ZIO_FLAG_CANFAIL, &flags, NULL);
545 if (err != 0)

--- 105 unchanged lines hidden ---