Commit 9c95dbd9 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 5ade934c
......@@ -20,7 +20,7 @@
// Package wcfs provides WCFS client integrated with user-space virtual memory manager.
// See wcfs.h for package overview.
// wcfs client organization.
// Wcfs client organization
//
// - need to maintain pinner map registry
//
......
......@@ -19,6 +19,8 @@
// Package wcfs provides WCFS client integrated with user-space virtual memory manager.
//
// XXX view service provided
//
// - `WCFS` represents filesystem-level connection to wcfs server.
// - `Conn` represents logical connection that provides view of data on wcfs
// filesystem as of particular database state.
......
......@@ -19,6 +19,6 @@
// +build !race
package main
package race
const raceBuild = false
const Enabled = false
......@@ -19,6 +19,6 @@
// +build race
package main
package race
const raceBuild = true
const Enabled = true
......@@ -507,6 +507,8 @@ import (
"github.com/hanwen/go-fuse/fuse"
"github.com/hanwen/go-fuse/fuse/nodefs"
"github.com/pkg/errors"
"./internal/race"
)
// Root represents root of wcfs filesystem.
......@@ -2287,7 +2289,7 @@ func _main() (err error) {
log.Infof("start %q %q", mntpt, zurl)
gover := "(built with " + runtime.Version()
if raceBuild {
if race.Enabled {
gover += " -race"
}
gover += ")"
......
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