Commit Graph

257 Commits

Author SHA1 Message Date
Łukasz Magiera
52782b6def ffiwrapper: Fix AddPiece with multireaders 2020-06-09 22:10:14 +02:00
Łukasz Magiera
57adda40f9 ffiwrapper: Test FD leaks 2020-06-09 12:24:03 +02:00
Łukasz Magiera
edb4a1ee9e Fix addpiece and unsealRange 2020-06-09 12:06:21 +02:00
Łukasz Magiera
9dfe8851f8 vet fixes 2020-06-09 11:14:25 +02:00
Łukasz Magiera
3cd79b6fec wip fixing addpiece 2020-06-09 11:13:23 +02:00
Łukasz Magiera
796af1351c v27 parameters 2020-06-09 01:02:44 +02:00
Łukasz Magiera
bccaf69712
Merge pull request #43 from filecoin-project/feat/better-fault-checks
A bunch of PoSt improvements
2020-06-08 22:32:46 +02:00
Łukasz Magiera
1902049972 mock: Update interface 2020-06-08 20:30:48 +02:00
Łukasz Magiera
375a6b4d38 verifier: Handle sector unlocking correctly 2020-06-08 19:57:34 +02:00
Łukasz Magiera
8e489cdbdb verifier: Skip sectors which can't be acquired 2020-06-08 19:36:41 +02:00
Łukasz Magiera
8c58fcb1cc verifier: update interfaces 2020-06-08 19:22:15 +02:00
Łukasz Magiera
547bf93f4a roprov: Use TryLock 2020-06-08 18:57:56 +02:00
Łukasz Magiera
1a5af8cafd Improve fault checker 2020-06-08 18:47:59 +02:00
Łukasz Magiera
4b9317d1f0
Merge pull request #42 from filecoin-project/feat/allow-commit1-anywhere
Allow Commit1 anywhere
2020-06-05 21:27:46 +02:00
Łukasz Magiera
f92ef92193 Make ctxCond nicer 2020-06-05 20:04:59 +02:00
Łukasz Magiera
958f74340b mock: Fix concurrent map writes in AddPiece 2020-06-05 18:43:47 +02:00
Łukasz Magiera
c06dc750da Address review 2020-06-05 16:52:59 +02:00
Łukasz Magiera
13176e8b53 Cleanup PathType usages 2020-06-04 23:30:20 +02:00
Łukasz Magiera
05d703e53b Fix testworker 2020-06-04 21:19:15 +02:00
Łukasz Magiera
b3cde66bd2 Recover from half-successful FinalizeSector 2020-06-04 21:15:15 +02:00
Łukasz Magiera
aac3c448a4 Drop AcquireSector locks 2020-06-04 21:00:16 +02:00
Łukasz Magiera
b5674f12f0 Allow FinalizeSector on all nodes 2020-06-03 23:45:05 +02:00
Łukasz Magiera
a39bc94c58 Integrate index locks into manager 2020-06-03 22:00:43 +02:00
Łukasz Magiera
d9d3ccf6c6 index: Implement basic global sector locking system 2020-06-03 21:21:27 +02:00
Łukasz Magiera
9df0cdf193
Merge pull request #34 from filecoin-project/feat/unseal
Unseal support
2020-05-29 19:52:41 +02:00
Łukasz Magiera
9e7eb3feef Remove dead commented code 2020-05-29 19:40:49 +02:00
Łukasz Magiera
8b9dbc22e5 fr32: Fix tests 2020-05-29 19:06:44 +02:00
Łukasz Magiera
2184f21dd2 make unseal actually work in lotus 2020-05-29 18:57:44 +02:00
Łukasz Magiera
3b698db127 fr32: real PadWriter 2020-05-29 17:21:21 +02:00
Łukasz Magiera
2a70ff3cf3 wireup fr32 padding to the unsealed file 2020-05-29 01:33:00 +02:00
Łukasz Magiera
55867ab48b fr32: io.Reader utils 2020-05-29 00:17:29 +02:00
Łukasz Magiera
d38296a553 fr32: More testing 2020-05-28 19:49:25 +02:00
Łukasz Magiera
4db8351348 fr32 utils 2020-05-28 19:15:15 +02:00
Łukasz Magiera
e3d3887a0b Address review 2020-05-26 21:08:51 +02:00
Łukasz Magiera
ffaeb89347 Merge remote-tracking branch 'origin/master' into feat/unseal 2020-05-26 19:05:35 +02:00
Łukasz Magiera
8586b98c1a
Merge pull request #40 from filecoin-project/deps/update-ffi
update to latest filecoin-ffi
2020-05-26 18:37:25 +02:00
Łukasz Magiera
9690e84722 mod tidy 2020-05-26 18:36:19 +02:00
Łukasz Magiera
65f04da920 mock: Update interface 2020-05-26 16:39:25 +02:00
Łukasz Magiera
6fe92ff13c go fmt 2020-05-26 10:25:29 +02:00
Łukasz Magiera
793d332002 Move UnpaddedByteIndex from FFI wrapper 2020-05-26 10:25:17 +02:00
Łukasz Magiera
e06cfd24cf mock: Update unseal method 2020-05-26 10:19:42 +02:00
Jeromy
a59ca7536a update to latest filecoin-ffi 2020-05-21 18:19:46 -07:00
Łukasz Magiera
8898eb8206 Merge remote-tracking branch 'origin/master' into feat/unseal 2020-05-20 22:29:05 +02:00
Łukasz Magiera
33673a30c7 Wire up unsealing logic, track primary sector copies 2020-05-20 18:36:46 +02:00
Łukasz Magiera
21f02924c1
Merge pull request #39 from jsign/jsign/ffx
mock: produce more valid PoSt proof
2020-05-20 16:30:55 +02:00
Ignacio Hagopian
806f7b33aa
produce more valid post proof
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
2020-05-20 11:16:45 -03:00
Whyrusleeping
ca37a9086f
Merge pull request #38 from jsign/jsign/postfake
mock: add faked post
2020-05-19 17:50:31 -07:00
Ignacio Hagopian
f9e495ac49
mock: add faked post
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
2020-05-19 21:27:21 -03:00
Łukasz Magiera
8f70192bf3 Missing stuff 2020-05-19 18:11:56 +02:00
Łukasz Magiera
05bc399afc Update testworker 2020-05-19 18:09:48 +02:00