Print this page
5056 ZFS deadlock on db_mtx and dn_holds
Reviewed by: Will Andrews <willa@spectralogic.com>
Reviewed by: Matt Ahrens <mahrens@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Approved by: Dan McDonald <danmcd@omniti.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/zfs/zfs_sa.c
          +++ new/usr/src/uts/common/fs/zfs/zfs_sa.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) 2010, Oracle and/or its affiliates. All rights reserved.
  23   23   */
  24   24  
  25      -#include <sys/types.h>
  26      -#include <sys/param.h>
       25 +#include <sys/zfs_context.h>
  27   26  #include <sys/vnode.h>
  28   27  #include <sys/sa.h>
  29   28  #include <sys/zfs_acl.h>
  30   29  #include <sys/zfs_sa.h>
  31   30  
  32   31  /*
  33   32   * ZPL attribute registration table.
  34   33   * Order of attributes doesn't matter
  35   34   * a unique value will be assigned for each
  36   35   * attribute that is file system specific
↓ open down ↓ 298 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX