Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
(hopefully) finalize pluginifaction of pseudo file system
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Thu, 30 Nov 2017 08:45:20 +0000 (09:45 +0100)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Thu, 30 Nov 2017 08:45:20 +0000 (09:45 +0100)
examples/msg/io-remote/io-remote.c
examples/s4u/actions-storage/s4u-actions-storage.cpp
examples/s4u/io/s4u-io.cpp
include/simgrid/s4u.hpp
src/msg/msg_io.cpp
src/plugins/file_system/FileSystem.hpp [moved from include/simgrid/s4u/File.hpp with 100% similarity]
src/plugins/file_system/s4u_FileSystem.cpp [moved from src/s4u/s4u_file.cpp with 98% similarity]
src/s4u/s4u_storage.cpp
teshsuite/s4u/storage_client_server/storage_client_server.cpp
tools/cmake/DefinePackages.cmake

index 010afdb..626bd39 100644 (file)
@@ -4,7 +4,7 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "simgrid/msg.h"
-#include "simgrid/plugins/file_system.h"
+#include <simgrid/plugins/file_system.h>
 
 #define INMEGA (1024*1024)
 
index 39d8bd5..fde216e 100644 (file)
@@ -4,7 +4,9 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "simgrid/s4u.hpp"
+#include "src/plugins/file_system/FileSystem.hpp"
 #include <boost/algorithm/string/join.hpp>
+#include <simgrid/plugins/file_system.h>
 #include <xbt/replay.hpp>
 #include <xbt/str.h>
 
index ab43a7a..dc3e5e3 100644 (file)
@@ -7,6 +7,7 @@
 #include <unordered_map>
 
 #include "simgrid/s4u.hpp"
+#include "src/plugins/file_system/FileSystem.hpp"
 
 XBT_LOG_NEW_DEFAULT_CATEGORY(s4u_test, "a sample log category");
 
index ee32b44..e1dfeda 100644 (file)
@@ -18,7 +18,6 @@
 #include <simgrid/s4u/ConditionVariable.hpp>
 #include <simgrid/s4u/Mutex.hpp>
 
-#include <simgrid/s4u/File.hpp>
 #include <simgrid/s4u/Storage.hpp>
 
 #endif /* SIMGRID_S4U_S4U_H */
index ce8c940..70224e8 100644 (file)
@@ -3,10 +3,10 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#include "simgrid/s4u/File.hpp"
 #include "simgrid/s4u/Host.hpp"
 #include "simgrid/s4u/Storage.hpp"
 #include "src/msg/msg_private.hpp"
+#include "src/plugins/file_system/FileSystem.hpp"
 #include <numeric>
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(msg_io, msg, "Logging specific to MSG (io)");
similarity index 98%
rename from src/s4u/s4u_file.cpp
rename to src/plugins/file_system/s4u_FileSystem.cpp
index f66b681..d48c7d3 100644 (file)
@@ -5,10 +5,10 @@
 
 #include "xbt/log.h"
 
-#include "simgrid/s4u/File.hpp"
 #include "simgrid/s4u/Host.hpp"
 #include "simgrid/s4u/Storage.hpp"
 #include "simgrid/simix.hpp"
+#include "src/plugins/file_system/FileSystem.hpp"
 #include "src/surf/HostImpl.hpp"
 
 #include <algorithm>
@@ -17,7 +17,7 @@
 #include <boost/algorithm/string/split.hpp>
 #include <fstream>
 
-XBT_LOG_NEW_DEFAULT_CATEGORY(s4u_file,"S4U files");
+XBT_LOG_NEW_DEFAULT_CATEGORY(s4u_file, "S4U files");
 
 namespace simgrid {
 namespace s4u {
index 4d06ae3..b4920f5 100644 (file)
@@ -3,10 +3,10 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#include "simgrid/s4u/File.hpp"
 #include "simgrid/s4u/Host.hpp"
 #include "simgrid/s4u/Storage.hpp"
 #include "simgrid/simix.hpp"
+#include "src/plugins/file_system/FileSystem.hpp"
 #include "src/surf/StorageImpl.hpp"
 #include <unordered_map>
 
index 1158fde..9eb3c03 100644 (file)
@@ -4,6 +4,7 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "simgrid/s4u.hpp"
+#include "src/plugins/file_system/FileSystem.hpp"
 #include <string>
 #include <xbt/string.hpp>
 
index 47570c3..a9e3259 100644 (file)
@@ -362,6 +362,9 @@ set(SURF_SRC
   )
 
 set(PLUGINS_SRC
+  src/plugins/file_system/FileSystem.hpp
+  src/plugins/file_system/s4u_FileSystem.cpp
+  src/plugins/vm/VirtualMachineImpl.hpp
   src/plugins/vm/s4u_VirtualMachine.cpp
   src/plugins/vm/VirtualMachineImpl.hpp
   src/plugins/vm/VirtualMachineImpl.cpp
@@ -425,8 +428,7 @@ set(S4U_SRC
   src/s4u/s4u_conditionVariable.cpp
   src/s4u/s4u_comm.cpp
   src/s4u/s4u_engine.cpp  
-  src/s4u/s4u_file.cpp  
-  src/s4u/s4u_host.cpp  
+   src/s4u/s4u_host.cpp  
   src/s4u/s4u_link.cpp
   src/s4u/s4u_mailbox.cpp
   src/s4u/s4u_mutex.cpp
@@ -684,7 +686,6 @@ set(headers_to_install
   include/simgrid/s4u/Comm.hpp
   include/simgrid/s4u/ConditionVariable.hpp
   include/simgrid/s4u/Engine.hpp  
-  include/simgrid/s4u/File.hpp  
   include/simgrid/s4u/Host.hpp  
   include/simgrid/s4u/Link.hpp  
   include/simgrid/s4u/Mailbox.hpp