[Skiboot] [PATCH v2] libflash/file: greatly increase perf of file_erase()

Stewart Smith stewart at linux.ibm.com
Thu Dec 13 10:19:37 AEDT 2018


Stewart Smith <stewart at linux.ibm.com> writes:
> Do 4096 byte chunks not 8 byte chunks. A ffspart invocation constructing
> a 64MB PNOR goes from a couple of seconds to ~0.1seconds with this
> patch.
>
> Signed-off-by: Stewart Smith <stewart at linux.ibm.com>
> ---
> v2: use git properly you git (i.e. don't remove a file)

Merged to master as of 1534ab1dca13403ade020be26989a95156f321e0
-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list