Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f31da0f3 authored by Ilya Dryomov's avatar Ilya Dryomov Committed by Sage Weil
Browse files

libceph: output primary affinity values on osdmap updates



Similar to osd weights, output primary affinity values on incremental
osdmap updates.

Signed-off-by: default avatarIlya Dryomov <ilya.dryomov@inktank.com>
parent a56371d9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1005,6 +1005,8 @@ static int decode_new_primary_affinity(void **p, void *end,
		ret = set_primary_affinity(map, osd, aff);
		if (ret)
			return ret;

		pr_info("osd%d primary-affinity 0x%x\n", osd, aff);
	}

	return 0;