mbed-os/features
Christopher Haster 73e87a2f43 littlefs: Fix incorrect lookahead population before ack
Rather than tracking all in-flight blocks blocks during a lookahead,
littlefs uses an ack scheme to mark the first allocated block that
hasn't reached the disk yet. littlefs assumes all blocks since the
last ack are bad or in-flight, and uses this to know when it's out
of storage.

However, these unacked allocations were still being populated in the
lookahead buffer. If the whole block device fits in the lookahead
buffer, _and_ littlefs managed to scan around the whole storage while
an unacked block was still in-flight, it would assume the block was
free and misallocate it.

The fix is to only fill the lookahead buffer up to the last ack.
The internal free structure was restructured to simplify the runtime
calculation of lookahead size.
2018-02-23 17:08:31 -06:00
..
FEATURE_BLE Avoid importing <memory> as this causes a typedef conflict on `error_t` whien compiling with gcc "-std=gnu++11" or above 2018-02-23 17:08:30 -06:00
FEATURE_COMMON_PAL CHANGELOG updated 2018-01-27 00:57:47 -06:00
FEATURE_LWIP/lwip-interface lwip: enable EMAC IPv6 support 2018-02-23 17:08:28 -06:00
FEATURE_UVISOR Update uvisor-tests.txt to disable EFM32 in Jenkins 2018-02-09 14:18:45 +00:00
TESTS/filesystem Added test to catch multiple nested MBRs 2018-02-23 17:08:28 -06:00
filesystem littlefs: Fix incorrect lookahead population before ack 2018-02-23 17:08:31 -06:00
frameworks Unity framework : add float support in error print 2017-12-20 16:05:43 +00:00
mbedtls Refine internal_mpi_write_eccreg in ECP alter. 2018-02-23 17:08:31 -06:00
nanostack Squashed 'features/nanostack/FEATURE_NANOSTACK/coap-service/' changes from d0a2597..8689fca 2018-01-27 00:57:35 -06:00
netsocket Correct return value of nsapi_dns_query_multiple 2018-02-09 14:18:40 +00:00
storage/FEATURE_STORAGE Update mbed OS to handle ARMC6 requirements 2017-09-11 13:20:32 -05:00
unsupported Fix clearing of ISTAT in Kinetis USB 2018-01-27 00:57:55 -06:00