From: Richard Weinberger <richard@nod.at>
To: dedekind1@gmail.com
Cc: Tanya Brokhman <tlinder@codeaurora.org>,
linux-mtd@lists.infradead.org, linux-arm-msm@vger.kernel.org,
jlauruhn@micron.com
Subject: Re: [RFC/PATCH 0/5 v2] mtd:ubi: Read disturb and Data retention handling
Date: Wed, 12 Nov 2014 16:37:09 +0100 [thread overview]
Message-ID: <54637EA5.1060906@nod.at> (raw)
In-Reply-To: <1415799149.22887.266.camel@sauron.fi.intel.com>
Am 12.11.2014 um 14:32 schrieb Artem Bityutskiy:
> [Sort of off-topic]
>
> On Wed, 2014-11-12 at 14:01 +0100, Richard Weinberger wrote:
>> Tanya stated that the read counters must not get lost.
>
> I understood that this is more of "we try not to lose them, but if we
> lose, we can deal with this".
>
>> But it can happen that you lose the fastmap. Fastmap is optional.
>
> And new data structure would be kind of optional too.
Yeah, but it should be COMPAT_PRESERVE instead of COMPAT_DELETE.
>> I.e. if you boot an older kernel it will delete the fastmap. If you run
>> out of PEBs which can be used by fastmap, fastmap has to delete the current fastmap.
>> Same for too many write errors, etc...
>
> It would be cool to document this in more details, say in the web site.
> If someone uses fastmap, they probably need to know exactly when it
> could "disappear", in order to try avoiding these conditions.
Will file a patch against mtd-www.git!
>> If we add the read-counters to fastmap we'd have to change the fastmap on-flash layout too.
>
> But this is not the end of the world. Fastmap is still an experimental
> feature, and I personally consider it as "not yet proved to be ready for
> production", because I did not hear success stories yet. It does not
> mean there are no success stories. And this is just my perception, I may
> be wrong. So while not touching on-flash format is always a good goal,
> we may be less resistant about fastmap.
Yeah, if needed I will not block it.
>> (Unless we do very hacky tricks)
>> Also writing a fastmap is not cheap, we have to stop all IO. So, saving the read-counter will
>> be expensive and an performance problem.
>
> For me this one sounds like a strong point. We do not really want to
> make fastmap change more often.
Exactly.
Thanks,
//richard
WARNING: multiple messages have this Message-ID (diff)
From: Richard Weinberger <richard@nod.at>
To: dedekind1@gmail.com
Cc: linux-arm-msm@vger.kernel.org, jlauruhn@micron.com,
linux-mtd@lists.infradead.org,
Tanya Brokhman <tlinder@codeaurora.org>
Subject: Re: [RFC/PATCH 0/5 v2] mtd:ubi: Read disturb and Data retention handling
Date: Wed, 12 Nov 2014 16:37:09 +0100 [thread overview]
Message-ID: <54637EA5.1060906@nod.at> (raw)
In-Reply-To: <1415799149.22887.266.camel@sauron.fi.intel.com>
Am 12.11.2014 um 14:32 schrieb Artem Bityutskiy:
> [Sort of off-topic]
>
> On Wed, 2014-11-12 at 14:01 +0100, Richard Weinberger wrote:
>> Tanya stated that the read counters must not get lost.
>
> I understood that this is more of "we try not to lose them, but if we
> lose, we can deal with this".
>
>> But it can happen that you lose the fastmap. Fastmap is optional.
>
> And new data structure would be kind of optional too.
Yeah, but it should be COMPAT_PRESERVE instead of COMPAT_DELETE.
>> I.e. if you boot an older kernel it will delete the fastmap. If you run
>> out of PEBs which can be used by fastmap, fastmap has to delete the current fastmap.
>> Same for too many write errors, etc...
>
> It would be cool to document this in more details, say in the web site.
> If someone uses fastmap, they probably need to know exactly when it
> could "disappear", in order to try avoiding these conditions.
Will file a patch against mtd-www.git!
>> If we add the read-counters to fastmap we'd have to change the fastmap on-flash layout too.
>
> But this is not the end of the world. Fastmap is still an experimental
> feature, and I personally consider it as "not yet proved to be ready for
> production", because I did not hear success stories yet. It does not
> mean there are no success stories. And this is just my perception, I may
> be wrong. So while not touching on-flash format is always a good goal,
> we may be less resistant about fastmap.
Yeah, if needed I will not block it.
>> (Unless we do very hacky tricks)
>> Also writing a fastmap is not cheap, we have to stop all IO. So, saving the read-counter will
>> be expensive and an performance problem.
>
> For me this one sounds like a strong point. We do not really want to
> make fastmap change more often.
Exactly.
Thanks,
//richard
next prev parent reply other threads:[~2014-11-12 15:37 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-26 13:49 [RFC/PATCH 0/5 v2] mtd:ubi: Read disturb and Data retention handling Tanya Brokhman
2014-10-26 13:49 ` Tanya Brokhman
2014-10-26 20:39 ` Richard Weinberger
2014-10-26 20:39 ` Richard Weinberger
2014-10-27 8:41 ` Tanya Brokhman
2014-10-27 8:41 ` Tanya Brokhman
2014-10-27 8:56 ` Richard Weinberger
2014-10-27 8:56 ` Richard Weinberger
2014-10-29 11:03 ` Tanya Brokhman
2014-10-29 12:00 ` Richard Weinberger
2014-10-31 13:12 ` Tanya Brokhman
2014-10-31 15:34 ` Richard Weinberger
2014-10-31 15:39 ` Richard Weinberger
2014-10-31 22:55 ` Jeff Lauruhn (jlauruhn)
2014-11-02 13:30 ` Tanya Brokhman
2014-11-07 9:21 ` Artem Bityutskiy
2014-11-07 9:21 ` Artem Bityutskiy
2014-11-02 13:25 ` Tanya Brokhman
2014-11-06 8:07 ` Artem Bityutskiy
2014-11-06 8:07 ` Artem Bityutskiy
2014-11-06 12:16 ` Tanya Brokhman
2014-11-07 8:55 ` Artem Bityutskiy
2014-11-07 8:58 ` Artem Bityutskiy
2014-11-11 20:36 ` Tanya Brokhman
2014-11-11 20:36 ` Tanya Brokhman
2014-11-11 21:39 ` Richard Weinberger
2014-11-11 21:39 ` Richard Weinberger
2014-11-12 12:07 ` Artem Bityutskiy
2014-11-12 12:07 ` Artem Bityutskiy
2014-11-12 13:01 ` Richard Weinberger
2014-11-12 13:01 ` Richard Weinberger
2014-11-12 13:32 ` Artem Bityutskiy
2014-11-12 13:32 ` Artem Bityutskiy
2014-11-12 15:37 ` Richard Weinberger [this message]
2014-11-12 15:37 ` Richard Weinberger
2014-11-12 11:55 ` Artem Bityutskiy
2014-11-12 11:55 ` Artem Bityutskiy
2014-11-13 12:13 ` Tanya Brokhman
2014-11-13 12:13 ` Tanya Brokhman
2014-11-13 13:36 ` Artem Bityutskiy
2014-11-13 13:36 ` Artem Bityutskiy
2014-11-23 8:13 ` Tanya Brokhman
2014-11-23 8:13 ` Tanya Brokhman
2014-11-02 13:23 ` Tanya Brokhman
2014-11-02 13:54 ` Richard Weinberger
2014-11-02 14:12 ` Tanya Brokhman
2014-11-02 17:02 ` Richard Weinberger
2014-11-02 17:18 ` Tanya Brokhman
[not found] <201411101307.03225.jbe@pengutronix.de>
2014-11-10 12:35 ` Richard Weinberger
2014-11-10 13:12 ` Juergen Borleis
2014-11-11 9:23 ` Richard Weinberger
2014-11-10 13:13 ` Ricard Wanderlof
2014-11-10 13:42 ` Juergen Borleis
2014-11-10 13:52 ` Ricard Wanderlof
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=54637EA5.1060906@nod.at \
--to=richard@nod.at \
--cc=dedekind1@gmail.com \
--cc=jlauruhn@micron.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=tlinder@codeaurora.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.