Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi, Have made some more investigations now. It hangs in wake_up (the last call in drbd_al_begin_io). As far as I can see, this wake_up is supposed to be called when a specific job is completed, to tell the schduler to wake up all processes that might be waiting for this job to complete. If this is the case it sounds strange that a call to wake_up can block, but it does. The argument to wake_up, some kind of q-identifier it seems, is this queue DRBD-specific or is it some general queue, used in non-DRBD-code as well ? Anyway I don't think this indicates that it is hanging in lower layers (disk-hardware or driver to the disk) during a write operation, or ? We're running on PowerPC, shouldn't make any difference, but just in case someone recognize this problem. br Håkan Engblom >From: Lars Ellenberg <lars.ellenberg at linbit.com> >To: drbd-user at lists.linbit.com >Subject: Re: [DRBD-user] mkfs on a drbd partition hangs in drbd_al_begin_io >Date: Thu, 3 May 2007 16:35:04 +0200 > >On Thu, May 03, 2007 at 04:09:04PM +0200, Håkan Engblom wrote: > > Hi, > > > > If it is hanging because of a write-operation that does not complete, >which > > might be the case, should it be hanging in spin_lock_irq(&mdev->al_lock) >in > > that case (you said that it is certainly hagning in a spin_lock_irq in >your > >certainly _not_ . sorry. > > > answer before) ??? Shouldn't it rather be hanging in > > wait_for_completion(&al_work.event), if it is hanging because a write > > operation does not succeed ? > >-- >: Lars Ellenberg Tel +43-1-8178292-0 : >: LINBIT Information Technologies GmbH Fax +43-1-8178292-82 : >: Vivenotgasse 48, A-1120 Vienna/Europe http://www.linbit.com : >__ >please use the "List-Reply" function of your email client. >_______________________________________________ >drbd-user mailing list >drbd-user at lists.linbit.com >http://lists.linbit.com/mailman/listinfo/drbd-user _________________________________________________________________ Fräscha middagstips på MSN http://arla.msn.se/