zdb_il.c (260150) | zdb_il.c (268123) |
---|---|
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 --- 10 unchanged lines hidden (view full) --- 19 * CDDL HEADER END 20 */ 21/* 22 * Copyright 2009 Sun Microsystems, Inc. All rights reserved. 23 * Use is subject to license terms. 24 */ 25 26/* | 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 --- 10 unchanged lines hidden (view full) --- 19 * CDDL HEADER END 20 */ 21/* 22 * Copyright 2009 Sun Microsystems, Inc. All rights reserved. 23 * Use is subject to license terms. 24 */ 25 26/* |
27 * Copyright (c) 2013 by Delphix. All rights reserved. | 27 * Copyright (c) 2013, 2014 by Delphix. All rights reserved. |
28 */ 29 30/* 31 * Print intent log header and statistics. 32 */ 33 34#include <stdio.h> 35#include <stdlib.h> --- 81 unchanged lines hidden (view full) --- 117} 118 119/* ARGSUSED */ 120static void 121zil_prt_rec_write(zilog_t *zilog, int txtype, lr_write_t *lr) 122{ 123 char *data, *dlimit; 124 blkptr_t *bp = &lr->lr_blkptr; | 28 */ 29 30/* 31 * Print intent log header and statistics. 32 */ 33 34#include <stdio.h> 35#include <stdlib.h> --- 81 unchanged lines hidden (view full) --- 117} 118 119/* ARGSUSED */ 120static void 121zil_prt_rec_write(zilog_t *zilog, int txtype, lr_write_t *lr) 122{ 123 char *data, *dlimit; 124 blkptr_t *bp = &lr->lr_blkptr; |
125 zbookmark_t zb; | 125 zbookmark_phys_t zb; |
126 char buf[SPA_MAXBLOCKSIZE]; 127 int verbose = MAX(dump_opt['d'], dump_opt['i']); 128 int error; 129 130 (void) printf("%sfoid %llu, offset %llx, length %llx\n", prefix, 131 (u_longlong_t)lr->lr_foid, (u_longlong_t)lr->lr_offset, 132 (u_longlong_t)lr->lr_length); 133 --- 255 unchanged lines hidden --- | 126 char buf[SPA_MAXBLOCKSIZE]; 127 int verbose = MAX(dump_opt['d'], dump_opt['i']); 128 int error; 129 130 (void) printf("%sfoid %llu, offset %llx, length %llx\n", prefix, 131 (u_longlong_t)lr->lr_foid, (u_longlong_t)lr->lr_offset, 132 (u_longlong_t)lr->lr_length); 133 --- 255 unchanged lines hidden --- |