Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
darshan
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
Cristian Simarro
darshan
Commits
915885cf
Commit
915885cf
authored
Jan 30, 2017
by
Shane Snyder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make sure compression buffers are big enough
parent
410c684a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
darshan-runtime/darshan-core.h
darshan-runtime/darshan-core.h
+0
-3
darshan-runtime/lib/darshan-core.c
darshan-runtime/lib/darshan-core.c
+2
-2
No files found.
darshan-runtime/darshan-core.h
View file @
915885cf
...
...
@@ -48,9 +48,6 @@
/* default name record buf can store 2048 records of size 100 bytes */
#define DARSHAN_NAME_RECORD_BUF_SIZE (2048 * 100)
/* Default runtime compression buffer size */
#define DARSHAN_COMP_BUF_SIZE DARSHAN_MOD_MEM_MAX
/* structure to track registered modules */
struct
darshan_core_module
{
...
...
darshan-runtime/lib/darshan-core.c
View file @
915885cf
...
...
@@ -405,7 +405,7 @@ void darshan_core_shutdown()
final_core
->
log_job_p
->
end_time
=
last_end_time
;
}
final_core
->
comp_buf
=
malloc
(
DARSHAN_COMP_BUF_SIZE
);
final_core
->
comp_buf
=
malloc
(
darshan_mod_mem_quota
);
if
(
!
(
final_core
->
comp_buf
))
{
darshan_core_cleanup
(
final_core
);
...
...
@@ -1558,7 +1558,7 @@ static int darshan_deflate_buffer(void **pointers, int *lengths, int count,
}
tmp_stream
.
next_out
=
(
unsigned
char
*
)
comp_buf
;
tmp_stream
.
avail_out
=
DARSHAN_COMP_BUF_SIZE
;
tmp_stream
.
avail_out
=
darshan_mod_mem_quota
;
/* loop over the input pointers */
for
(
i
=
0
;
i
<
count
;
i
++
)
...
...
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