]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - net/ceph/osd_client.c
libceph: use target pi for calc_target() calculations
authorIlya Dryomov <idryomov@gmail.com>
Thu, 15 Jun 2017 14:30:55 +0000 (16:30 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 7 Jul 2017 15:25:17 +0000 (17:25 +0200)
commit6d637a540e6f87b9c926d45a507ff143640517cf
treec7201d07e4245e95a7457005841b3ec18fc71a7b
parentdb098ec4e41a6ad8f5b248b1287bb583754e944e
libceph: use target pi for calc_target() calculations

For luminous and beyond we are encoding the actual spgid, which
requires operating with the correct pg_num, i.e. that of the target
pool.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
net/ceph/osd_client.c