File tree 4 files changed +6
-4
lines changed
4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,11 @@ package hugepageutil
2
2
3
3
import (
4
4
"bufio"
5
- "golang.org/x/xerrors"
6
5
"os"
7
6
"strconv"
8
7
"strings"
8
+
9
+ "golang.org/x/xerrors"
9
10
)
10
11
11
12
func CheckHugePages (minPages int ) error {
Original file line number Diff line number Diff line change @@ -2,9 +2,10 @@ package paths
2
2
3
3
import (
4
4
"errors"
5
- "github.com/filecoin-project/go-state-types/abi"
6
5
"os"
7
6
"path/filepath"
7
+
8
+ "github.com/filecoin-project/go-state-types/abi"
8
9
)
9
10
10
11
var parentCacheDir string
Original file line number Diff line number Diff line change @@ -18,5 +18,5 @@ func main() {
18
18
panic (err )
19
19
}
20
20
21
- supraffi .SupraSealInit (sectorSize , os .Args [2 ])
21
+ supraffi .SupraSealInit (uint64 ( sectorSize ) , os .Args [2 ])
22
22
}
Original file line number Diff line number Diff line change 5
5
"encoding/hex"
6
6
"encoding/json"
7
7
"fmt"
8
- "github.com/filecoin-project/curio/lib/hugepageutil"
9
8
"os"
10
9
"path/filepath"
11
10
"sync"
@@ -24,6 +23,7 @@ import (
24
23
"github.com/filecoin-project/curio/harmony/harmonydb"
25
24
"github.com/filecoin-project/curio/harmony/harmonytask"
26
25
"github.com/filecoin-project/curio/harmony/resources"
26
+ "github.com/filecoin-project/curio/lib/hugepageutil"
27
27
"github.com/filecoin-project/curio/lib/passcall"
28
28
"github.com/filecoin-project/curio/lib/paths"
29
29
"github.com/filecoin-project/curio/lib/slotmgr"
You can’t perform that action at this time.
0 commit comments