Loading src/posix_file/posix_file/fs_plugin/gekko_plugin.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -28,13 +28,13 @@ gekko_plugin::open(const std::string& path, int flags, unsigned int mode) { // Override the pread function ssize_t gekko_plugin::pread(int fd, void* buf, size_t count, off_t offset) { return gkfs::syscall::gkfs_pread(fd, buf, count, offset); return gkfs::syscall::gkfs_pread_ws(fd, buf, count, offset); } // Override the pwrite function ssize_t gekko_plugin::pwrite(int fd, const void* buf, size_t count, off_t offset) { return gkfs::syscall::gkfs_pwrite(fd, buf, count, offset); return gkfs::syscall::gkfs_pwrite_ws(fd, buf, count, offset); } Loading src/worker/mpio_read.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -152,7 +152,7 @@ mpio_read::operator()() { m_status = make_system_error(e.code().value()); return make_system_error(e.code().value()); } catch(const std::exception& e) { LOGGER_ERROR("Unexpected exception: {}", e.what()); LOGGER_ERROR("operator ()() Unexpected exception: {}", e.what()); m_status = error_code::other; return error_code::other; } Loading Loading @@ -231,7 +231,7 @@ mpio_read::progress(int ongoing_index) { m_status = make_system_error(e.code().value()); return -1; } catch(const std::exception& e) { LOGGER_ERROR("Unexpected exception: {}", e.what()); LOGGER_ERROR("Progress: Unexpected exception: {}", e.what()); m_status = error_code::other; return -1; } Loading Loading
src/posix_file/posix_file/fs_plugin/gekko_plugin.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -28,13 +28,13 @@ gekko_plugin::open(const std::string& path, int flags, unsigned int mode) { // Override the pread function ssize_t gekko_plugin::pread(int fd, void* buf, size_t count, off_t offset) { return gkfs::syscall::gkfs_pread(fd, buf, count, offset); return gkfs::syscall::gkfs_pread_ws(fd, buf, count, offset); } // Override the pwrite function ssize_t gekko_plugin::pwrite(int fd, const void* buf, size_t count, off_t offset) { return gkfs::syscall::gkfs_pwrite(fd, buf, count, offset); return gkfs::syscall::gkfs_pwrite_ws(fd, buf, count, offset); } Loading
src/worker/mpio_read.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -152,7 +152,7 @@ mpio_read::operator()() { m_status = make_system_error(e.code().value()); return make_system_error(e.code().value()); } catch(const std::exception& e) { LOGGER_ERROR("Unexpected exception: {}", e.what()); LOGGER_ERROR("operator ()() Unexpected exception: {}", e.what()); m_status = error_code::other; return error_code::other; } Loading Loading @@ -231,7 +231,7 @@ mpio_read::progress(int ongoing_index) { m_status = make_system_error(e.code().value()); return -1; } catch(const std::exception& e) { LOGGER_ERROR("Unexpected exception: {}", e.what()); LOGGER_ERROR("Progress: Unexpected exception: {}", e.what()); m_status = error_code::other; return -1; } Loading