blkmtd and name_to_dev_t
Jörn Engel
joern at wohnheim.fh-wedel.de
Tue Apr 4 04:30:20 EDT 2006
On Mon, 3 April 2006 20:07:48 -0700, H. Peter Anvin wrote:
> Eric W. Biederman wrote:
>
> I thought (am I wrong?) that blkmtd referred to using a block device as
> an MTD device. Either which way, Jörn tells me that blkmtd is
> deprecated by block2mtd anyway, and only retained for boot support,
> which is pretty easy to do in klibc.
You are not wrong.
A possibly better way to deliver the same functionality (jffs2 rootfs
on block device through emulation) might be to add transparent
translation support to jffs2. Something that will make "mount
/dev/hda1 /mnt -t jffs2" work. How exactly the code for this should
look, I don't know yet. But given that jffs2 is the only sane user of
bd->mtd translation, it looks like the Right Thing to me.
> >So I suggest what happens is that we deprecate blkmtd in
> >Documentation/FeatureRemoval
> >of 2.6.17 and delete it in the -mm tree.
> >
> >Then you can merge klibc.
> >
> >Does any one have a problem with that plan?
>
> That certainly works for me. Jörn indicated he's going to sign off on a
> patch to remove blkmtd, which will solve my problem.
Once the coffee kicks in, yes. Good morning everyone.
Ordinarily, we should go through the usual 1 year deprecation period
for blkmtd. But in this case I find it justified to pull the support
immediatly:
o An alternative exists that hasn't had bug report for > 1 year.
o Most embedded people tend to use ancient kernels with custom patches
from mtd cvs and elsewhere, so the 1 year warning period neither
helps nor hurts them too much.
o It's in the way of klibc. The problems caused by pulling blkmtd
support are fairly low, while the problems caused by delaying klibc
can be fairly substantial. At best, this would be a severe burden
on hpa's time.
That said, deprecating the driver in -linus and removing it in -mm
until klibc is merged to -linus sounds like a good idea. Will do
that.
Jörn
--
Anything that can go wrong, will.
-- Finagle's Law
More information about the linux-mtd
mailing list