sub-read of librados
24 May
2023
24 May
'23
11:29 p.m.
Hi! I am trying to read only part of an object by specifying the non-trivial offset and length of the read function: `librados::IoCtxImpl::read(const object_t& oid, bufferlist& bl, size_t len, uint64_t off)` from `IoCtxImpl.cc`. However, after connecting to an erasure code pool (e.g., 12+4), I try to read data from a randomly chosen OSD (that is, 1/12 of the object), but the results of command `vmstat -d` and `iostat` show that the entire object was read, since read operations appeared on all 12 OSDs. So, I wonder if librados doesn't support the real sub-read of an object, and what should I do if I want to implement this function. Thanks!
1200
Age (days ago)
1200
Last active (days ago)
0 comments
1 participants
participants (1)
-
johnnyjohnnypd@gmail.com