Print this page
8115 parallel zfs mount

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libzpool/common/util.c
          +++ new/usr/src/lib/libzpool/common/util.c
↓ open down ↓ 13 lines elided ↑ open up ↑
  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   22   * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
  23   23   * Copyright (c) 2016 by Delphix. All rights reserved.
       24 + * Copyright 2017 RackTop Systems.
  24   25   */
  25   26  
  26   27  #include <assert.h>
  27   28  #include <sys/zfs_context.h>
  28   29  #include <sys/avl.h>
  29   30  #include <string.h>
  30   31  #include <stdio.h>
  31   32  #include <stdlib.h>
  32   33  #include <sys/spa.h>
  33   34  #include <sys/fs/zfs.h>
  34   35  #include <sys/refcount.h>
  35   36  #include <dlfcn.h>
  36   37  
       38 +extern void nicenum(uint64_t num, char *buf, size_t);
       39 +
  37   40  /*
  38   41   * Routines needed by more than one client of libzpool.
  39   42   */
  40   43  
  41   44  static void
  42   45  show_vdev_stats(const char *desc, const char *ctype, nvlist_t *nv, int indent)
  43   46  {
  44   47          vdev_stat_t *vs;
  45   48          vdev_stat_t v0 = { 0 };
  46   49          uint64_t sec;
↓ open down ↓ 141 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX