Scott Lystig Fritchie
370c57b78a
Bug: corfurl:read_repair_chain() should use trim when it encounters error_trimmed
2015-03-02 18:03:09 +09:00
Scott Lystig Fritchie
fd32bcb308
Fix PULSE model to accomodate API change from previous commit.
...
Now 1+ trim & fill transitions are collapsed to a single 'w_t+' atom.
The atom name is a bit odd; think about regexps and it hopefully
makes sense.
2015-03-02 18:03:09 +09:00
Scott Lystig Fritchie
431827f65e
Allow racing trim/fill and read-repair to simply "win".
...
This exposes a bug in the PULSE model, now that we can have multiple
successful fill/trim for the same LPN.
2015-03-02 18:03:09 +09:00
Scott Lystig Fritchie
5edee3a2cf
Don't bother adding 2 when picking an LPN for fill & trim
2015-03-02 18:03:09 +09:00
Scott Lystig Fritchie
d2562588f2
Move the lists:reverse() in make_chains() to preserve input's order in the output
2015-03-02 18:03:09 +09:00
Scott Lystig Fritchie
e791876212
Fix silly model error when calculating values
2015-03-02 18:03:09 +09:00
Scott Lystig Fritchie
f5c4474669
Derp, turn off TRIP_no_append_duplicates
2015-03-02 18:03:09 +09:00
Scott Lystig Fritchie
b3ed9ef51c
Add fill checking to PULSE model, minimal API coverage is complete
2015-03-02 18:03:09 +09:00
Scott Lystig Fritchie
7a46709c13
Change transition type names to make better invalid transition detection
2015-03-02 18:03:09 +09:00
Scott Lystig Fritchie
8a56771182
Add better condition for perhaps_trip_fill_page()
2015-03-02 18:03:09 +09:00
Scott Lystig Fritchie
db6fa3d895
Fix two bugs found by PULSE in corfurl_flu.erl, yay!
2015-03-02 18:03:09 +09:00
Scott Lystig Fritchie
86d4583aef
Add fill support to the PULSE model
2015-03-02 18:03:09 +09:00
Scott Lystig Fritchie
7dba8beae9
Refactor PULSE test for easier checking, prior to adding fill & trim.
2015-03-02 18:03:09 +09:00
Scott Lystig Fritchie
78019b402f
Refactor the PULSE model testing error 'trip' code
2015-03-02 18:03:09 +09:00
Scott Lystig Fritchie
c80921de25
Add scan_forward() command, no result checking yet
2015-03-02 18:03:09 +09:00
Scott Lystig Fritchie
fb6b1cdc3c
Fix read_page() model problem: no more false positives!
2015-03-02 18:03:09 +09:00
Scott Lystig Fritchie
e9851767fc
Add read_page() temporal check
2015-03-02 18:03:09 +09:00
Scott Lystig Fritchie
a7aff2f141
Dumbdumbdumb don't interfere with event_logger:event() duh!
2015-03-02 18:03:09 +09:00
Scott Lystig Fritchie
c14e1facf4
Add read_approx() to the PULSE model, only 5% correctness checks done
2015-03-02 18:03:08 +09:00
Scott Lystig Fritchie
572d1803d0
Add (mostly) temporal logic checking for exactly-once append_page().
...
Also, for peace of mind (I hope), I've added this -ifndef to introduce
a bug that should cause the new exactly-once append_page() check to fail.
This should make it easier to change the model and *TEST* the changes,
to avoid breaking the model without ever knowing it.
2015-03-02 18:03:08 +09:00
Scott Lystig Fritchie
25bf64a03c
Just in case commit: WIP
2015-03-02 18:03:08 +09:00
Scott Lystig Fritchie
58ced8d14c
Add PULSE control over sequencer handing out duplicate page numbers
2015-03-02 18:03:08 +09:00
Scott Lystig Fritchie
21a3fd6d07
Use temporal logic for check_trace()
2015-03-02 18:03:08 +09:00
Scott Lystig Fritchie
e0ec95e8f7
Added small PULSE usage sketch in docs/corfurl.md
2015-03-02 18:03:08 +09:00
Scott Lystig Fritchie
b430fa479c
PULSE condition checking is only 98% embarassing
2015-03-02 18:03:08 +09:00
Scott Lystig Fritchie
bcc6cf1e6a
PULSE bugfix: race with finish_init message
2015-03-02 18:03:08 +09:00
Scott Lystig Fritchie
a294a0eff0
Skeleton of PULSE test created, first bug (race in sequencer init) is found, huzzah!
2015-03-02 18:03:05 +09:00
Scott Lystig Fritchie
feed231d5e
Move EUnit test code to test subdir
2015-03-02 17:59:31 +09:00
Scott Lystig Fritchie
3963ce44f0
More sanity checking for fill() in smoke test
2015-03-02 17:57:31 +09:00
Scott Lystig Fritchie
3d2be7255f
Basic smoke test for read repair
2015-03-02 17:57:31 +09:00
Scott Lystig Fritchie
6014b0584e
Fix read() response to a prior fill
2015-03-02 17:57:31 +09:00
Scott Lystig Fritchie
c23aeabc20
Read-repair, not tested
2015-03-02 17:57:30 +09:00
Scott Lystig Fritchie
945635f837
Basic scan_forward done
2015-03-02 17:57:30 +09:00
Scott Lystig Fritchie
05a71eebb0
corfurl:read_page() done, no read-repair yet
2015-03-02 17:57:30 +09:00
Scott Lystig Fritchie
72bf329e1c
Add fledgling log implementation based on CORFU papers
2015-03-02 17:57:27 +09:00
Scott Lystig Fritchie
2bf76b5727
Initial documentation import
2015-03-02 17:34:14 +09:00
Scott Lystig Fritchie
ab31a27823
Add APL v2 LICENSE file
2015-03-02 17:34:14 +09:00
Scott Lystig Fritchie
3524d1bc75
Add APL v2 LICENSE file
2015-03-02 17:12:39 +09:00
Scott Lystig Fritchie
75154e0892
Initial documentation import
2015-03-02 13:32:56 +09:00
Scott Lystig Fritchie
880812fb1e
Initial commit
2015-02-18 14:40:05 +09:00