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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Joshua
wendelin.core
Commits
290a8662
Commit
290a8662
authored
Jan 08, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
62a2fddc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
7 deletions
+15
-7
setup.py
setup.py
+1
-1
wcfs/internal/wcfs.cpp
wcfs/internal/wcfs.cpp
+3
-4
wcfs/internal/wcfs.h
wcfs/internal/wcfs.h
+11
-2
No files found.
setup.py
View file @
290a8662
...
...
@@ -265,7 +265,7 @@ setup(
language
=
'c'
),
DSO
(
'wendelin.wcfs.internal.libwcfs'
,
[
'wcfs/internal/wcfs
_virtmem
.cpp'
,
[
'wcfs/internal/wcfs.cpp'
,
'wcfs/internal/wcfs_watchlink.cpp'
,
'wcfs/internal/wcfs_misc.cpp'
],
dsos
=
[
'wendelin.bigfile.libvirtmem'
])],
...
...
wcfs/internal/wcfs
_virtmem
.cpp
→
wcfs/internal/wcfs.cpp
View file @
290a8662
...
...
@@ -17,11 +17,10 @@
// See COPYING file for full licensing terms.
// See https://www.nexedi.com/licensing for rationale and options.
// wcfs_virtmem provides wcfs client integrated with user-spce virtmem layer.
//
// XXX provides isolated view.
// Package wcfs provides WCFS client integrated with user-space virtual memory manager.
// See wcfs.h for package overview.
//
XXX wcfs_virtmem
organization.
//
wcfs client
organization.
//
// - need to maintain pinner map registry
//
...
...
wcfs/internal/wcfs.h
View file @
290a8662
...
...
@@ -17,7 +17,16 @@
// See COPYING file for full licensing terms.
// See https://www.nexedi.com/licensing for rationale and options.
// XXX doc
// Package wcfs provides WCFS client integrated with user-space virtual memory manager.
//
// - `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.
// - `FileH` represent isolated file view under Conn.
// - `Mapping` represents one memory mapping of FileH.
//
// XXX text
// XXX provides isolated view.
#ifndef _NXD_WCFS_H_
#define _NXD_WCFS_H_
...
...
@@ -148,7 +157,7 @@ public:
pair
<
Mapping
,
error
>
mmap
(
int64_t
blk_start
,
int64_t
blk_len
,
VMA
*
vma
=
nil
);
};
// Mapping represents one mapping of FileH.
// Mapping represents one m
emory m
apping of FileH.
typedef
refptr
<
struct
_Mapping
>
Mapping
;
struct
_Mapping
:
object
{
FileH
fileh
;
...
...
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