Print this page


Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/zdb/zdb_il.c
          +++ new/usr/src/cmd/zdb/zdb_il.c
↓ open down ↓ 11 lines elided ↑ open up ↑
  12   12   *
  13   13   * When distributing Covered Code, include this CDDL HEADER in each
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22      - * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
       22 + * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  23   23   * Use is subject to license terms.
  24   24   */
  25   25  
  26      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  27      -
  28   26  /*
  29   27   * Print intent log header and statistics.
  30   28   */
  31   29  
  32   30  #include <stdio.h>
  33   31  #include <stdlib.h>
  34   32  #include <ctype.h>
  35   33  #include <sys/zfs_context.h>
  36   34  #include <sys/spa.h>
  37   35  #include <sys/dmu.h>
↓ open down ↓ 312 lines elided ↑ open up ↑
 350  348  
 351  349          if (verbose >= 4)
 352  350                  print_log_bp(&zh->zh_log, "\n\tfirst block: ");
 353  351  
 354  352          for (i = 0; i < TX_MAX_TYPE; i++)
 355  353                  zil_rec_info[i].zri_count = 0;
 356  354  
 357  355          if (verbose >= 2) {
 358  356                  (void) printf("\n");
 359  357                  (void) zil_parse(zilog, print_log_block, print_log_record, NULL,
 360      -                    zh->zh_claim_txg);
      358 +                    zh->zh_claim_txg, 0);
 361  359                  print_log_stats(verbose);
 362  360          }
 363  361  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX