Re: [PATCH] mtd: ubi: Max out default wear-leveling threshold

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux