[DRBD-user] Crash during synchronisation when RATE >= 1024 ???

Benoit.Ropartz at alcatel.fr Benoit.Ropartz at alcatel.fr
Thu Jun 24 15:03:43 CEST 2004

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


---------------------- Forwarded by Benoit ROPARTZ/FR/ALCATEL on 24/06/2004
15:03 ---------------------------


Benoit ROPARTZ
24/06/2004 15:02

To:    Lars Ellenberg <lars.ellenberg at linbit.com>
cc:
Subject:    Re: [DRBD-user] Crash during synchronisation when RATE >= 1024
       ???  (Document link: Benoit ROPARTZ)

Not with my Plateform RS6000 (LINUX 2.4) :


Source wait.h :

/*
 * Macros for declaration and initialisaton of the datatypes
 */

#if WAITQUEUE_DEBUG
# define __WAITQUEUE_DEBUG_INIT(name) (long)&(name).__magic, 0
# define __WAITQUEUE_HEAD_DEBUG_INIT(name) (long)&(name).__magic, (long)
&(name).__magic
#else
# define __WAITQUEUE_DEBUG_INIT(name)
# define __WAITQUEUE_HEAD_DEBUG_INIT(name)
#endif

#define __WAITQUEUE_INITIALIZER(name, tsk) {                            \
        task:           tsk,                                            \
        task_list:      { NULL, NULL },                                 \
                         __WAITQUEUE_DEBUG_INIT(name)}

#define DECLARE_WAITQUEUE(name, tsk)                                    \
        wait_queue_t name = __WAITQUEUE_INITIALIZER(name, tsk)


???






Lars Ellenberg <lars.ellenberg at linbit.com>@linbit.com on 24/06/2004
14:02:15

Sent by:    drbd-user-admin at linbit.com


To:    drbd-user <drbd-user at linbit.com>
cc:
Subject:    Re: [DRBD-user] Crash during synchronisation when RATE >= 1024
       ???


On Wed, Jun 23, 2004 at 05:44:43PM +0200, Benoit.Ropartz at alcatel.fr wrote:
> I have changed prepare_to_wait :
>
> list_empty(&wait->task_list) ===> list_empty(&q->task_list)
>
> And it seems ok ???

NO!

somwhere in DEFINE_WAIT there should be a list_init. thats it.
do NOT test on list_empty(&q->task_list). this is wrong.

 lge
_______________________________________________
drbd-user mailing list
drbd-user at lists.linbit.com
 http://lists.linbit.com/mailman/listinfo/drbd-user









More information about the drbd-user mailing list