summaryrefslogtreecommitdiffstats
path: root/include/linux/ceph
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2012-05-21 09:45:23 -0700
committerSage Weil <sage@inktank.com>2012-05-21 20:40:42 -0700
commit6bd9adbdf9ca6a052b0b7455ac67b925eb38cfad (patch)
tree61d254846558e23906bbef993092cf372f641509 /include/linux/ceph
parent35f9f8a09e1e88e31bd34a1e645ca0e5f070dd5c (diff)
downloadlinux-6bd9adbdf9ca6a052b0b7455ac67b925eb38cfad.tar.gz
linux-6bd9adbdf9ca6a052b0b7455ac67b925eb38cfad.tar.bz2
linux-6bd9adbdf9ca6a052b0b7455ac67b925eb38cfad.zip
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>
Diffstat (limited to 'include/linux/ceph')
0 files changed, 0 insertions, 0 deletions