Re: bdi: register sysfs bdi device only once per queue

From: David Woodhouse
Date: Wed Nov 05 2008 - 17:11:16 EST


On Wed, 2008-11-05 at 12:10 -0800, Andrew Morton wrote:
> > > Devices which share the same queue, like floppies and mtd devices,
> > > get registered multiple times in the bdi interface, but bdi accounts
> > > only the last registered device of the devices sharing one queue.
> >
> > David, is there any reason the mtd devices do this?
>
> [tap tap - is this thing turned on?]

No particular reason. It's been done that way since the dawn of time,
when it was perfectly normal. Nobody's yet bothered to change that, when
changing the rules.

--
David Woodhouse Open Source Technology Centre
David.Woodhouse@xxxxxxxxx Intel Corporation

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