182 Commits

Author SHA1 Message Date
70407b7d70 More docs 2016-08-25 08:13:06 -04:00
29f03eef90 Add the Seek into the test input 2016-08-24 19:56:51 -04:00
b475edfcc3 Add lseek call and short doc 2016-08-24 19:44:14 -04:00
253777eba7 Add some initial tests 2016-08-24 08:50:26 -04:00
b78049f5b5 Make it compile properly 2016-08-24 08:39:31 -04:00
bae70314d3 Add afl_test test. Not run by default 2016-08-24 08:32:41 -04:00
4d89d9b190 Added test for small amounts of free space 2016-08-17 09:02:25 -04:00
39937743fb 0.3.6 readme updates 0.3.6 2016-08-09 19:16:18 +02:00
1c78cd6207 fix range bug in ix memory mapping #98 2016-08-09 19:12:07 +02:00
136a40fa68 Fix travis build, take 2 #97 2016-08-08 19:27:07 +02:00
a5bb315982 Fix travis build #97 2016-08-08 19:17:23 +02:00
87856826e1 Add index memory mapping feature #97 2016-08-08 19:07:05 +02:00
e04a67bb80 Optimize SPIFFS_read for large files #96 2016-08-05 22:42:48 +02:00
c0fb7d2bc0 readme: wording, clarifications 2016-08-05 20:21:19 +02:00
3a7f265143 forized the long list of build combinations 2016-08-03 14:11:45 +02:00
31f5452062 Test for trying out temporal cache #95 2016-08-03 14:10:51 +02:00
6d548fb4ae Add temporal cache for opening files #95
Piggyback on the file descriptor buffer. Do not wipe object header
whereabout info when closing file descriptors. Keep updating closed
file descriptors. When opening a file, search closed file
descriptors for filename match using djb2 hash. When renaming files,
scan thru all fd:s for matching hashes and rehash them.
Use a score system for filenames so files opened often have less
chance of being wiped of info when opening a new fd.
2016-08-03 14:07:44 +02:00
ab2b294323 merge master 2016-07-31 21:59:01 +02:00
81fb3fadbe more robust gc #93 2016-07-31 21:56:45 +02:00
22bb8676f5 Merge branch 'master' of https://github.com/pellepl/spiffs 2016-07-31 14:27:03 +02:00
ba5307651e gc commenting, recapping old thoughts 2016-07-31 14:26:46 +02:00
0b8b811e5a Added travis CI build status 2016-07-31 13:29:26 +02:00
b45c8ec71c prepare for travis autotesting 2016-07-31 13:25:01 +02:00
55c0ff48e7 minor: test, support larger page sizes in cache test 2016-07-31 11:06:51 +02:00
6f288013b1 fix double write of same data in certain cache situations 2016-07-31 10:59:27 +02:00
a1539c3776 fixed open bug in READ_ONLY builds 2016-07-30 22:28:42 +02:00
a1f0b683e3 possibility to dump fs to file in test framework 2016-07-30 22:25:37 +02:00
c6e94fdca5 file not visible in SPIFFS_readdir #90
Iterator bug - if an iteration was callbacked at last page in block -1,
the resumed iteration would skip the last page in block.
Fixing this revealed another bug, where free page marker was not advanced
but pointing to the same page found before when searching for new free page.
This is probably not a problem, as when searching for free pages the found
free page always becomes occupied. A new free page scan will simply skip
the previously found free page, which has been allocated by now. However,
it is suboptimal. Also, it might have messed with the wear leveling a bit.
2016-06-07 09:49:41 +02:00
feae352275 fix testbench lock compile warning 2016-06-07 09:13:56 +02:00
2ddbfbeed3 testbench: load and mount dump 2016-06-07 09:02:23 +02:00
de054f4590 make testbench compile under certain configs 2016-06-07 09:01:42 +02:00
d1bf624596 cache load code cleanup #92 2016-06-05 23:12:17 +02:00
592083982b fix build-all target in make 2016-05-08 10:32:43 +02:00
7bf5d772f0 Fix lock/unlock symmetry #88 #87 2016-05-08 09:19:21 +02:00
bdcf008e75 Merge branch 'master' of https://github.com/pellepl/spiffs 0.3.5 2016-04-27 19:57:31 +02:00
9b25495871 v0.3.5 release readme 2016-04-27 19:57:14 +02:00
384d1bdd12 v0.3.5 release readme 2016-04-27 19:55:14 +02:00
7edb356f1a fixed a bug in fs check 2016-04-27 18:54:48 +02:00
7b4d5abf3c fixed a bunch of test bench issues 2016-04-27 18:54:12 +02:00
3565d131f2 remove gcc dependencies from testbench #86 2016-04-21 11:31:01 +02:00
636e1186f4 Let api return actual errorcodes #84 2016-04-06 20:17:44 +02:00
c83abb8339 Merge branch 'master' of https://github.com/pellepl/spiffs 2016-04-06 20:11:31 +02:00
8b6ca5de64 Fix compiler warnings for non-gcc #83 2016-04-06 20:11:23 +02:00
78f1869db2 File systems configuration and performance depend on static build-time configuration #69 2016-04-06 20:02:00 +02:00
602a891d7e moved test path to shared memory folder 2016-04-04 08:29:18 +02:00
bb63a559ec fixed files.mk error 2016-03-31 23:30:16 +02:00
41ab8f3170 Unable to recover from filesystem full #82 2016-03-31 21:58:15 +02:00
1ab4be0953 Define SPIFFS_O_* flags #80 2016-03-20 22:37:03 +01:00
b5d20d20d1 Problem with file names that are long #79 2016-03-18 21:27:55 +01:00
dc398a1f6f test bench must allocate spiffs buffers dynamically #78 #77 2016-03-16 21:19:38 +01:00