Print this page
3866 panic in idm module
3867 stmfCreateLu failed: GUID_IN_USE
3868 iscsi target not accepting any new connections
Reviewed by: Sebastien Roy <sebastien.roy@delphix.com>
Reviewed by: Jeremy Jones <jeremy@delphix.com>
Reviewed by: Eric Diven <eric.diven@delphix.com>
@@ -1247,14 +1247,19 @@
if ((rc = ksocket_accept(so_svc->is_so,
(struct sockaddr *)&t_addr, &t_addrlen,
&new_so, CRED())) != 0) {
mutex_enter(&svc->is_mutex);
- if (rc == ECONNABORTED)
+ if (rc != ECONNABORTED && rc != EINTR) {
+ IDM_SVC_LOG(CE_NOTE, "idm_so_svc_port_watcher:"
+ " ksocket_accept failed %d", rc);
+ }
+ /*
+ * Unclean shutdown of this thread is not handled
+ * wait for !is_thread_running.
+ */
continue;
- /* Connection problem */
- break;
}
/*
* Turn off SO_MAC_EXEMPT so future sobinds succeed
*/
(void) ksocket_setsockopt(new_so, SOL_SOCKET, SO_MAC_EXEMPT,