From d21f279a94994f65e6bdcbbca9fd2eb552a0d604 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Wed, 13 Jan 2016 11:39:25 -0800 Subject: [PATCH] Illumos 3465, 3466, 3467, 3468, 3470, 3473 3465 ::walk ... | :: misinterprets input as symbol names 3466 ::tsd should handle missing/NULL values better 3467 mdb_ctf_vread() could be more useful 3468 mdb enhancements for zfs development 3470 ::whatis does not print callers from KMF_LITE 3473 mdb_get_module() returns wrong module Reviewed by: Adam Leventhal Reviewed by: Eric Schrock Reviewed by: Dan Kimmel Reviewed by: Robert Mustacchi Approved by: Dan McDonald References: https://www.illumos.org/issues/3468 https://github.com/illumos/illumos-gate/commit/28e4da2 Porting notes: - The only portion of this patch which applies to ZoL is a small change to types used in the refcount structure. Ported-by: Brian Behlendorf Closes #4216 --- include/sys/refcount.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/sys/refcount.h b/include/sys/refcount.h index e767a2389dab..b69c46cf72a3 100644 --- a/include/sys/refcount.h +++ b/include/sys/refcount.h @@ -53,8 +53,8 @@ typedef struct refcount { boolean_t rc_tracked; list_t rc_list; list_t rc_removed; - int64_t rc_count; - int64_t rc_removed_count; + uint64_t rc_count; + uint64_t rc_removed_count; } refcount_t; /* Note: refcount_t must be initialized with refcount_create[_untracked]() */