kyrreaa

Results 75 comments of kyrreaa

I also have similar issue and have tracked it down to wrap-around of block allocator. My blocks are 64x4096 (erase block size) with write blocks (pages) 4096 bytes. I also...

I'm using LittleFS on a 8Gbit NAND flash and would love to trigger compaction to speed up my directory listings later. Since my particular NAND allows 4 partial page writes...

Agree completely on the abuse of NAND masking. I was more thinking of the ability to write partial blocks and combining this knowledge with the erase-block information. An erase wears...

I ran my test again now that 2.9 is out! ![image](https://github.com/littlefs-project/littlefs/assets/3826624/d8a817c8-7282-4408-88d4-848a4a2fef4b) Looks like there are small improvements in listing speed! (Edit: Nope, it was caused by other compiler changes. But...

@geky I am using timing routines (almost ns accurate) built into my NAND (over SPIM on nRF53) to time the read portions that happens during file creation and writes. I...

Well, there is nothing written to the first block allocated to a file right now, except filedata (and checksum?) but next block starts with CTZ data pointing to the first...

The issue with syncing on partial file write or automatically all the time is the reallocation of data if it is to be appended afterwards. The issue is you do...

> To this end I've been working on improving sync performance by storing incomplete blocks in the metadata (like inline files). This should avoid most tail block reallocations. Ooooh! I...

I'm looking forward to progress on this as well. Not from actual storage utilization standpoint but more for efficiency and data recoverability. I notice the structure put on disk aligning...

With inline enabled it seems to be no way to actually utilize the first inline tag written as it is written during creation of the file upon open, and no...