write suspend and/or erase suspend
Joakim Tjernlund
Joakim.Tjernlund at lumentis.se
Fri Aug 2 05:27:12 EDT 2002
From: "David Woodhouse" <dwmw2 at infradead.org>
>
> Joakim.Tjernlund at lumentis.se said:
> > When a erase or write is suspened to allow some other part of the FS
> > to read, is that read garanted to read from another sector than the
> > one that has been suspended?
>
> > I am asking since I think it's not allowed to access the sector that
> > has a suspended operation. I am using Intel Strata Flash.
>
> Correct. Currently we don't suspend writes, but when we do we need to make
> sure we get that right. Reading from a block on which an erase is in
> progress is a silly idea anyway, so I don't care that we don't check for
> that and make the reader wait.
Yes, it's silly but can it happen by mistake? The flash state machine may be
confused if an access is made during suspend.
hmm, my modified driver also supports "suspend erase to do a write". Could that be a problem?
>
> --
> dwmw2
>
>
More information about the linux-mtd
mailing list