equal
deleted
inserted
replaced
165 zb.zb_level = -1; |
165 zb.zb_level = -1; |
166 zb.zb_blkid = bp->blk_cksum.zc_word[ZIL_ZC_SEQ]; |
166 zb.zb_blkid = bp->blk_cksum.zc_word[ZIL_ZC_SEQ]; |
167 |
167 |
168 *abufpp = NULL; |
168 *abufpp = NULL; |
169 |
169 |
170 error = arc_read(NULL, zilog->zl_spa, &blk, byteswap_uint64_array, |
170 /* |
|
171 * We shouldn't be doing any scrubbing while we're doing log |
|
172 * replay, it's OK to not lock. |
|
173 */ |
|
174 error = arc_read_nolock(NULL, zilog->zl_spa, &blk, |
171 arc_getbuf_func, abufpp, ZIO_PRIORITY_SYNC_READ, ZIO_FLAG_CANFAIL | |
175 arc_getbuf_func, abufpp, ZIO_PRIORITY_SYNC_READ, ZIO_FLAG_CANFAIL | |
172 ZIO_FLAG_SPECULATIVE | ZIO_FLAG_SCRUB, &aflags, &zb); |
176 ZIO_FLAG_SPECULATIVE | ZIO_FLAG_SCRUB, &aflags, &zb); |
173 |
177 |
174 if (error == 0) { |
178 if (error == 0) { |
175 char *data = (*abufpp)->b_data; |
179 char *data = (*abufpp)->b_data; |