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
3e26a9fc
Commit
3e26a9fc
authored
Dec 03, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
d5c05f78
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
5 deletions
+2
-5
bigfile/tests/test_virtmem.c
bigfile/tests/test_virtmem.c
+0
-2
include/wendelin/bigfile/file.h
include/wendelin/bigfile/file.h
+1
-1
wcfs/internal/wcfs_misc.h
wcfs/internal/wcfs_misc.h
+1
-2
No files found.
bigfile/tests/test_virtmem.c
View file @
3e26a9fc
...
...
@@ -1642,12 +1642,10 @@ int main()
{
tap_fail_callback
=
abort
;
// XXX to catch failure immediately
if
(
1
)
{
test_vmamap
();
test_file_access_synthetic
();
test_file_access_pagefault
();
test_pagefault_savestate
();
}
test_file_access_mmapbase
();
return
0
;
}
include/wendelin/bigfile/file.h
View file @
3e26a9fc
...
...
@@ -96,7 +96,7 @@ struct bigfile_ops {
* // backend detects that block is changed from outside
* // fileh is vma->fileh - file handle with which the vma is associated
* virt_lock()
* if (!fileh_blk_isdirty(fileh, blk)) {
* if (!fileh_blk_isdirty(fileh, blk)) {
XXX -> __fileh_page_isdirty(fileh, pgoff)
* // update mappings for all fileh's vma that cover blk
* }
* virt_unlock()
...
...
wcfs/internal/wcfs_misc.h
View file @
3e26a9fc
...
...
@@ -74,8 +74,7 @@ namespace os {
// os::File mimics os.File from Go.
// its operations return error with full file context.
class
_File
;
typedef
refptr
<
_File
>
File
;
typedef
refptr
<
class
_File
>
File
;
class
_File
:
public
object
{
int
_fd
;
string
_path
;
...
...
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