Commit 43ebcfea authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 7104ff07
...@@ -67,7 +67,7 @@ from .internal._wcfs import \ ...@@ -67,7 +67,7 @@ from .internal._wcfs import \
from six import reraise from six import reraise
"""
# WCFS represents filesystem-level connection to wcfs server. # WCFS represents filesystem-level connection to wcfs server.
# #
# Use join to create it. # Use join to create it.
...@@ -395,7 +395,7 @@ def unmap(mmap): ...@@ -395,7 +395,7 @@ def unmap(mmap):
f = mmap.file f = mmap.file
f.mmaps.remove(mmap) f.mmaps.remove(mmap)
"""
...@@ -457,7 +457,7 @@ def _open(wc, obj, mode='rb', at=None): ...@@ -457,7 +457,7 @@ def _open(wc, obj, mode='rb', at=None):
fd = os.open(path, os.O_RDONLY) fd = os.open(path, os.O_RDONLY)
return FileH(fd) return FileH(fd)
"""
# FileH is handle to opened bigfile/X. # FileH is handle to opened bigfile/X.
# #
# XXX it mimics BigFileH and should be integrated into virtmem (see fileh_open_overlay) # XXX it mimics BigFileH and should be integrated into virtmem (see fileh_open_overlay)
......
...@@ -21,7 +21,11 @@ ...@@ -21,7 +21,11 @@
# cython: language_level=2 # cython: language_level=2
# distutils: language=c++ # distutils: language=c++
# XXX doc # Package _wcfs.pyx provides Python-wrappers around WatchLink and WCFS pinner
# that are used in wcfs_test.py to verify WCFS base-layer mmap functionality.
#
# At functional level WCFS pinner is verified when running wendelin.core array
# tests in wcfs mode.
from golang cimport chan, structZ, string, error, refptr, pychan from golang cimport chan, structZ, string, error, refptr, pychan
from golang cimport context from golang cimport context
...@@ -33,7 +37,6 @@ from libcpp.vector cimport vector ...@@ -33,7 +37,6 @@ from libcpp.vector cimport vector
cdef extern from *: cdef extern from *:
ctypedef bint cbool "bool" ctypedef bint cbool "bool"
from libc.stdio cimport printf # XXX temp
from libc.stdint cimport int64_t, uint64_t from libc.stdint cimport int64_t, uint64_t
from ZODB.utils import p64 from ZODB.utils import p64
......
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