20 #ifndef FsBroker_ceph_CephBroker_h
21 #define FsBroker_ceph_CephBroker_h
29 #include <ceph/libceph.h>
44 fd(_fd), flags(_flags),
filename(fname) {}
64 uint32_t flags, uint32_t bufsz);
67 int32_t bufsz, int16_t replication, int64_t blksz);
75 bool accurate =
true);
77 uint32_t amount,
bool verify_checksum);
99 abs = m_root_dir +
"/" + fname;
102 int rmdir_recursive(
const char *
directory);
113 #endif // FsBroker_ceph_CephBroker_h
A memory buffer of static size.
Application handler for append function.
Holds Nagios-style program status information.
std::string String
A String is simply a typedef to std::string.
OpenFileDataCephPtr(OpenFileDataCeph *ofdl)
Abstract class to be implemented by brokers.
std::shared_ptr< OpenFileData > OpenFileDataPtr
Flags
Enumeration type for append flags.
Application handler for exists function.
Program options handling.
static atomic< int > ms_next_fd
void make_abs_path(const char *fname, String &abs)
Application handler for length function.
Directory container class.
bool status(ContextPtr &context, Timer &timer, Status &status)
Runs a status check on the master.
std::shared_ptr< Properties > PropertiesPtr
OpenFileDataCeph(const String &fname, int _fd, int _flags)
OpenFileDataCeph * operator->() const
This class is used to generate and deliver standard responses back to a client.
Application handler for readdir function.
Hypertable::Status m_status
Server status information.
Application handler for open function.
Application handler for read function.
Application handler for open function.
A String class based on std::string.
virtual ~OpenFileDataCeph()