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
6ada59d3
Commit
6ada59d3
authored
Jul 09, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
72eb63d0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
9 deletions
+5
-9
include/wendelin/bigfile/file.h
include/wendelin/bigfile/file.h
+4
-8
include/wendelin/bigfile/virtmem.h
include/wendelin/bigfile/virtmem.h
+1
-1
No files found.
include/wendelin/bigfile/file.h
View file @
6ada59d3
...
...
@@ -77,15 +77,11 @@ struct bigfile_ops {
* @addr NULL - mmap at anywhere, !NULL - mmap exactly at addr.
* @return !NULL - mapped there, NULL - error.
*/
void
*
(
*
mmap_read
)
(
BigFile
*
file
,
void
*
addr
,
blk_t
blk
,
size_t
blklen
);
void
*
(
*
mmap_read
)
(
BigFile
*
file
,
void
*
addr
,
blk_t
blk
,
size_t
blklen
);
// - mmap_setup(vma) setup initial mmap
// - mresync(vma) resync mmap to updated DB view; forget RW
// - munmap(vma) before VMA is unmapped
// /* notify_munmap XXX
// */
// void (*notify_munmap) (BigFile *file
// - mmap_read(vma) setup initial read-only mmap
// - mresync(vma, was_dirtyv) forget RW dirty pages -> mmap them back read-only to file data
// - munmap(vma) before VMA is unmapped
/* release is called to release resources associated with file.
...
...
include/wendelin/bigfile/virtmem.h
View file @
6ada59d3
...
...
@@ -2,7 +2,7 @@
#define _WENDELIN_BIGFILE_VIRTMEM_H_
/* Wendelin.bigfile | Virtual memory
* Copyright (C) 2014-201
5
Nexedi SA and Contributors.
* Copyright (C) 2014-201
9
Nexedi SA and Contributors.
* Kirill Smelkov <kirr@nexedi.com>
*
* This program is free software: you can Use, Study, Modify and Redistribute
...
...
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