From: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
To: Alexander Schmidt <alexs@linux.vnet.ibm.com>
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: [RFC] [PATCH] UBI: refine wear leveling logic
Date: Fri, 30 Mar 2007 15:23:59 +0300 [thread overview]
Message-ID: <460D015F.6080305@nokia.com> (raw)
In-Reply-To: <200703291359.25593.alexs@linux.vnet.ibm.com>
Alexander Schmidt wrote:
> While writing this i assumed that erase and WL procedures are performed
> sequentially (either by the background thread or, if the bgt is disabled,
> by the produce_free_peb() function). Thank to your comment below I now
> realised that erase/wl procedures could happen concurrently if the free
> tree is empty and there are pending works (this is the only way that
> could lead to your error scenario, right?).
Yes, kind of.
> If so then i propose to make get_peb() wait until the bgt produces a free
> peb and not mix synchronous/asynchronous operations, as this would make
> the code easier, IMO.
It already does this AFAIK.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
next prev parent reply other threads:[~2007-03-30 12:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-28 13:47 [RFC] [PATCH] UBI: refine wear leveling logic Alexander Schmidt
2007-03-29 10:36 ` Artem Bityutskiy
2007-03-29 11:59 ` Alexander Schmidt
2007-03-30 12:23 ` Artem Bityutskiy [this message]
2007-03-30 14:40 ` Alexander Schmidt
2007-04-02 10:53 ` Artem Bityutskiy
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=460D015F.6080305@nokia.com \
--to=artem.bityutskiy@nokia.com \
--cc=alexs@linux.vnet.ibm.com \
--cc=linux-mtd@lists.infradead.org \
/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