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 about 9 years ago
- Status changed from In Progress to Resolved
- % Done changed from 90 to 100
- Tags deleted (
user: Garrett D'Amore <firstname.lastname@example.org>
date: Thu Aug 18 12:28:47 2011 -0700
1385 iscsi target drops due to taskq
Reviewed by: Jason Brian King <email@example.com>
Reviewed by: Albert Lee <firstname.lastname@example.org>
Reviewed by: Dmitry Yusupov <email@example.com>
Reviewed by: Richard Lowe <firstname.lastname@example.org>
Approved by: Eric Shrock <email@example.com>