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
da85c7cc
Commit
da85c7cc
authored
Nov 01, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
9022f069
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
wcfs/internal/wcfs_misc.cpp
wcfs/internal/wcfs_misc.cpp
+1
-1
wcfs/internal/wcfs_virtmem.cpp
wcfs/internal/wcfs_virtmem.cpp
+3
-0
No files found.
wcfs/internal/wcfs_misc.cpp
View file @
da85c7cc
...
...
@@ -256,7 +256,7 @@ tuple<int64_t, error> parseInt(const string& s) {
}
// parseUint decodes string s as unsigned decimal integer.
tuple
<
uint64_t
,
error
>
parse
_u
int
(
const
string
&
s
)
{
tuple
<
uint64_t
,
error
>
parse
U
int
(
const
string
&
s
)
{
uint64_t
v
;
int
n
=
sscanf
(
s
.
c_str
(),
"%"
SCNu64
,
&
v
);
// XXX verify
if
(
!
(
n
==
1
&&
std
::
to_string
(
v
)
==
s
))
// XXX verify
...
...
wcfs/internal/wcfs_virtmem.cpp
View file @
da85c7cc
...
...
@@ -370,11 +370,14 @@ void Conn::_pin1(PinReq *req) {
// XXX reenable
//trace("\tremmapblk %d @%s" % (req->blk, (h(req.at) if req.at else "head")))
// check if virtmem did not dirtied page corresponding to this block already
// XXX reenable (link to libbigfile dso)
#if 0
virt_lock();
TODO (mmap->file->blksize != mmap->fileh->ramh->ram->pagesize);
if (!__fileh_page_isdirty(mmap->fileh, req->blk))
mmap->_remmapblk(req->blk, req->at); // XXX err
virt_unlock();
#endif
//trace("\t-> remmaped"); XXX
}
...
...
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