Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
sds-tests
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sds
sds-tests
Commits
a3cf7959
Commit
a3cf7959
authored
Dec 14, 2018
by
Philip Carns
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix: posix_fallocate() returns error directly
parent
12443c86
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
margo-p2p-bw.c
perf-regression/margo-p2p-bw.c
+2
-0
No files found.
perf-regression/margo-p2p-bw.c
View file @
a3cf7959
...
...
@@ -20,6 +20,7 @@
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <errno.h>
#include <mpi.h>
...
...
@@ -611,6 +612,7 @@ static void* custom_mmap_alloc(const char* filename, size_t size, int rank)
ret
=
posix_fallocate
(
fd
,
0
,
size
);
if
(
ret
!=
0
)
{
errno
=
ret
;
perror
(
"posix_fallocate"
);
return
(
NULL
);
}
...
...
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