zdb_il.c revision 3589c4f01c20349ca65899d209cdc0c17a641433
0N/A * The contents of this file are subject to the terms of the 0N/A * Common Development and Distribution License (the "License"). 0N/A * You may not use this file except in compliance with the License. 0N/A * See the License for the specific language governing permissions 0N/A * and limitations under the License. 0N/A * When distributing Covered Code, include this CDDL HEADER in each 0N/A * If applicable, add the following below this CDDL HEADER, with the 0N/A * fields enclosed by brackets "[]" replaced with your own identifying 0N/A * information: Portions Copyright [yyyy] [name of copyright owner] 0N/A * Copyright 2009 Sun Microsystems, Inc. All rights reserved. 0N/A * Use is subject to license terms. 0N/A * Print intent log header and statistics. char *
name = (
char *)(
lr +
1);
(
void)
printf(
"\t\t\tdoid %llu, foid %llu, mode %llo\n",
(
void)
printf(
"\t\t\tuid %llu, gid %llu, gen %llu, rdev 0x%llx\n",
(
void)
printf(
"\t\t\tdoid %llu, name %s\n",
(
void)
printf(
"\t\t\tdoid %llu, link_obj %llu, name %s\n",
char *
snm = (
char *)(
lr +
1);
(
void)
printf(
"\t\t\tsdoid %llu, tdoid %llu\n",
(
void)
printf(
"\t\t\tfoid %llu, offset 0x%llx," " length 0x%llx, blkoff 0x%llx\n",
(
void)
printf(
"\t\t\thas blkptr, %s\n",
"will claim" :
"won't claim");
(
void)
printf(
"\t\t\tfoid %llu, offset 0x%llx, length 0x%llx\n",
(
void)
printf(
"\t\t\tfoid %llu, mask 0x%llx\n",
(
void)
printf(
"\t\t\tAT_MODE %llo\n",
(
void)
printf(
"\t\t\tAT_UID %llu\n",
(
void)
printf(
"\t\t\tAT_GID %llu\n",
(
void)
printf(
"\t\t\tAT_SIZE %llu\n",
(
void)
printf(
"\t\t\tAT_ATIME %llu.%09llu %s",
(
void)
printf(
"\t\t\tAT_MTIME %llu.%09llu %s",
(
void)
printf(
"\t\t\tfoid %llu, aclcnt %llu\n",
/* reduce size of txtype to strip off TX_CI bit */ (
void)
printf(
"\t\t%s%s len %6llu, txg %llu, seq %llu\n",
claim =
"already claimed";
(
void)
printf(
"\tBlock seqno %llu, %s%s\n",
(
void)
printf(
"\t\t%s %*llu\n",
(
void)
printf(
"\n ZIL header: claim_txg %llu, claim_seq %llu",
(
void)
printf(
" replay_seq %llu, flags 0x%llx\n",