uint64_t offset,
size_t len,
bufferlist& bl,
+ uint32_t op_flags,
bool allow_eio)
{
int got;
uint64_t offset,
size_t len,
bufferlist& bl,
+ uint32_t op_flags = 0,
bool allow_eio = false);
int fiemap(coll_t cid, const ghobject_t& oid, uint64_t offset, size_t len, bufferlist& bl);
int KeyValueStore::read(coll_t cid, const ghobject_t& oid, uint64_t offset,
- size_t len, bufferlist& bl, bool allow_eio)
+ size_t len, bufferlist& bl, uint32_t op_flags,
+ bool allow_eio)
{
dout(15) << __func__ << " " << cid << "/" << oid << " " << offset << "~"
<< len << dendl;
int stat(coll_t cid, const ghobject_t& oid, struct stat *st,
bool allow_eio = false);
int read(coll_t cid, const ghobject_t& oid, uint64_t offset, size_t len,
- bufferlist& bl, bool allow_eio = false);
+ bufferlist& bl, uint32_t op_flags = 0, bool allow_eio = false);
int fiemap(coll_t cid, const ghobject_t& oid, uint64_t offset, size_t len,
bufferlist& bl);
uint64_t offset,
size_t len,
bufferlist& bl,
+ uint32_t op_flags,
bool allow_eio)
{
dout(10) << __func__ << " " << cid << " " << oid << " "
uint64_t offset,
size_t len,
bufferlist& bl,
+ uint32_t op_flags = 0,
bool allow_eio = false);
int fiemap(coll_t cid, const ghobject_t& oid, uint64_t offset, size_t len, bufferlist& bl);
int getattr(coll_t cid, const ghobject_t& oid, const char *name, bufferptr& value);
* @param offset location offset of first byte to be read
* @param len number of bytes to be read
* @param bl output bufferlist
+ * @param op_flags is CEPH_OSD_OP_FLAG_*
* @param allow_eio if false, assert on -EIO operation failure
* @returns number of bytes read on success, or negative error code on failure.
*/
uint64_t offset,
size_t len,
bufferlist& bl,
+ uint32_t op_flags = 0,
bool allow_eio = false) = 0;
/**