Re: [dm-devel] linux-next - WARNING: at fs/block_dev.c:824bd_link_disk_holder+0x92/0x1ac()

From: Karel Zak
Date: Thu Jan 13 2011 - 08:26:53 EST


On Thu, Jan 13, 2011 at 02:12:16PM +0100, Tejun Heo wrote:
> Hello,
>
> On Thu, Jan 13, 2011 at 01:27:01PM +0100, Karel Zak wrote:
> > We also use holders/slaves links in libblkid to evaluate dependencies
> > between devices (since 2008).
> >
> > > Whatever changes are needed, please keep this functionality, it
> > > can be useful.
> >
> > Definitely.
>
> Yeah, sure, it's not like I can afford to avoid fixing it at this
> point anyway, but I still want to point out it's at the wrong layer
> and shouldn't have been added like this, really. If you want blkid to
> identify it, the proper thing to do would be querying blk device for
> the claimer and then use claimer-specific method to query them. It's

It seems that dependencies (holders/slaves) between devices is pretty
generic thing. Why do you think that we need claimer-specific method?
The /sys filesystem is better that ictls in many ways.

> not like the current method would make sense for btrfs or whatnot.

Could you be more verbose, please?

Karel

--
Karel Zak <kzak@xxxxxxxxxx>
http://karelzak.blogspot.com
--
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/