+Disk* Disk::set_state_profile(kernel::profile::Profile* profile)
+{
+ xbt_assert(not pimpl_->is_sealed(), "Cannot set a state profile once the Disk is sealed");
+ kernel::actor::simcall_object_access(pimpl_, [this, profile]() { this->pimpl_->set_state_profile(profile); });
+ return this;
+}
+
+Disk* Disk::set_read_bandwidth_profile(kernel::profile::Profile* profile)
+{
+ xbt_assert(not pimpl_->is_sealed(), "Cannot set a bandwidth profile once the Disk is sealed");
+ kernel::actor::simcall_object_access(pimpl_,
+ [this, profile]() { this->pimpl_->set_read_bandwidth_profile(profile); });
+ return this;
+}
+
+Disk* Disk::set_write_bandwidth_profile(kernel::profile::Profile* profile)
+{
+ xbt_assert(not pimpl_->is_sealed(), "Cannot set a bandwidth profile once the Disk is sealed");
+ kernel::actor::simcall_object_access(pimpl_,
+ [this, profile]() { this->pimpl_->set_write_bandwidth_profile(profile); });
+ return this;
+}
+int Disk::get_concurrency_limit() const
+{
+ return pimpl_->get_concurrency_limit();
+}
+
+Disk* Disk::set_concurrency_limit(int limit)
+{
+ kernel::actor::simcall_object_access(pimpl_, [this, limit] { pimpl_->set_concurrency_limit(limit); });
+ return this;
+}
+
+IoPtr Disk::io_init(sg_size_t size, Io::OpType type) const
+{
+ return Io::init()->set_disk(this)->set_size(size)->set_op_type(type);
+}
+
+IoPtr Disk::read_async(sg_size_t size) const