diff options
author | Richard Weinberger <richard@nod.at> | 2014-11-10 09:39:17 -0500 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2015-03-26 17:17:47 -0400 |
commit | 6830356466a57db21c7bc31bf3be4e61189e145b (patch) | |
tree | 881282f4d06ed98f9aed6bbfaa4b3dbc32b588c8 /drivers/gpio/gpio-clps711x.c | |
parent | 691a870563b4fe9e014a309477fb8f9fe41b36bb (diff) |
UBI: Fastmap: Make ubi_refill_pools() fair
Currently ubi_refill_pools() first fills the first and then
the second one.
If only very few free PEBs are available the second pool can get
zero PEBs.
Change ubi_refill_pools() to distribute free PEBs fair between
all pools.
Signed-off-by: Richard Weinberger <richard@nod.at>
Reviewed-by: Guido MartÃnez <guido@vanguardiasur.com.ar>
Diffstat (limited to 'drivers/gpio/gpio-clps711x.c')
0 files changed, 0 insertions, 0 deletions