Try to submit a test write operation

This commit is contained in:
Vitaliy Filippov
2019-11-18 02:36:53 +03:00
parent debaf6c943
commit 5b8df6768b
5 changed files with 52 additions and 17 deletions
+3 -1
View File
@@ -211,7 +211,7 @@ struct blockstore_operation
uint32_t offset;
// For stabilize requests: buf contains <len> obj_ver_id's to stabilize
uint32_t len;
uint8_t *buf;
uint8_t *buf; // FIXME: void*
int retval;
// FIXME: Move internal fields somewhere
@@ -325,6 +325,8 @@ public:
// Event loop
void loop();
bool is_started();
// Returns true when it's safe to destroy the instance. If destroying the instance
// requires to purge some queues, starts that process. Should be called in the event
// loop until it returns true.