dmu_traverse.c (240133) | dmu_traverse.c (240415) |
---|---|
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 --- 162 unchanged lines hidden (view full) --- 171 } 172 return (RESUME_SKIP_NONE); 173} 174 175static void 176traverse_pause(traverse_data_t *td, const zbookmark_t *zb) 177{ 178 ASSERT(td->td_resume != NULL); | 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 --- 162 unchanged lines hidden (view full) --- 171 } 172 return (RESUME_SKIP_NONE); 173} 174 175static void 176traverse_pause(traverse_data_t *td, const zbookmark_t *zb) 177{ 178 ASSERT(td->td_resume != NULL); |
179 ASSERT3U(zb->zb_level, ==, 0); | 179 ASSERT0(zb->zb_level); |
180 bcopy(zb, td->td_resume, sizeof (*td->td_resume)); 181} 182 183static void 184traverse_prefetch_metadata(traverse_data_t *td, 185 arc_buf_t *pbuf, const blkptr_t *bp, const zbookmark_t *zb) 186{ 187 uint32_t flags = ARC_NOWAIT | ARC_PREFETCH; --- 451 unchanged lines hidden --- | 180 bcopy(zb, td->td_resume, sizeof (*td->td_resume)); 181} 182 183static void 184traverse_prefetch_metadata(traverse_data_t *td, 185 arc_buf_t *pbuf, const blkptr_t *bp, const zbookmark_t *zb) 186{ 187 uint32_t flags = ARC_NOWAIT | ARC_PREFETCH; --- 451 unchanged lines hidden --- |