commit | a4c59a335ebfa5b7fc57db5de27e4e3efabe4467 | [log] [tgz] |
---|---|---|
author | Tomasz Moń <tomasz.mon@nordicsemi.no> | Wed Oct 26 08:56:12 2022 +0200 |
committer | Carles Cufí <carles.cufi@nordicsemi.no> | Wed Nov 02 10:31:58 2022 +0100 |
tree | b724fc14becfa9f895935767aebb254b399be304 | |
parent | 04059ec8a7275238fc980cf95eef58b2a8a94327 [diff] |
drivers: flashdisk: implement basic write caching Cache written data to avoid rewriting same flash page multiple times when writing subsequent flash pages. The cache is used for reads to account for reading not yet committed (i.e. dirty) page data. Speeding up reads is not intention of this patch and therefore the read path does not modify cache state. Fixes: #30212 Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>