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

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

 



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@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