From 34f5b82ed231ecce4c4ef942381c616b76da1d5a Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Thu, 18 Apr 2019 13:40:22 +0200 Subject: [PATCH] Comment out a buggy line... Can't put a finger on what goes wrong here, but values seem insane and break all tests TODO : investigate --- src/plugins/file_system/s4u_FileSystem.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/file_system/s4u_FileSystem.cpp b/src/plugins/file_system/s4u_FileSystem.cpp index b28d3d846f..6eb42eed54 100644 --- a/src/plugins/file_system/s4u_FileSystem.cpp +++ b/src/plugins/file_system/s4u_FileSystem.cpp @@ -138,10 +138,10 @@ sg_size_t File::write(sg_size_t size) this_actor::parallel_execute(m_host_list, flops_amount, bytes_amount); } - XBT_DEBUG("WRITE %s on disk '%s'. size '%llu/%llu'", get_path(), local_storage_->get_cname(), size, size_); + XBT_DEBUG("WRITE %s on disk '%s'. size '%llu/%llu' '%llu:%llu'", get_path(), local_storage_->get_cname(), size, size_, sg_storage_get_size_used(local_storage_), sg_storage_get_size(local_storage_)); // If the storage is full before even starting to write - if (sg_storage_get_size_used(local_storage_) >= sg_storage_get_size(local_storage_)) - return 0; + // if (sg_storage_get_size_used(local_storage_) >= sg_storage_get_size(local_storage_)) + // return 0; /* Substract the part of the file that might disappear from the used sized on the storage element */ local_storage_->extension()->decr_used_size(size_ - current_position_); -- 2.20.1