Re: 2.6.6-rc2-bk3 (and earlier?) mount problem (?

From: viro
Date: Mon Apr 26 2004 - 20:08:54 EST


On Mon, Apr 26, 2004 at 06:00:12PM -0700, Linus Torvalds wrote:
>
>
> On Tue, 27 Apr 2004 viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx wrote:
> > > Apr 27 01:49:23 polb01 claim: 3:0 e08e223e -> 0
> >
> > whee... 6 claims of hda - all by the same owner.
>
> Would it make sense to add a "dump_stack()" and to print out the name of
> the binary that causes this too? Ie add something like
>
> printk("dumping stack for %s:\n", current->comm);
> dump_stack();
>
> to the bd_claim() debugging thing...
>
> It will fill the logs, but I don't think it happens often enough to be a
> bother...

I'd put it in drivers/md/dm-table.c::open_dev() - it's practically certain
candidate for that crap (note the subsequent failing claims of hdd - they
are definitely from dm code).
-
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/