Skip to content

Commit fb97e28

Browse files
committed
hotfix: update total size calculation in check_size_intensive for POSIX module
1 parent 4afa525 commit fb97e28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drishti/handlers/handle_darshan.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ def handler():
375375

376376
# module.check_size_intensive(total_size, total_read_size, total_written_size)
377377
module.check_size_intensive(
378-
total_size=darshan_file_obj.io_stats.total_bytes,
378+
total_size=darshan_file_obj.io_stats.posix_size,
379379
total_read_size=darshan_file_obj.io_stats.get_module_size(ModuleType.POSIX, "read"),
380380
total_written_size=darshan_file_obj.io_stats.get_module_size(ModuleType.POSIX, "write"),
381381
)

0 commit comments

Comments
 (0)