Print this page
8115 parallel zfs mount

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/hsfs/hsfs_vfsops.c
          +++ new/usr/src/uts/common/fs/hsfs/hsfs_vfsops.c
↓ open down ↓ 14 lines elided ↑ open up ↑
  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) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
  23   23   * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
  24   24   * Copyright 2013 Joyent, Inc. All rights reserved.
       25 + * Copyright (c) 2017 by Delphix. All rights reserved.
  25   26   */
  26   27  
  27   28  /*
  28   29   * VFS operations for High Sierra filesystem
  29   30   */
  30   31  
  31   32  #include <sys/types.h>
  32   33  #include <sys/isa_defs.h>
  33   34  #include <sys/t_lock.h>
  34   35  #include <sys/param.h>
↓ open down ↓ 108 lines elided ↑ open up ↑
 143  144   */
 144  145  int do_schedio = 1;
 145  146  static int hsfsfstype;
 146  147  static int hsfsinit(int, char *);
 147  148  
 148  149  static vfsdef_t vfw = {
 149  150          VFSDEF_VERSION,
 150  151          "hsfs",
 151  152          hsfsinit,
 152  153          /* We don't suppport remounting */
 153      -        VSW_HASPROTO|VSW_STATS|VSW_CANLOFI,
      154 +        VSW_HASPROTO|VSW_STATS|VSW_CANLOFI|VSW_MOUNTDEV,
 154  155          &hsfs_proto_opttbl
 155  156  };
 156  157  
 157  158  static struct modlfs modlfs = {
 158  159          &mod_fsops, "filesystem for HSFS", &vfw
 159  160  };
 160  161  
 161  162  static struct modlinkage modlinkage = {
 162  163          MODREV_1, (void *)&modlfs, NULL
 163  164  };
↓ open down ↓ 1401 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX