summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/fs/zfs/sys/dbuf.h
diff options
context:
space:
mode:
authorJustin Gibbs <justing@spectralogic.com>2015-01-05 19:27:09 -0500
committerDan McDonald <danmcd@omniti.com>2015-01-06 00:13:32 -0500
commitbc9014e6a81272073b9854d9f65dd59e18d18c35 (patch)
tree3d2031a48e13fc414f10f516a943cc23d88886d6 /usr/src/uts/common/fs/zfs/sys/dbuf.h
parentad69a33458cf73ee14857d57799cf686946e0b88 (diff)
downloadillumos-joyent-bc9014e6a81272073b9854d9f65dd59e18d18c35.tar.gz
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>
Diffstat (limited to 'usr/src/uts/common/fs/zfs/sys/dbuf.h')
-rw-r--r--usr/src/uts/common/fs/zfs/sys/dbuf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/uts/common/fs/zfs/sys/dbuf.h b/usr/src/uts/common/fs/zfs/sys/dbuf.h
index 8be8ed6bc8..6da5dccc05 100644
--- a/usr/src/uts/common/fs/zfs/sys/dbuf.h
+++ b/usr/src/uts/common/fs/zfs/sys/dbuf.h
@@ -22,6 +22,7 @@
* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 2014 by Delphix. All rights reserved.
* Copyright (c) 2013 by Saso Kiselkov. All rights reserved.
+ * Copyright (c) 2014 Spectra Logic Corporation, All rights reserved.
*/
#ifndef _SYS_DBUF_H
@@ -226,9 +227,8 @@ typedef struct dmu_buf_impl {
/* Data which is unique to data (leaf) blocks: */
- /* stuff we store for the user (see dmu_buf_set_user) */
- void *db_user_ptr;
- dmu_buf_evict_func_t *db_evict_func;
+ /* User callback information. */
+ dmu_buf_user_t *db_user;
uint8_t db_immediate_evict;
uint8_t db_freed_in_flight;