public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
To: Gareth Bult <gareth@linux.co.uk>
Cc: Linux MTD <linux-mtd@lists.infradead.org>,
	David Woodhouse <dwmw2@infradead.org>
Subject: Re: Re; MTD (2) Block Driver broken
Date: Mon, 7 Mar 2005 23:01:38 +0100	[thread overview]
Message-ID: <20050307220138.GF26318@wohnheim.fh-wedel.de> (raw)
In-Reply-To: <1110231980.11310.40.camel@squizzey.bult.co.uk>

On Mon, 7 March 2005 21:46:20 +0000, Gareth Bult wrote:
> 
> > If you insist, I can remove the driver completely and rewrite it from
> > scratch, with none of your code remaining.  Tell me to do so and I
> > will.
> 
> Insist? I didn't either mention or suggest it (!)

Good.

> One issue you might like to be aware of ..
> 
> To use blkmtd as a module, you do;
> 
> modprobe blkmtd device=/dev/sda1 (for example)
> 
> For block2mtd, you do;
> 
> modprobe block2mtd block2mtd=/dev/sda1 (I think..)

Correct.

> Anyone who's coded up an initrd for example would have to recode for
> both a different driver name and a different parameter name. (which
> incidentally isn't immediately obvious)
> 
> It might (?) make sense to have the new driver replace the old (as an
> option, rather than have a new name) and use the same parameter name ..
> just as a general principle so people don't have to go and recode to
> match the driver upgrade (?)
> 
> .. the "write" speed on the new driver is > 100x faster than the old ..
> I was unable to think of a practical use for the old driver .. (!)

The old driver also got the interface wrong.  In your example, with
just a single device to use, it doesn't matter.  But once you deal
with several devices, the old variant really sucks.  That is why I
changed it (and why I renamed the driver).

That said, I would like to agree with you.  If the new driver could
mimikri the old one, that would be a clear advantage.  The question
is, how can both advantages - better interface and compatibility - be
combined.  At the moment, I don't have an answer, but I'll keep
thinking about it.

Jörn

-- 
The grand essentials of happiness are: something to do, something to
love, and something to hope for.
-- Allan K. Chalmers

  reply	other threads:[~2005-03-07 22:02 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-05 17:26 Re; MTD (2) Block Driver broken Gareth Bult
2005-03-07 11:04 ` Jörn Engel
2005-03-07 11:13   ` Jörn Engel
2005-03-07 12:45     ` Josh Boyer
2005-03-07 12:52       ` Jörn Engel
2005-03-07 13:06   ` Gareth Bult
2005-03-07 14:24     ` Jörn Engel
2005-03-07 18:34       ` Gareth Bult
2005-03-07 19:00         ` Jörn Engel
     [not found]           ` <1110222770.11437.51.camel@squizzey.bult.co.uk>
2005-03-07 19:15             ` Jörn Engel
2005-03-07 20:42               ` Jörn Engel
2005-03-07 20:21           ` David Woodhouse
2005-03-07 20:57             ` Gareth Bult
2005-03-07 21:07               ` Jörn Engel
2005-03-07 21:46                 ` Gareth Bult
2005-03-07 22:01                   ` Jörn Engel [this message]
2005-03-07 22:20                     ` Gareth Bult
2005-03-07 22:42                       ` Jörn Engel
2005-03-08 10:33                         ` Gareth Bult
2005-03-08 10:44                           ` Jörn Engel
2005-03-07 21:26               ` David Woodhouse
2005-03-07 22:10                 ` Gareth Bult
2005-03-07 22:20                   ` David Woodhouse
2005-03-07 22:26                     ` Gareth Bult
2005-03-07 22:30                       ` David Woodhouse
2005-03-08 10:24                         ` Gareth Bult
2005-03-08 11:05                           ` David Woodhouse
2005-03-08 11:27                             ` Gareth Bult
2005-03-07 22:33                   ` Jörn Engel
2005-03-08 10:31                     ` Gareth Bult

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050307220138.GF26318@wohnheim.fh-wedel.de \
    --to=joern@wohnheim.fh-wedel.de \
    --cc=dwmw2@infradead.org \
    --cc=gareth@linux.co.uk \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox