Print this page
8115 parallel zfs mount

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/zdb/zdb.c
          +++ new/usr/src/cmd/zdb/zdb.c
↓ open down ↓ 16 lines elided ↑ open up ↑
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
  24   24   * Copyright (c) 2011, 2016 by Delphix. All rights reserved.
  25   25   * Copyright (c) 2014 Integros [integros.com]
  26   26   * Copyright 2017 Nexenta Systems, Inc.
       27 + * Copyright 2017 RackTop Systems.
  27   28   */
  28   29  
  29   30  #include <stdio.h>
  30   31  #include <unistd.h>
  31   32  #include <stdio_ext.h>
  32   33  #include <stdlib.h>
  33   34  #include <ctype.h>
  34   35  #include <sys/zfs_context.h>
  35   36  #include <sys/spa.h>
  36   37  #include <sys/spa_impl.h>
↓ open down ↓ 50 lines elided ↑ open up ↑
  87   88  extern int zfs_vdev_async_read_max_active;
  88   89  #else
  89   90  int reference_tracking_enable;
  90   91  boolean_t zfs_recover;
  91   92  uint64_t zfs_arc_max, zfs_arc_meta_limit;
  92   93  int zfs_vdev_async_read_max_active;
  93   94  #endif
  94   95  
  95   96  static const char cmdname[] = "zdb";
  96   97  uint8_t dump_opt[256];
       98 +extern int aok;
  97   99  
  98  100  typedef void object_viewer_t(objset_t *, uint64_t, void *data, size_t size);
  99  101  
 100  102  uint64_t *zopt_object = NULL;
 101  103  static unsigned zopt_objects = 0;
 102  104  libzfs_handle_t *g_zfs;
 103  105  uint64_t max_inflight = 1000;
 104  106  
 105  107  static void snprintf_blkptr_compact(char *, size_t, const blkptr_t *);
 106  108  
↓ open down ↓ 4044 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX