]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit42a8225629ad13d3b353c1e3c9cfdb4b07f237f4
treec7201d07e4245e95a7457005841b3ec18fc71a7b
parent0c611be1325836d5b931b765f9f7555db1be32e9
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