commit | 6830356466a57db21c7bc31bf3be4e61189e145b | [log] [tgz] |
---|---|---|
author | Richard Weinberger <richard@nod.at> | Mon Nov 10 15:39:17 2014 +0100 |
committer | Richard Weinberger <richard@nod.at> | Thu Mar 26 22:17:47 2015 +0100 |
tree | 881282f4d06ed98f9aed6bbfaa4b3dbc32b588c8 | |
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>