bugfix: OFD:FLAGS
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include <stdint.h>
|
||||
#include <sys/types.h>
|
||||
#include <stdatomic.h>
|
||||
#include <pthread.h>
|
||||
#include <spdk/blob.h>
|
||||
|
||||
|
||||
@@ -14,6 +15,9 @@ typedef struct zvfs_blob_handle {
|
||||
spdk_blob_id blob_id;
|
||||
struct spdk_blob *blob;
|
||||
atomic_uint ref_count;
|
||||
uint64_t current_offset;
|
||||
uint32_t status_flags;
|
||||
pthread_mutex_t state_mu;
|
||||
} zvfs_blob_handle_t;
|
||||
|
||||
struct zvfs_io_thread {
|
||||
@@ -76,6 +80,10 @@ int blob_resize(struct zvfs_req *req);
|
||||
int blob_sync_md(struct zvfs_req *req);
|
||||
int blob_close(struct zvfs_req *req);
|
||||
int blob_delete(struct zvfs_req *req);
|
||||
int blob_seek(struct zvfs_req *req);
|
||||
int blob_get_pos(struct zvfs_req *req);
|
||||
int blob_get_flags(struct zvfs_req *req);
|
||||
int blob_set_flags(struct zvfs_req *req);
|
||||
int blobstore_reset(struct zvfs_req *req);
|
||||
bool io_engine_reset_in_progress(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user