libceph: add support for primary_temp mappings
authorIlya Dryomov <ilya.dryomov@inktank.com>
Mon, 24 Mar 2014 15:12:48 +0000 (17:12 +0200)
committerSage Weil <sage@inktank.com>
Sat, 5 Apr 2014 04:08:16 +0000 (21:08 -0700)
commit5e8d4d36bf23bb7baf027c479d54395840219928
tree8bb42011ecacd167a03519d4a7fe596476c0bb1e
parent8008ab1080c1768b02d232dcfd9e161cd47cc9f7
libceph: add support for primary_temp mappings

Change apply_temp() to override primary in the same way pg_temp
overrides osd set.  primary_temp overrides pg_temp primary too.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Alex Elder <elder@linaro.org>
net/ceph/osdmap.c