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
d322069a
Commit
d322069a
authored
Jul 11, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
948da23a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
bigfile/tests/test_virtmem.c
bigfile/tests/test_virtmem.c
+1
-1
include/wendelin/bigfile/file.h
include/wendelin/bigfile/file.h
+4
-0
No files found.
bigfile/tests/test_virtmem.c
View file @
d322069a
...
...
@@ -1560,7 +1560,7 @@ void test_file_access_mmapbase(void)
vma_unmap
(
vma
);
err
=
fileh_mmap
(
vma
,
fh
,
100
,
4
);
/* data saved
,
served from base layer */
/* data saved
;
served from base layer */
ok1
(
B
(
vma
,
0
*
PSb
+
0
)
==
10
);
ok1
(
B
(
vma
,
0
*
PSb
+
1
)
==
100
);
ok1
(
B
(
vma
,
0
*
PSb
+
PSb
-
1
)
==
100
);
...
...
include/wendelin/bigfile/file.h
View file @
d322069a
...
...
@@ -81,6 +81,10 @@ struct bigfile_ops {
*
* The mapping will be used as the base read-only layer for vma.
*
* XXX bigfile backend owns setup mapping and can change it dynamically
* e.g. due to changes to the file from outside. However it should XXX
* check dirtyv and if dirty=1 not change that page until remmap_blk_read.
*
* XXX mmap_read -> !loadblk ?
* NOTE blk and blklen are in blocks, not pages.
*
...
...
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