file->content = content;
surf_action_t action = storage_action_execute(storage,0, DEFAULT);
+ action->file = (void *)file;
return action;
}
if(size > content->size)
size = content->size;
surf_action_t action = storage_action_execute(storage,size,READ);
+ action->read_write = size;
return action;
}
XBT_DEBUG("\tWrite file '%s' size '%Zu/%Zu'",filename,size,content->size);
surf_action_t action = storage_action_execute(storage,size,WRITE);
+ action->read_write = size;
content->size += size;
return action;
}