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

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)

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

  reply	other threads:[~2019-07-18 12:19 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 [this message]
2019-07-18 12:27         ` Stefan Riedmüller

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=20190718121916.3pfn6qp2uql3uc42@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=s.riedmueller@phytec.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