UBI: Fastmap: Make WL pool size 50% of user pool size
commit68e3226bd4e05c4be1f6286e4e708e1163ffa092
authorRichard Weinberger <richard@nod.at>
Wed, 8 Oct 2014 12:55:58 +0000 (8 14:55 +0200)
committerRichard Weinberger <richard@nod.at>
Thu, 26 Mar 2015 21:46:00 +0000 (26 22:46 +0100)
treeb6ab8d05e5ee883361718df5c162541f1bab6108
parent2d93fb3632755c170bc684989709e28ef3d22a80
UBI: Fastmap: Make WL pool size 50% of user pool size

Don't use a fixed size for the WL pool.
Make it instead 50% of the user pool.
We don't make it 100% as it is not as heavily used as the user pool.

Signed-off-by: Richard Weinberger <richard@nod.at>
drivers/mtd/ubi/build.c
drivers/mtd/ubi/ubi-media.h