public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Charles Manning <manningc2@actrix.gen.nz>
To: linux-mtd@lists.infradead.org
Cc: Vinit Agnihotri <vinit.agnihotri@gmail.com>
Subject: Re: Question about MTD Erase mechanism.
Date: Tue, 20 Feb 2007 20:29:33 +1300	[thread overview]
Message-ID: <200702202029.33870.manningc2@actrix.gen.nz> (raw)
In-Reply-To: <9b52d64c0702192241y2c778a54r17cea174eb8781d8@mail.gmail.com>

On Tuesday 20 February 2007 19:41, Vinit Agnihotri wrote:
> I have 1 question about MTD Erase mechanism.
>
> Say we have a MTD device with 'n' no. of blocks. Each block is of size
> 100Bytes. Once erased we can write 25bytes i.e. min_io_size is
> 25bytes. So once a block is erased I can perform 4 writes without
> erasing it again only if those 4 writes are not overlapping. But if
> any of those write is overlapping i.e. if re-write occurs then entire
> block have to be erased.

That's a pretty contrived example, and depends on the type of flash etc.
>
> So my question is who handles these types of conditions. I mean does
> hardware handles such conditions or software have to handle such
> situations? I mean who handles re-writing & erasures due to that???

Software of course. Hardware is pretty dumb stuff and cannot track and enforce 
algorithmic rules like that. 


>
>
> Thanks & Regards
> Vinit.
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/

      reply	other threads:[~2007-02-20  7:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-20  6:41 Question about MTD Erase mechanism Vinit Agnihotri
2007-02-20  7:29 ` Charles Manning [this message]

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=200702202029.33870.manningc2@actrix.gen.nz \
    --to=manningc2@actrix.gen.nz \
    --cc=linux-mtd@lists.infradead.org \
    --cc=vinit.agnihotri@gmail.com \
    /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