Commit b47715f9 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent e80dcbde
? 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)
......
......@@ -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.
......
......@@ -31,8 +31,6 @@ import (
"lab.nexedi.com/kirr/go123/exc"
)
// XXX -> testDbEntry ?
// one database transaction record
type dbEntry struct {
Header TxnHeader
......
......@@ -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))
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment