Print this page
8115 parallel zfs mount

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/pcfs/pc_vfsops.c
          +++ new/usr/src/uts/common/fs/pcfs/pc_vfsops.c
↓ open down ↓ 15 lines elided ↑ open up ↑
  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  /*
  23   23   * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  24   24   * Use is subject to license terms.
  25   25   */
       26 +/*
       27 + * Copyright (c) 2017 by Delphix. All rights reserved.
       28 + */
  26   29  
  27   30  #include <sys/param.h>
  28   31  #include <sys/systm.h>
  29   32  #include <sys/kmem.h>
  30   33  #include <sys/user.h>
  31   34  #include <sys/proc.h>
  32   35  #include <sys/cred.h>
  33   36  #include <sys/disp.h>
  34   37  #include <sys/buf.h>
  35   38  #include <sys/vfs.h>
↓ open down ↓ 113 lines elided ↑ open up ↑
 149  152  kmutex_t        pcfslock;
 150  153  krwlock_t       pcnodes_lock;
 151  154  uint32_t        pcfs_mountcount;
 152  155  
 153  156  static int pcfstype;
 154  157  
 155  158  static vfsdef_t vfw = {
 156  159          VFSDEF_VERSION,
 157  160          "pcfs",
 158  161          pcfsinit,
 159      -        VSW_HASPROTO|VSW_CANREMOUNT|VSW_STATS|VSW_CANLOFI,
      162 +        VSW_HASPROTO|VSW_CANREMOUNT|VSW_STATS|VSW_CANLOFI|VSW_MOUNTDEV,
 160  163          &pcfs_mntopts
 161  164  };
 162  165  
 163  166  extern struct mod_ops mod_fsops;
 164  167  
 165  168  static struct modlfs modlfs = {
 166  169          &mod_fsops,
 167  170          "PC filesystem",
 168  171          &vfw
 169  172  };
↓ open down ↓ 2546 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX