Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107603333
D28455.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D28455.diff
View Options
diff --git a/sys/dev/iscsi/iscsi.c b/sys/dev/iscsi/iscsi.c
--- a/sys/dev/iscsi/iscsi.c
+++ b/sys/dev/iscsi/iscsi.c
@@ -171,7 +171,6 @@
static void iscsi_session_reconnect(struct iscsi_session *is);
static void iscsi_session_terminate(struct iscsi_session *is);
static void iscsi_action(struct cam_sim *sim, union ccb *ccb);
-static void iscsi_poll(struct cam_sim *sim);
static struct iscsi_outstanding *iscsi_outstanding_find(struct iscsi_session *is,
uint32_t initiator_task_tag);
static struct iscsi_outstanding *iscsi_outstanding_add(struct iscsi_session *is,
@@ -1491,7 +1490,7 @@
return (ENOMEM);
}
- is->is_sim = cam_sim_alloc(iscsi_action, iscsi_poll, "iscsi",
+ is->is_sim = cam_sim_alloc(iscsi_action, NULL, "iscsi",
is, is->is_id /* unit */, &is->is_lock,
1, ic->ic_maxtags, is->is_devq);
if (is->is_sim == NULL) {
@@ -2462,13 +2461,6 @@
xpt_done(ccb);
}
-static void
-iscsi_poll(struct cam_sim *sim)
-{
-
- KASSERT(0, ("%s: you're not supposed to be here", __func__));
-}
-
static void
iscsi_terminate_sessions(struct iscsi_softc *sc)
{
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 17, 12:50 PM (19 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15838735
Default Alt Text
D28455.diff (1 KB)
Attached To
Mode
D28455: iscsi: Mark iSCSI CAM sims as non-pollable.
Attached
Detach File
Event Timeline
Log In to Comment