Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefane Fermigier
neo
Commits
b47715f9
Commit
b47715f9
authored
Dec 29, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
e80dcbde
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
5 deletions
+2
-5
go/NOTES-go
go/NOTES-go
+1
-1
go/zodb/storage/fs1/filestorage.go
go/zodb/storage/fs1/filestorage.go
+1
-0
go/zodb/storage/fs1/filestorage_test.go
go/zodb/storage/fs1/filestorage_test.go
+0
-2
go/zodb/str.go
go/zodb/str.go
+0
-2
No files found.
go/NOTES-go
View file @
b47715f9
? Load vs "deleted" -> err or data=nil ? -> stor.Conn flag
? IStorage.Load -> per storage connection
? random access -> mmap
...
...
@@ -17,6 +16,7 @@ findrunnable
runqsteal
? runqgrab
schedule <- top entry
868c8b37 (runtime: only sleep before stealing work from a running P)
-> stopm() // stop and restart m after waiting for work
notesleep(m.park)
...
...
go/zodb/storage/fs1/filestorage.go
View file @
b47715f9
...
...
@@ -127,6 +127,7 @@ var dhPool = sync.Pool{New: func() interface{} { return &DataHeader{} }}
func
DataHeaderAlloc
()
*
DataHeader
{
return
dhPool
.
Get
()
.
(
*
DataHeader
)
}
// Free puts dh back into DataHeader freelist.
//
// Caller must not use dh after call to Free.
...
...
go/zodb/storage/fs1/filestorage_test.go
View file @
b47715f9
...
...
@@ -31,8 +31,6 @@ import (
"lab.nexedi.com/kirr/go123/exc"
)
// XXX -> testDbEntry ?
// one database transaction record
type
dbEntry
struct
{
Header
TxnHeader
...
...
go/zodb/str.go
View file @
b47715f9
...
...
@@ -52,12 +52,10 @@ func (oid Oid) String() string {
}
func
(
tid
Tid
)
XFmtString
(
b
[]
byte
)
[]
byte
{
// XXX also print "tid:" prefix ?
return
xfmt
.
AppendHex016
(
b
,
uint64
(
tid
))
}
func
(
oid
Oid
)
XFmtString
(
b
[]
byte
)
[]
byte
{
// XXX also print "oid:" prefix ?
return
xfmt
.
AppendHex016
(
b
,
uint64
(
oid
))
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment