Re: [workqueue] WARNING: CPU: 0 PID: 76 at drivers/block/floppy.c:968 schedule_bh()
From: Jiri Kosina
Date: Tue Jul 08 2014 - 10:57:08 EST
On Tue, 8 Jul 2014, Tejun Heo wrote:
> > Hmmm... this is schedule_bh() in floppy.c complaining that the work
> > item is already pending. The cond_resched() addition by b22ce2785d97
> > doesn't change the semantics around work item execution although it
> > could have exposed an existing problem in the floppy driver. I'll
> > look into how this could happen.
> It doesn't reproduce here and nothing really stands out to me. It
> probably involves floppy_work requeueing itself and something else
> getting executed inbetween which wouldn't have happend before, but I
> can't figure out what that could be and either can I follow the
> control flow the driver. :)
> Jiri, any ideas?
I will take a look. Could this be a bad bisect though due to this actually
being a race condition perhaps?
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/