Re: lockdep warning during elevator_switch

From: Jens Axboe
Date: Tue Feb 02 2010 - 15:58:38 EST


On Sun, Jan 31 2010, Hugh Dickins wrote:
> From 2.6.33-rc3 onwards, PROVE_LOCKING=y gives me the warning below when
> I "echo deadline >/sys/block/sdb/queue/scheduler" to change it from cfq.
>
> Backing out 846f99749ab68bbc7f75c74fec305de675b1a1bf "sysfs: Add lockdep
> annotations for the sysfs active reference" stops the warning -
> but I realize that doesn't mean the actual problem (if any) is fixed.

Thanks Hugh, I hadn't noticed this yet. I do online switches all the
time, but depending on tests lockdep may not be enabled (it steals all
my performance...). I'll take a look.

--
Jens Axboe

--
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/