public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: Robert Kaiser <rob@sysgo.de>
Cc: Adam Wozniak <awozniak@comdev.cc>,
	linux-mtd@lists.infradead.org,
	Jonas Holmberg <jonas.holmberg@axis.com>
Subject: Re: Re-entrancy of flash erase/write
Date: Mon, 25 Feb 2002 17:32:46 +0000	[thread overview]
Message-ID: <26609.1014658366@redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.21.0202251817100.12881-100000@dagobert.svc.sysgo.de>

rob@sysgo.de said:
>  What mechanism is there to avoid writes during erase suspend ? I have
> seen the problem in situations where the JFFS2 GC thread was erasing
> while another process (tar in my case) was writing to a *different
> partition* in the same chip. (Maybe that is a hint ?) Introducing the
> set_vpp counter reliably solved this.

All the partition code does is add an offset and call into the original 
underlying flash driver. So it just looks like two concurrent calls to the 
one driver, and the state machine ought to deal with that correctly.

--
dwmw2

  reply	other threads:[~2002-02-25 17:21 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-22 16:30 Re-entrancy of flash erase/write Robert Kaiser
2002-02-22 17:06 ` David Woodhouse
2002-02-22 17:43   ` Robert Kaiser
2002-02-25 11:09     ` Robert Kaiser
2002-02-25 15:44       ` Adam Wozniak
2002-02-25 16:54         ` Robert Kaiser
2002-02-25 16:55           ` Adam Wozniak
2002-02-25 17:07           ` David Woodhouse
2002-02-25 17:30             ` Robert Kaiser
2002-02-25 17:32               ` David Woodhouse [this message]
2002-02-25 17:49             ` Joakim Tjernlund
2002-02-25 17:54               ` David Woodhouse
2002-02-25 18:08                 ` Joakim Tjernlund
2002-02-25 18:10                   ` David Woodhouse
2002-02-25 17:56               ` Robert Kaiser
2002-02-25 18:11                 ` Joakim Tjernlund
  -- strict thread matches above, loose matches on Subject: below --
2002-02-22 17:13 Jonas Holmberg

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=26609.1014658366@redhat.com \
    --to=dwmw2@infradead.org \
    --cc=awozniak@comdev.cc \
    --cc=jonas.holmberg@axis.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=rob@sysgo.de \
    /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