Commit Graph

146 Commits

Author SHA1 Message Date
Ł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
Łukasz Magiera
78c0b8f985 ffiwrapper: Test unsealing 2020-05-19 01:03:49 +02:00
Łukasz Magiera
86f3c0916e ffiwrapper: UnsealPiece 2020-05-19 00:08:11 +02:00
Łukasz Magiera
a9631587f0
Merge pull request #33 from filecoin-project/feat/sched-sequential-ids
sched: Take sector numbers into accout when scheduling work
2020-05-18 15:31:36 +02:00
Łukasz Magiera
f577c2120c Partial Files, use for sealing 2020-05-18 15:22:35 +02:00
Łukasz Magiera
e620df4c43
Merge pull request #37 from filecoin-project/feat/veryverysimplefaultchecks
Very simple fault check function
2020-05-16 23:22:31 +02:00
Łukasz Magiera
450b0b8acb very simple fault check function 2020-05-16 23:08:24 +02:00
Łukasz Magiera
4065c94c1f Scaffolding for UnsealRange 2020-05-16 01:10:04 +02:00
Łukasz Magiera
920c43f589
Merge pull request #36 from filecoin-project/fix/less-commit2-mem
resources: relax memory requirements for commit2
2020-05-15 20:17:56 +02:00
Łukasz Magiera
20817dc51d resources: relax memory requirements for commit2 2020-05-15 14:33:04 +02:00
Łukasz Magiera
617d34b9de sched: Take sector numbers into accout when scheduling work 2020-05-14 01:58:01 +02:00
Łukasz Magiera
4051533cc4
Merge pull request #32 from filecoin-project/fix/pc1-fail-cleanup
Cleanup before retrying precommit1
2020-05-13 20:52:32 +02:00