mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
libceph: introduce ceph_spg, ceph_pg_to_primary_shard()
Store both raw pgid and actual spgid in ceph_osd_request_target. Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
This commit is contained in:
parent
8e48cf00c4
commit
dc98ff7230
5 changed files with 60 additions and 4 deletions
|
@ -136,7 +136,8 @@ struct ceph_osd_request_target {
|
|||
struct ceph_object_id target_oid;
|
||||
struct ceph_object_locator target_oloc;
|
||||
|
||||
struct ceph_pg pgid;
|
||||
struct ceph_pg pgid; /* last raw pg we mapped to */
|
||||
struct ceph_spg spgid; /* last actual spg we mapped to */
|
||||
u32 pg_num;
|
||||
u32 pg_num_mask;
|
||||
struct ceph_osds acting;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue