Simplified distributed block storage with strong consistency, like in Ceph
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#pragma once
|
|
|
|
#include <unistd.h>
|
|
#include <sys/uio.h>
|
|
|
|
int read_blocking(int fd, void *read_buf, size_t remaining);
|
|
int write_blocking(int fd, void *write_buf, size_t remaining);
|
|
int writev_blocking(int fd, iovec *iov, int iovcnt);
|
|
|