mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Stefan Riedmüller" <s.riedmueller@phytec.de>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] mtd: ubi: Max out default wear-leveling threshold
Date: Thu, 18 Jul 2019 14:27:25 +0200	[thread overview]
Message-ID: <44406615-12ec-2ff4-bc02-d69a3e0cc031@phytec.de> (raw)
In-Reply-To: <20190718121916.3pfn6qp2uql3uc42@pengutronix.de>

Hi Sascha,

On 18.07.19 14:19, Sascha Hauer wrote:
> On Thu, Jul 18, 2019 at 10:24:52AM +0200, Stefan Riedmüller wrote:
>> Hi Sascha,
>>
>> do you guys have an idea or proposal how to disable the wear-leveling
>> properly? I will gladly take another look at it and it would be nice to get
>> your input as I only started to dive into ubi.
> 
> What I meant was simply something like this:
> 
> #define UBI_WL_THRESHOLD INT_MAX
> 
> Put a comment above it why it is done and remove the Kconfig entry for
> it and be done.
> 
> We found out that UBI wear leveling doesn't work reliably in barebox, so
> we should make sure that it's disabled completely and not just change
> the defaults (which could be changed back by an unwary user)

I understand. I had something different in mind.

I'll change it and send a v2.

Stefan

> 
> Sascha
> 

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2019-07-18 12:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-10 11:27 Stefan Riedmueller
2019-07-11  7:01 ` Sascha Hauer
2019-07-11 11:04   ` Stefan Riedmüller
2019-07-18  8:24     ` Stefan Riedmüller
2019-07-18 12:19       ` Sascha Hauer
2019-07-18 12:27         ` Stefan Riedmüller [this message]

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=44406615-12ec-2ff4-bc02-d69a3e0cc031@phytec.de \
    --to=s.riedmueller@phytec.de \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.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