Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
abt-io
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
sds
abt-io
Commits
f11a9c21
Commit
f11a9c21
authored
May 15, 2020
by
Philip Carns
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
missing O_DIRECT flag in benchmark
parent
3d1dfbf9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/concurrent-write-bench.c
examples/concurrent-write-bench.c
+1
-1
No files found.
examples/concurrent-write-bench.c
View file @
f11a9c21
...
...
@@ -175,7 +175,7 @@ static void abt_bench(int buffer_per_thread, unsigned int concurrency, size_t si
void
*
buffer
;
double
start
;
fd
=
open
(
filename
,
O_WRONLY
|
O_CREAT
|
O_SYNC
,
S_IWUSR
|
S_IRUSR
);
fd
=
open
(
filename
,
O_WRONLY
|
O_CREAT
|
O_SYNC
|
O_DIRECT
,
S_IWUSR
|
S_IRUSR
);
if
(
!
fd
)
{
perror
(
"open"
);
...
...
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