Deleted Added
full compact
zdb.c (277585) zdb.c (277586)
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

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

1179 int err = 0;
1180
1181 if (bp->blk_birth == 0)
1182 return (0);
1183
1184 print_indirect(bp, zb, dnp);
1185
1186 if (BP_GET_LEVEL(bp) > 0 && !BP_IS_HOLE(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

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

1179 int err = 0;
1180
1181 if (bp->blk_birth == 0)
1182 return (0);
1183
1184 print_indirect(bp, zb, dnp);
1185
1186 if (BP_GET_LEVEL(bp) > 0 && !BP_IS_HOLE(bp)) {
1187 uint32_t flags = ARC_WAIT;
1187 arc_flags_t flags = ARC_FLAG_WAIT;
1188 int i;
1189 blkptr_t *cbp;
1190 int epb = BP_GET_LSIZE(bp) >> SPA_BLKPTRSHIFT;
1191 arc_buf_t *buf;
1192 uint64_t fill = 0;
1193
1194 err = arc_read(NULL, spa, bp, arc_getbuf_func, &buf,
1195 ZIO_PRIORITY_ASYNC_READ, ZIO_FLAG_CANFAIL, &flags, zb);

--- 2512 unchanged lines hidden ---
1188 int i;
1189 blkptr_t *cbp;
1190 int epb = BP_GET_LSIZE(bp) >> SPA_BLKPTRSHIFT;
1191 arc_buf_t *buf;
1192 uint64_t fill = 0;
1193
1194 err = arc_read(NULL, spa, bp, arc_getbuf_func, &buf,
1195 ZIO_PRIORITY_ASYNC_READ, ZIO_FLAG_CANFAIL, &flags, zb);

--- 2512 unchanged lines hidden ---