Print this page
6198 Let's EOL cachefs

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/cpr/cpr_misc.c
          +++ new/usr/src/uts/common/cpr/cpr_misc.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 2010 Sun Microsystems, Inc.  All rights reserved.
  23   23   * Use is subject to license terms.
       24 + * Copyright 2015 Nexenta Systems, Inc. All rights reserved.
  24   25   */
  25   26  
  26   27  #include <sys/types.h>
  27   28  #include <sys/errno.h>
  28   29  #include <sys/cpuvar.h>
  29   30  #include <sys/vfs.h>
  30   31  #include <sys/vnode.h>
  31   32  #include <sys/pathname.h>
  32   33  #include <sys/callb.h>
  33   34  #include <sys/fs/ufs_inode.h>
↓ open down ↓ 1044 lines elided ↑ open up ↑
1078 1079          char *fsname;
1079 1080  
1080 1081          fsname = vfssw[vfsp->vfs_fstype].vsw_name;
1081 1082          return (strcmp(fsname, "zfs") == 0);
1082 1083  }
1083 1084  
1084 1085  /*
1085 1086   * This is a list of file systems that are allowed to be writeable when a
1086 1087   * reusable statefile checkpoint is taken.  They must not have any state that
1087 1088   * cannot be restored to consistency by simply rebooting using the checkpoint.
1088      - * (In contrast to ufs, cachefs and pcfs which have disk state that could get
     1089 + * (In contrast to ufs and pcfs which have disk state that could get
1089 1090   * out of sync with the in-kernel data).
1090 1091   */
1091 1092  int
1092 1093  cpr_reusable_mount_check(void)
1093 1094  {
1094 1095          struct vfs *vfsp;
1095 1096          char *fsname;
1096 1097          char **cpp;
1097 1098          static char *cpr_writeok_fss[] = {
1098 1099                  "autofs", "devfs", "fd", "lofs", "mntfs", "namefs", "nfs",
↓ open down ↓ 51 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX