From: Augustin Degomme Date: Thu, 18 Apr 2019 11:40:22 +0000 (+0200) Subject: Comment out a buggy line... Can't put a finger on what goes wrong here, but values... X-Git-Tag: v3.22.2~101^2~4 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/34f5b82ed231ecce4c4ef942381c616b76da1d5a 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 --- 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_);