erase suspend functionality
Nicolas Pitre
nico at cam.org
Mon Apr 3 16:53:58 EDT 2006
On Mon, 3 Apr 2006, Kolakowski, Mikolaj wrote:
> >> Hi,
> >>
> >> Anybody can explain how erase suspend should work from the macro
> >> perspective?
> >> I assume that when I delete huge file and JFFS2 starts erasing
> sectors
> >> then when I try to write small amount of data I shouldn't wait until
> all
> >> the sectors on a erase pending list will be erased? The write should
> >> stop erasing. Is it true?
> >
> >Only if the write is going to happen in a sector not scheduled for
> >erase.
> >
> So if there was no clean space to execute the write, then even if the
> driver will erase one sector from the pending list it won't allow write
> until all the sectors from the pending list will be erased?
> If this is true then what must have happen to do erase suspend?
erase suspend may occur if the sector to be written to is not being
erased but some other sectors are.
Nicolas
More information about the linux-mtd
mailing list