summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/idm/idm_impl.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@nexenta.com>2011-08-18 12:28:47 -0700
committerGarrett D'Amore <garrett@nexenta.com>2011-08-18 12:28:47 -0700
commit6319b0c72e1681f79a5f33dfa976a63eedd4a2a4 (patch)
treeb97c7c82708e121bd8a6cb3b632734b8382cca94 /usr/src/uts/common/sys/idm/idm_impl.h
parent8ed558133403bcd904d4d7f182337b09f9fbf225 (diff)
downloadillumos-joyent-6319b0c72e1681f79a5f33dfa976a63eedd4a2a4.tar.gz
1385 iscsi target drops due to taskq
Reviewed by: Jason Brian King <jason.brian.king@gmail.com> Reviewed by: Albert Lee <trisk@nexenta.com> Reviewed by: Dmitry Yusupov <dmitry@nexenta.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Eric Shrock <eric.schrock@delphix.com>
Diffstat (limited to 'usr/src/uts/common/sys/idm/idm_impl.h')
-rw-r--r--usr/src/uts/common/sys/idm/idm_impl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/usr/src/uts/common/sys/idm/idm_impl.h b/usr/src/uts/common/sys/idm/idm_impl.h
index 11e9534687..72641bbfad 100644
--- a/usr/src/uts/common/sys/idm/idm_impl.h
+++ b/usr/src/uts/common/sys/idm/idm_impl.h
@@ -21,6 +21,10 @@
/*
* Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
*/
+/*
+ * Copyright 2011 Nexenta Systems, Inc. All rights reserved.
+ */
+
#ifndef _IDM_IMPL_H_
#define _IDM_IMPL_H_
@@ -30,6 +34,7 @@ extern "C" {
#include <sys/avl.h>
#include <sys/socket_impl.h>
+#include <sys/taskq_impl.h>
/*
* IDM lock order:
@@ -373,6 +378,9 @@ typedef struct idm_pdu_s {
uint_t isp_hdrbuflen;
uint_t isp_databuflen;
time_t isp_queue_time;
+
+ /* Taskq dispatching state for deferred PDU */
+ taskq_ent_t isp_tqent;
} idm_pdu_t;
/*