Home
last modified time | relevance | path

Searched hist:"6 bd9adbd" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/ceph/
H A Dosdmap.c6bd9adbd Mon May 21 11:45:23 CDT 2012 Sage Weil <sage@inktank.com> libceph: fix pg_temp updates

Usually, we are adding pg_temp entries or removing them. Occasionally they
update. In that case, osdmap_apply_incremental() was failing because the
rbtree entry already exists.

Fix by removing the existing entry before inserting a new one.

Fixes http://tracker.newdream.net/issues/2446

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Alex Elder <elder@inktank.com>
6bd9adbd Mon May 21 11:45:23 CDT 2012 Sage Weil <sage@inktank.com> libceph: fix pg_temp updates

Usually, we are adding pg_temp entries or removing them. Occasionally they
update. In that case, osdmap_apply_incremental() was failing because the
rbtree entry already exists.

Fix by removing the existing entry before inserting a new one.

Fixes http://tracker.newdream.net/issues/2446

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Alex Elder <elder@inktank.com>