Print this page
NEX-8972 Async-delete side-effect that may cause unmount EBUSY
Reviewed by: Alek Pinchuk <alek@nexenta.com>
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>
NEX-3762 Appliance crashes with a NULL pointer dereference during a zpool export when a zfs_vn_rele_taskq thread attempts to check a bogus rwlock from rw_write_held
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/zfs/sys/zfs_dir.h
          +++ new/usr/src/uts/common/fs/zfs/sys/zfs_dir.h
↓ 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 2016 Nexenta Systems Inc. All rights reserved.
  24   25   */
  25   26  
  26   27  #ifndef _SYS_FS_ZFS_DIR_H
  27   28  #define _SYS_FS_ZFS_DIR_H
  28   29  
  29   30  #include <sys/pathname.h>
  30   31  #include <sys/dmu.h>
  31   32  #include <sys/zfs_znode.h>
  32   33  
  33   34  #ifdef  __cplusplus
↓ open down ↓ 22 lines elided ↑ open up ↑
  56   57      boolean_t *);
  57   58  extern int zfs_dirlook(znode_t *, char *, vnode_t **, int, int *,
  58   59      pathname_t *);
  59   60  extern void zfs_mknode(znode_t *, vattr_t *, dmu_tx_t *, cred_t *,
  60   61      uint_t, znode_t **, zfs_acl_ids_t *);
  61   62  extern void zfs_rmnode(znode_t *);
  62   63  extern void zfs_dl_name_switch(zfs_dirlock_t *dl, char *new, char **old);
  63   64  extern boolean_t zfs_dirempty(znode_t *);
  64   65  extern void zfs_unlinked_add(znode_t *, dmu_tx_t *);
  65   66  extern void zfs_unlinked_drain(zfsvfs_t *zfsvfs);
       67 +extern void zfs_unlinked_drain_stop_wait(zfsvfs_t *zfsvfs);
  66   68  extern int zfs_sticky_remove_access(znode_t *, znode_t *, cred_t *cr);
  67   69  extern int zfs_get_xattrdir(znode_t *, vnode_t **, cred_t *, int);
  68   70  extern int zfs_make_xattrdir(znode_t *, vattr_t *, vnode_t **, cred_t *);
  69   71  
  70   72  #ifdef  __cplusplus
  71   73  }
  72   74  #endif
  73   75  
  74   76  #endif  /* _SYS_FS_ZFS_DIR_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX