Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
938374de
Commit
938374de
authored
Jun 26, 2018
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
fe7efb94
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
4 deletions
+14
-4
.gitignore
.gitignore
+2
-0
Makefile
Makefile
+5
-1
wcfs/wcfs.go
wcfs/wcfs.go
+7
-3
No files found.
.gitignore
View file @
938374de
...
...
@@ -12,3 +12,5 @@ build/
perf.data*
core
wcfs/wcfs
Makefile
View file @
938374de
...
...
@@ -23,6 +23,7 @@ PYTHON ?= python
PYTEST
?=
$(PYTHON)
-m
pytest
PYBENCH
?=
$(PYTHON)
t/py.bench
VALGRIND
?=
valgrind
GO
?=
go
# use the same C compiler as python
# (for example it could be `gcc -m64` on a 32bit userspace)
...
...
@@ -33,7 +34,7 @@ ifeq ($(CC),)
$(error
"Cannot defermine py-CC"
)
endif
all
:
bigfile/_bigfile.so
all
:
bigfile/_bigfile.so
wcfs/wcfs
ccan_config
:=
3rdparty/ccan/config.h
...
...
@@ -41,6 +42,9 @@ ccan_config := 3rdparty/ccan/config.h
bigfile/_bigfile.so
:
$(ccan_config) FORCE
$(PYTHON)
setup.py ll_build_ext
--inplace
wcfs/wcfs
:
FORCE
cd
wcfs
&&
$(GO)
build
FORCE
:
...
...
wcfs/wcfs.go
View file @
938374de
...
...
@@ -17,13 +17,13 @@
// See COPYING file for full licensing terms.
// See https://www.nexedi.com/licensing for rationale and options.
// P
ackage
wcfs provides filesystem server with file data backed by wendelin.core arrays.
// P
rogram
wcfs provides filesystem server with file data backed by wendelin.core arrays.
//
// Intro
//
// Each wendelin.core array (ZBigArray) is actually a linear file (ZBigFile)
// and array metadata like dtype, shape and strides associated with it. This
// p
ackage
exposes as files only ZBigFile data and leaves rest of
// p
rogram
exposes as files only ZBigFile data and leaves rest of
// array-specific handling to client. Every ZBigFile is exposed as one separate
// file that represents whole ZBigFile's data.
//
...
...
@@ -216,7 +216,7 @@
//
// XXX we later could implement "write-directly" mode where clients would write
// data directly into the file.
package
wcfs
package
main
// Notes on OS pagecache control:
...
...
@@ -240,3 +240,7 @@ package wcfs
// we can currently workaround it with using writeback mode (see !is_wb in the
// link above), but better we have proper FUSE flag for filesystem server to
// tell the kernel it is fully responsible for invalidating pagecache.
func
main
()
{
}
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