iscsi target drops due to taskq
Nexenta has noticed that sometimes the iSCSI target will occasionally drop connections to some clients. Protocol analysis indicates excessively long deferrals in iSCSI PDU handling.
Investigation shows that taskq_dispatch() is implicated (again) by way of the kmem backing allocations. In particular, this code can wind up sleeping waiting for resources to become available.
Using the new style taskq_dispatch_ent() has been shown to resolve this problem in NexentaStor, using the same basic code.
Kudos to Albert Lee for the original patch, which I've cleaned up somewhat.
Updated by Garrett D'Amore almost 10 years ago
- Status changed from In Progress to Resolved
- % Done changed from 90 to 100
- Tags deleted (
user: Garrett D'Amore <email@example.com>
date: Thu Aug 18 12:28:47 2011 -0700
1385 iscsi target drops due to taskq
Reviewed by: Jason Brian King <firstname.lastname@example.org>
Reviewed by: Albert Lee <email@example.com>
Reviewed by: Dmitry Yusupov <firstname.lastname@example.org>
Reviewed by: Richard Lowe <email@example.com>
Approved by: Eric Shrock <firstname.lastname@example.org>