Re: 2.6.5-mm6 reiserfs and hpt366 problems

From: Andrew Morton
Date: Fri Apr 16 2004 - 18:39:54 EST


Konstantin Gavrilenko <mlists@xxxxxxxxxx> wrote:
>
> Apr 16 22:45:06 filo kernel: Debug: sleeping function called from
> invalid context at drivers/block/ll_rw_blk.c:1156
> Apr 16 22:45:06 filo kernel: in_atomic():0, irqs_disabled():1
> Apr 16 22:45:06 filo kernel: Call Trace:
> Apr 16 22:45:06 filo kernel: [<c0117449>] __might_sleep+0x99/0xb0
> Apr 16 22:45:06 filo kernel: [<c02950bf>] generic_unplug_device+0x1f/0x60
> Apr 16 22:45:06 filo kernel: [<c02d9fc9>] unplug_slaves+0x69/0x70

Ah, I see it. There are several instances of unplug_slaves(). The one in
raid1.c is incorrectly calling ->unplug_fn() under spin_lock_irq().

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/