Robin Humble wrote:
On Tue, Feb 13, 2007 at 12:55:18PM -0800, Nathaniel Rutman wrote:
Robin Humble wrote:
now onto the next problem :)
Feb 10 19:20:41 xe kernel: LustreError:
7489:0:(ost_handler.c:1555:ost_thread_init()) ASSERTION(thread->t_id <
OSS_THREADS_MAX) failed
Looks like it's just a slightly bad assert.
Index: ost_handler.c
===================================================================
RCS file: /cvsroot/cfs/lustre-core/ost/ost_handler.c,v
retrieving revision 1.181
diff -u -p -r1.181 ost_handler.c
--- ost_handler.c 10 Feb 2007 06:32:49 -0000 1.181
+++ ost_handler.c 13 Feb 2007 20:54:19 -0000
@@ -1586,7 +1586,7 @@ static int ost_thread_init(struct ptlrpc
LASSERT(thread != NULL);
LASSERT(thread->t_data == NULL);
- LASSERT(thread->t_id < OSS_THREADS_MAX);
+ LASSERT(thread->t_id <= OSS_THREADS_MAX);
OBD_ALLOC_PTR(tls);
if (tls != NULL) {
does that explain why the 512'th thread is in a D state afterwards?
cheers,
robin
Yup. the assert occurs when t_id=OSS_THREADS_MAX=512. t_id are
numbered starting from 1, not 0.
_______________________________________________
Lustre-discuss mailing list
[email protected]
https://mail.clusterfs.com/mailman/listinfo/lustre-discuss