1fa9e4066Sahrens /* 2fa9e4066Sahrens * CDDL HEADER START 3fa9e4066Sahrens * 4fa9e4066Sahrens * The contents of this file are subject to the terms of the 5ea8dc4b6Seschrock * Common Development and Distribution License (the "License"). 6ea8dc4b6Seschrock * You may not use this file except in compliance with the License. 7fa9e4066Sahrens * 8fa9e4066Sahrens * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9fa9e4066Sahrens * or http://www.opensolaris.org/os/licensing. 10fa9e4066Sahrens * See the License for the specific language governing permissions 11fa9e4066Sahrens * and limitations under the License. 12fa9e4066Sahrens * 13fa9e4066Sahrens * When distributing Covered Code, include this CDDL HEADER in each 14fa9e4066Sahrens * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15fa9e4066Sahrens * If applicable, add the following below this CDDL HEADER, with the 16fa9e4066Sahrens * fields enclosed by brackets "[]" replaced with your own identifying 17fa9e4066Sahrens * information: Portions Copyright [yyyy] [name of copyright owner] 18fa9e4066Sahrens * 19fa9e4066Sahrens * CDDL HEADER END 20fa9e4066Sahrens */ 21fa9e4066Sahrens /* 223589c4f0SNeil Perrin * Copyright 2009 Sun Microsystems, Inc. All rights reserved. 23fa9e4066Sahrens * Use is subject to license terms. 24fa9e4066Sahrens */ 25fa9e4066Sahrens 26fa9e4066Sahrens /* 27fa9e4066Sahrens * Print intent log header and statistics. 28fa9e4066Sahrens */ 29fa9e4066Sahrens 30fa9e4066Sahrens #include <stdio.h> 31fa9e4066Sahrens #include <stdlib.h> 32fa9e4066Sahrens #include <ctype.h> 33fa9e4066Sahrens #include <sys/zfs_context.h> 34fa9e4066Sahrens #include <sys/spa.h> 35fa9e4066Sahrens #include <sys/dmu.h> 36fa9e4066Sahrens #include <sys/stat.h> 37fa9e4066Sahrens #include <sys/resource.h> 38fa9e4066Sahrens #include <sys/zil.h> 39fa9e4066Sahrens #include <sys/zil_impl.h> 40fa9e4066Sahrens 41fa9e4066Sahrens extern uint8_t dump_opt[256]; 42fa9e4066Sahrens 43*b24ab676SJeff Bonwick static char prefix[4] = "\t\t\t"; 44*b24ab676SJeff Bonwick 45fa9e4066Sahrens static void 46d80c45e0Sbonwick print_log_bp(const blkptr_t *bp, const char *prefix) 47fa9e4066Sahrens { 48fbabab8fSmaybee char blkbuf[BP_SPRINTF_LEN]; 49fa9e4066Sahrens 50*b24ab676SJeff Bonwick sprintf_blkptr(blkbuf, bp); 51fa9e4066Sahrens (void) printf("%s%s\n", prefix, blkbuf); 52fa9e4066Sahrens } 53fa9e4066Sahrens 54fa9e4066Sahrens /* ARGSUSED */ 55fa9e4066Sahrens static void 56fa9e4066Sahrens zil_prt_rec_create(zilog_t *zilog, int txtype, lr_create_t *lr) 57fa9e4066Sahrens { 58fa9e4066Sahrens time_t crtime = lr->lr_crtime[0]; 59fa9e4066Sahrens char *name = (char *)(lr + 1); 60fa9e4066Sahrens char *link = name + strlen(name) + 1; 61fa9e4066Sahrens 62fa9e4066Sahrens if (txtype == TX_SYMLINK) 63*b24ab676SJeff Bonwick (void) printf("%s%s -> %s\n", prefix, name, link); 64fa9e4066Sahrens else 65*b24ab676SJeff Bonwick (void) printf("%s%s\n", prefix, name); 66fa9e4066Sahrens 67*b24ab676SJeff Bonwick (void) printf("%s%s", prefix, ctime(&crtime)); 68*b24ab676SJeff Bonwick (void) printf("%sdoid %llu, foid %llu, mode %llo\n", prefix, 69fa9e4066Sahrens (u_longlong_t)lr->lr_doid, (u_longlong_t)lr->lr_foid, 70fa9e4066Sahrens (longlong_t)lr->lr_mode); 71*b24ab676SJeff Bonwick (void) printf("%suid %llu, gid %llu, gen %llu, rdev 0x%llx\n", prefix, 72fa9e4066Sahrens (u_longlong_t)lr->lr_uid, (u_longlong_t)lr->lr_gid, 73fa9e4066Sahrens (u_longlong_t)lr->lr_gen, (u_longlong_t)lr->lr_rdev); 74fa9e4066Sahrens } 75fa9e4066Sahrens 76fa9e4066Sahrens /* ARGSUSED */ 77fa9e4066Sahrens static void 78fa9e4066Sahrens zil_prt_rec_remove(zilog_t *zilog, int txtype, lr_remove_t *lr) 79fa9e4066Sahrens { 80*b24ab676SJeff Bonwick (void) printf("%sdoid %llu, name %s\n", prefix, 81fa9e4066Sahrens (u_longlong_t)lr->lr_doid, (char *)(lr + 1)); 82fa9e4066Sahrens } 83fa9e4066Sahrens 84fa9e4066Sahrens /* ARGSUSED */ 85fa9e4066Sahrens static void 86fa9e4066Sahrens zil_prt_rec_link(zilog_t *zilog, int txtype, lr_link_t *lr) 87fa9e4066Sahrens { 88*b24ab676SJeff Bonwick (void) printf("%sdoid %llu, link_obj %llu, name %s\n", prefix, 89fa9e4066Sahrens (u_longlong_t)lr->lr_doid, (u_longlong_t)lr->lr_link_obj, 90fa9e4066Sahrens (char *)(lr + 1)); 91fa9e4066Sahrens } 92fa9e4066Sahrens 93fa9e4066Sahrens /* ARGSUSED */ 94fa9e4066Sahrens static void 95fa9e4066Sahrens zil_prt_rec_rename(zilog_t *zilog, int txtype, lr_rename_t *lr) 96fa9e4066Sahrens { 97fa9e4066Sahrens char *snm = (char *)(lr + 1); 98fa9e4066Sahrens char *tnm = snm + strlen(snm) + 1; 99fa9e4066Sahrens 100*b24ab676SJeff Bonwick (void) printf("%ssdoid %llu, tdoid %llu\n", prefix, 101fa9e4066Sahrens (u_longlong_t)lr->lr_sdoid, (u_longlong_t)lr->lr_tdoid); 102*b24ab676SJeff Bonwick (void) printf("%ssrc %s tgt %s\n", prefix, snm, tnm); 103fa9e4066Sahrens } 104fa9e4066Sahrens 105fa9e4066Sahrens /* ARGSUSED */ 106fa9e4066Sahrens static void 107fa9e4066Sahrens zil_prt_rec_write(zilog_t *zilog, int txtype, lr_write_t *lr) 108fa9e4066Sahrens { 109fa9e4066Sahrens char *data, *dlimit; 110fa9e4066Sahrens blkptr_t *bp = &lr->lr_blkptr; 111*b24ab676SJeff Bonwick zbookmark_t zb; 112fa9e4066Sahrens char buf[SPA_MAXBLOCKSIZE]; 113fa9e4066Sahrens int verbose = MAX(dump_opt['d'], dump_opt['i']); 114fa9e4066Sahrens int error; 115fa9e4066Sahrens 116*b24ab676SJeff Bonwick (void) printf("%sfoid %llu, offset %llx, length %llx\n", prefix, 117*b24ab676SJeff Bonwick (u_longlong_t)lr->lr_foid, (u_longlong_t)lr->lr_offset, 118*b24ab676SJeff Bonwick (u_longlong_t)lr->lr_length); 119fa9e4066Sahrens 120975c32a0SNeil Perrin if (txtype == TX_WRITE2 || verbose < 5) 121fa9e4066Sahrens return; 122fa9e4066Sahrens 123fa9e4066Sahrens if (lr->lr_common.lrc_reclen == sizeof (lr_write_t)) { 124*b24ab676SJeff Bonwick (void) printf("%shas blkptr, %s\n", prefix, 125fa9e4066Sahrens bp->blk_birth >= spa_first_txg(zilog->zl_spa) ? 126fa9e4066Sahrens "will claim" : "won't claim"); 127*b24ab676SJeff Bonwick print_log_bp(bp, prefix); 128*b24ab676SJeff Bonwick 129975c32a0SNeil Perrin if (BP_IS_HOLE(bp)) { 130975c32a0SNeil Perrin (void) printf("\t\t\tLSIZE 0x%llx\n", 131975c32a0SNeil Perrin (u_longlong_t)BP_GET_LSIZE(bp)); 132975c32a0SNeil Perrin } 133fa9e4066Sahrens if (bp->blk_birth == 0) { 134fa9e4066Sahrens bzero(buf, sizeof (buf)); 135*b24ab676SJeff Bonwick (void) printf("%s<hole>\n", prefix); 136*b24ab676SJeff Bonwick return; 137*b24ab676SJeff Bonwick } 138*b24ab676SJeff Bonwick if (bp->blk_birth < zilog->zl_header->zh_claim_txg) { 139*b24ab676SJeff Bonwick (void) printf("%s<block already committed>\n", prefix); 140*b24ab676SJeff Bonwick return; 141*b24ab676SJeff Bonwick } 142ea8dc4b6Seschrock 143*b24ab676SJeff Bonwick SET_BOOKMARK(&zb, dmu_objset_id(zilog->zl_os), 144*b24ab676SJeff Bonwick lr->lr_foid, ZB_ZIL_LEVEL, 145*b24ab676SJeff Bonwick lr->lr_offset / BP_GET_LSIZE(bp)); 146ea8dc4b6Seschrock 147fa9e4066Sahrens error = zio_wait(zio_read(NULL, zilog->zl_spa, 148fa9e4066Sahrens bp, buf, BP_GET_LSIZE(bp), NULL, NULL, 149ea8dc4b6Seschrock ZIO_PRIORITY_SYNC_READ, ZIO_FLAG_CANFAIL, &zb)); 150fa9e4066Sahrens if (error) 151fa9e4066Sahrens return; 152*b24ab676SJeff Bonwick data = buf; 153fa9e4066Sahrens } else { 154fa9e4066Sahrens data = (char *)(lr + 1); 155fa9e4066Sahrens } 156fa9e4066Sahrens 157fa9e4066Sahrens dlimit = data + MIN(lr->lr_length, 158fa9e4066Sahrens (verbose < 6 ? 20 : SPA_MAXBLOCKSIZE)); 159fa9e4066Sahrens 160*b24ab676SJeff Bonwick (void) printf("%s", prefix); 161fa9e4066Sahrens while (data < dlimit) { 162fa9e4066Sahrens if (isprint(*data)) 163fa9e4066Sahrens (void) printf("%c ", *data); 164fa9e4066Sahrens else 165fa9e4066Sahrens (void) printf("%2X", *data); 166fa9e4066Sahrens data++; 167fa9e4066Sahrens } 168fa9e4066Sahrens (void) printf("\n"); 169fa9e4066Sahrens } 170fa9e4066Sahrens 171fa9e4066Sahrens /* ARGSUSED */ 172fa9e4066Sahrens static void 173fa9e4066Sahrens zil_prt_rec_truncate(zilog_t *zilog, int txtype, lr_truncate_t *lr) 174fa9e4066Sahrens { 175*b24ab676SJeff Bonwick (void) printf("%sfoid %llu, offset 0x%llx, length 0x%llx\n", prefix, 176fa9e4066Sahrens (u_longlong_t)lr->lr_foid, (longlong_t)lr->lr_offset, 177fa9e4066Sahrens (u_longlong_t)lr->lr_length); 178fa9e4066Sahrens } 179fa9e4066Sahrens 180fa9e4066Sahrens /* ARGSUSED */ 181fa9e4066Sahrens static void 182fa9e4066Sahrens zil_prt_rec_setattr(zilog_t *zilog, int txtype, lr_setattr_t *lr) 183fa9e4066Sahrens { 184fa9e4066Sahrens time_t atime = (time_t)lr->lr_atime[0]; 185fa9e4066Sahrens time_t mtime = (time_t)lr->lr_mtime[0]; 186fa9e4066Sahrens 187*b24ab676SJeff Bonwick (void) printf("%sfoid %llu, mask 0x%llx\n", prefix, 188fa9e4066Sahrens (u_longlong_t)lr->lr_foid, (u_longlong_t)lr->lr_mask); 189fa9e4066Sahrens 190fa9e4066Sahrens if (lr->lr_mask & AT_MODE) { 191*b24ab676SJeff Bonwick (void) printf("%sAT_MODE %llo\n", prefix, 192fa9e4066Sahrens (longlong_t)lr->lr_mode); 193fa9e4066Sahrens } 194fa9e4066Sahrens 195fa9e4066Sahrens if (lr->lr_mask & AT_UID) { 196*b24ab676SJeff Bonwick (void) printf("%sAT_UID %llu\n", prefix, 197fa9e4066Sahrens (u_longlong_t)lr->lr_uid); 198fa9e4066Sahrens } 199fa9e4066Sahrens 200fa9e4066Sahrens if (lr->lr_mask & AT_GID) { 201*b24ab676SJeff Bonwick (void) printf("%sAT_GID %llu\n", prefix, 202fa9e4066Sahrens (u_longlong_t)lr->lr_gid); 203fa9e4066Sahrens } 204fa9e4066Sahrens 205fa9e4066Sahrens if (lr->lr_mask & AT_SIZE) { 206*b24ab676SJeff Bonwick (void) printf("%sAT_SIZE %llu\n", prefix, 207fa9e4066Sahrens (u_longlong_t)lr->lr_size); 208fa9e4066Sahrens } 209fa9e4066Sahrens 210fa9e4066Sahrens if (lr->lr_mask & AT_ATIME) { 211*b24ab676SJeff Bonwick (void) printf("%sAT_ATIME %llu.%09llu %s", prefix, 212fa9e4066Sahrens (u_longlong_t)lr->lr_atime[0], 213fa9e4066Sahrens (u_longlong_t)lr->lr_atime[1], 214fa9e4066Sahrens ctime(&atime)); 215fa9e4066Sahrens } 216fa9e4066Sahrens 217fa9e4066Sahrens if (lr->lr_mask & AT_MTIME) { 218*b24ab676SJeff Bonwick (void) printf("%sAT_MTIME %llu.%09llu %s", prefix, 219fa9e4066Sahrens (u_longlong_t)lr->lr_mtime[0], 220fa9e4066Sahrens (u_longlong_t)lr->lr_mtime[1], 221fa9e4066Sahrens ctime(&mtime)); 222fa9e4066Sahrens } 223fa9e4066Sahrens } 224fa9e4066Sahrens 225fa9e4066Sahrens /* ARGSUSED */ 226fa9e4066Sahrens static void 227fa9e4066Sahrens zil_prt_rec_acl(zilog_t *zilog, int txtype, lr_acl_t *lr) 228fa9e4066Sahrens { 229*b24ab676SJeff Bonwick (void) printf("%sfoid %llu, aclcnt %llu\n", prefix, 230fa9e4066Sahrens (u_longlong_t)lr->lr_foid, (u_longlong_t)lr->lr_aclcnt); 231fa9e4066Sahrens } 232fa9e4066Sahrens 233fa9e4066Sahrens typedef void (*zil_prt_rec_func_t)(); 234fa9e4066Sahrens typedef struct zil_rec_info { 235fa9e4066Sahrens zil_prt_rec_func_t zri_print; 236fa9e4066Sahrens char *zri_name; 237fa9e4066Sahrens uint64_t zri_count; 238fa9e4066Sahrens } zil_rec_info_t; 239fa9e4066Sahrens 240fa9e4066Sahrens static zil_rec_info_t zil_rec_info[TX_MAX_TYPE] = { 241fa9e4066Sahrens { NULL, "Total " }, 242fa9e4066Sahrens { zil_prt_rec_create, "TX_CREATE " }, 243fa9e4066Sahrens { zil_prt_rec_create, "TX_MKDIR " }, 244fa9e4066Sahrens { zil_prt_rec_create, "TX_MKXATTR " }, 245fa9e4066Sahrens { zil_prt_rec_create, "TX_SYMLINK " }, 246fa9e4066Sahrens { zil_prt_rec_remove, "TX_REMOVE " }, 247fa9e4066Sahrens { zil_prt_rec_remove, "TX_RMDIR " }, 248fa9e4066Sahrens { zil_prt_rec_link, "TX_LINK " }, 249fa9e4066Sahrens { zil_prt_rec_rename, "TX_RENAME " }, 250fa9e4066Sahrens { zil_prt_rec_write, "TX_WRITE " }, 251fa9e4066Sahrens { zil_prt_rec_truncate, "TX_TRUNCATE " }, 252fa9e4066Sahrens { zil_prt_rec_setattr, "TX_SETATTR " }, 253da6c28aaSamw { zil_prt_rec_acl, "TX_ACL_V0 " }, 254da6c28aaSamw { zil_prt_rec_acl, "TX_ACL_ACL " }, 255da6c28aaSamw { zil_prt_rec_create, "TX_CREATE_ACL " }, 256da6c28aaSamw { zil_prt_rec_create, "TX_CREATE_ATTR " }, 257da6c28aaSamw { zil_prt_rec_create, "TX_CREATE_ACL_ATTR " }, 258da6c28aaSamw { zil_prt_rec_create, "TX_MKDIR_ACL " }, 259da6c28aaSamw { zil_prt_rec_create, "TX_MKDIR_ATTR " }, 260da6c28aaSamw { zil_prt_rec_create, "TX_MKDIR_ACL_ATTR " }, 261975c32a0SNeil Perrin { zil_prt_rec_write, "TX_WRITE2 " }, 262fa9e4066Sahrens }; 263fa9e4066Sahrens 264fa9e4066Sahrens /* ARGSUSED */ 265*b24ab676SJeff Bonwick static int 2665dabedeeSbonwick print_log_record(zilog_t *zilog, lr_t *lr, void *arg, uint64_t claim_txg) 267fa9e4066Sahrens { 268fa9e4066Sahrens int txtype; 269fa9e4066Sahrens int verbose = MAX(dump_opt['d'], dump_opt['i']); 270fa9e4066Sahrens 271da6c28aaSamw /* reduce size of txtype to strip off TX_CI bit */ 272fa9e4066Sahrens txtype = lr->lrc_txtype; 273fa9e4066Sahrens 274fa9e4066Sahrens ASSERT(txtype != 0 && (uint_t)txtype < TX_MAX_TYPE); 275fa9e4066Sahrens ASSERT(lr->lrc_txg); 276fa9e4066Sahrens 277da6c28aaSamw (void) printf("\t\t%s%s len %6llu, txg %llu, seq %llu\n", 278da6c28aaSamw (lr->lrc_txtype & TX_CI) ? "CI-" : "", 279fa9e4066Sahrens zil_rec_info[txtype].zri_name, 280fa9e4066Sahrens (u_longlong_t)lr->lrc_reclen, 281fa9e4066Sahrens (u_longlong_t)lr->lrc_txg, 282fa9e4066Sahrens (u_longlong_t)lr->lrc_seq); 283fa9e4066Sahrens 284fa9e4066Sahrens if (txtype && verbose >= 3) 285fa9e4066Sahrens zil_rec_info[txtype].zri_print(zilog, txtype, lr); 286fa9e4066Sahrens 287fa9e4066Sahrens zil_rec_info[txtype].zri_count++; 288fa9e4066Sahrens zil_rec_info[0].zri_count++; 289*b24ab676SJeff Bonwick 290*b24ab676SJeff Bonwick return (0); 291fa9e4066Sahrens } 292fa9e4066Sahrens 293fa9e4066Sahrens /* ARGSUSED */ 294*b24ab676SJeff Bonwick static int 2955dabedeeSbonwick print_log_block(zilog_t *zilog, blkptr_t *bp, void *arg, uint64_t claim_txg) 296fa9e4066Sahrens { 297*b24ab676SJeff Bonwick char blkbuf[BP_SPRINTF_LEN + 10]; 298fa9e4066Sahrens int verbose = MAX(dump_opt['d'], dump_opt['i']); 2995dabedeeSbonwick char *claim; 300fa9e4066Sahrens 301fa9e4066Sahrens if (verbose <= 3) 302*b24ab676SJeff Bonwick return (0); 303fa9e4066Sahrens 304fa9e4066Sahrens if (verbose >= 5) { 305fa9e4066Sahrens (void) strcpy(blkbuf, ", "); 306*b24ab676SJeff Bonwick sprintf_blkptr(blkbuf + strlen(blkbuf), bp); 307fa9e4066Sahrens } else { 308fa9e4066Sahrens blkbuf[0] = '\0'; 309fa9e4066Sahrens } 310fa9e4066Sahrens 3115dabedeeSbonwick if (claim_txg != 0) 3125dabedeeSbonwick claim = "already claimed"; 3135dabedeeSbonwick else if (bp->blk_birth >= spa_first_txg(zilog->zl_spa)) 3145dabedeeSbonwick claim = "will claim"; 3155dabedeeSbonwick else 3165dabedeeSbonwick claim = "won't claim"; 3175dabedeeSbonwick 318fa9e4066Sahrens (void) printf("\tBlock seqno %llu, %s%s\n", 319d80c45e0Sbonwick (u_longlong_t)bp->blk_cksum.zc_word[ZIL_ZC_SEQ], claim, blkbuf); 320*b24ab676SJeff Bonwick 321*b24ab676SJeff Bonwick return (0); 322fa9e4066Sahrens } 323fa9e4066Sahrens 324fa9e4066Sahrens static void 325fa9e4066Sahrens print_log_stats(int verbose) 326fa9e4066Sahrens { 327fa9e4066Sahrens int i, w, p10; 328fa9e4066Sahrens 329fa9e4066Sahrens if (verbose > 3) 330fa9e4066Sahrens (void) printf("\n"); 331fa9e4066Sahrens 332fa9e4066Sahrens if (zil_rec_info[0].zri_count == 0) 333fa9e4066Sahrens return; 334fa9e4066Sahrens 335fa9e4066Sahrens for (w = 1, p10 = 10; zil_rec_info[0].zri_count >= p10; p10 *= 10) 336fa9e4066Sahrens w++; 337fa9e4066Sahrens 338fa9e4066Sahrens for (i = 0; i < TX_MAX_TYPE; i++) 339fa9e4066Sahrens if (zil_rec_info[i].zri_count || verbose >= 3) 340fa9e4066Sahrens (void) printf("\t\t%s %*llu\n", 341fa9e4066Sahrens zil_rec_info[i].zri_name, w, 342fa9e4066Sahrens (u_longlong_t)zil_rec_info[i].zri_count); 343fa9e4066Sahrens (void) printf("\n"); 344fa9e4066Sahrens } 345fa9e4066Sahrens 346fa9e4066Sahrens /* ARGSUSED */ 347fa9e4066Sahrens void 348fa9e4066Sahrens dump_intent_log(zilog_t *zilog) 349fa9e4066Sahrens { 350d80c45e0Sbonwick const zil_header_t *zh = zilog->zl_header; 351fa9e4066Sahrens int verbose = MAX(dump_opt['d'], dump_opt['i']); 352fa9e4066Sahrens int i; 353fa9e4066Sahrens 354*b24ab676SJeff Bonwick if (zh->zh_log.blk_birth == 0 || verbose < 1) 355fa9e4066Sahrens return; 356fa9e4066Sahrens 357*b24ab676SJeff Bonwick (void) printf("\n ZIL header: claim_txg %llu, " 358*b24ab676SJeff Bonwick "claim_blk_seq %llu, claim_lr_seq %llu", 359*b24ab676SJeff Bonwick (u_longlong_t)zh->zh_claim_txg, 360*b24ab676SJeff Bonwick (u_longlong_t)zh->zh_claim_blk_seq, 361*b24ab676SJeff Bonwick (u_longlong_t)zh->zh_claim_lr_seq); 3623589c4f0SNeil Perrin (void) printf(" replay_seq %llu, flags 0x%llx\n", 3633589c4f0SNeil Perrin (u_longlong_t)zh->zh_replay_seq, (u_longlong_t)zh->zh_flags); 364fa9e4066Sahrens 365fa9e4066Sahrens for (i = 0; i < TX_MAX_TYPE; i++) 366fa9e4066Sahrens zil_rec_info[i].zri_count = 0; 367fa9e4066Sahrens 368fa9e4066Sahrens if (verbose >= 2) { 369fa9e4066Sahrens (void) printf("\n"); 370d80c45e0Sbonwick (void) zil_parse(zilog, print_log_block, print_log_record, NULL, 3715dabedeeSbonwick zh->zh_claim_txg); 372fa9e4066Sahrens print_log_stats(verbose); 373fa9e4066Sahrens } 374fa9e4066Sahrens } 375