From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailg.telia.com ([194.22.194.26]) by pentafluge.infradead.org with esmtp (Exim 3.22 #1 (Red Hat Linux)) id 17aYgS-0003GN-00 for ; Fri, 02 Aug 2002 10:25:20 +0100 Message-ID: <003b01c23a06$c83c3940$0200a8c0@telia.com> From: "Joakim Tjernlund" To: "David Woodhouse" Cc: References: <003d01c2399a$b519a9e0$0200a8c0@telia.com> <12285.1028244660@redhat.com> Subject: Re: write suspend and/or erase suspend Date: Fri, 2 Aug 2002 11:27:12 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Sender: linux-mtd-admin@lists.infradead.org Errors-To: linux-mtd-admin@lists.infradead.org List-Help: List-Post: List-Subscribe: , List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: From: "David Woodhouse" > > Joakim.Tjernlund@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 > >