67
75
int read(pool_t pool, const std::string& oid, off_t off, bufferlist& bl, size_t len);
68
76
int remove(pool_t pool, const std::string& oid);
69
77
int trunc(pool_t pool, const std::string& oid, size_t size);
78
int mapext(pool_t pool, const string& o, off_t off, size_t len, std::map<off_t, size_t>& m);
79
int sparse_read(pool_t pool, const string& o, off_t off, size_t len, std::map<off_t, size_t>& m, bufferlist& bl);
71
80
int getxattr(pool_t pool, const std::string& oid, const char *name, bufferlist& bl);
72
81
int setxattr(pool_t pool, const std::string& oid, const char *name, bufferlist& bl);
73
83
int getxattrs(pool_t pool, const std::string& oid, std::map<std::string, bufferlist>& attrset);
74
84
int stat(pool_t pool, const std::string& oid, uint64_t *psize, time_t *pmtime);