wrench::SimpleStorageServiceNonBufferized

class SimpleStorageServiceNonBufferized : public wrench::SimpleStorageService

The non-bufferized (i.e., BUFFER_SIZE == 0) implementation.

struct Transaction

Internal structure to describe transaction.

Public Functions

inline Transaction(std::shared_ptr<FileLocation> src_location, std::shared_ptr<simgrid::fsmod::File> src_opened_file, simgrid::s4u::Host *src_host, simgrid::s4u::Disk *src_disk, std::shared_ptr<FileLocation> dst_location, std::shared_ptr<simgrid::fsmod::File> dst_opened_file, simgrid::s4u::Host *dst_host, simgrid::s4u::Disk *dst_disk, S4U_CommPort *commport, sg_size_t transfer_size)

Constructor.

Parameters:
  • src_location – source location

  • src_opened_file – source opened file

  • src_host – source host

  • src_disk – source disk

  • dst_location – destination location

  • dst_opened_file – destination opened file

  • dst_host – destination host

  • dst_disk – destination disk

  • commport – commport to report to

  • transfer_size – transfer size

Public Members

S4U_CommPort *commport

commport_name to report to

simgrid::s4u::Disk *dst_disk

destination disk

simgrid::s4u::Host *dst_host

destination host

std::shared_ptr<FileLocation> dst_location

destination location

std::shared_ptr<simgrid::fsmod::File> dst_opened_file

destination opened file

simgrid::s4u::Disk *src_disk

source disk

simgrid::s4u::Host *src_host

source host

std::shared_ptr<FileLocation> src_location

source location

std::shared_ptr<simgrid::fsmod::File> src_opened_file

source opened file

simgrid::s4u::IoPtr stream

SG IO op.

sg_size_t transfer_size

transfer size