]> git.proxmox.com Git - mirror_zfs.git/blobdiff - include/sys/sa_impl.h
Illumos 5056 - ZFS deadlock on db_mtx and dn_holds
[mirror_zfs.git] / include / sys / sa_impl.h
index fcbd8eb34e9171061aef49ae7abbdcfdd1751908..6f2f1db6dcf9fdce2d7c6e6769305c94ad5afc6c 100644 (file)
@@ -21,6 +21,7 @@
 /*
  * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
  * Copyright (c) 2013 by Delphix. All rights reserved.
+ * Copyright (c) 2014 Spectra Logic Corporation, All rights reserved.
  */
 
 #ifndef        _SYS_SA_IMPL_H
@@ -208,11 +209,12 @@ typedef enum sa_data_op {
  */
 
 struct sa_handle {
+       dmu_buf_user_t  sa_dbu;
        kmutex_t        sa_lock;
        dmu_buf_t       *sa_bonus;
        dmu_buf_t       *sa_spill;
        objset_t        *sa_os;
-       void            *sa_userp;
+       void            *sa_userp;
        sa_idx_tab_t    *sa_bonus_tab;   /* idx of bonus */
        sa_idx_tab_t    *sa_spill_tab; /* only present if spill activated */
 };