summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2012-12-26 20:31:40 (GMT)
committerAlex Elder <elder@inktank.com>2012-12-28 02:27:04 (GMT)
commite6d50f67a6b1a6252a616e6e629473b5c4277218 (patch)
treeff0ca019ba50a5f65d12d628af0aee2695d5219b /Kconfig
parentab60b16d3c31b9bd9fd5b39f97dc42c52a50b67d (diff)
downloadlinux-fsl-qoriq-e6d50f67a6b1a6252a616e6e629473b5c4277218.tar.xz
libceph: always reset osds when kicking
When ceph_osdc_handle_map() is called to process a new osd map, kick_requests() is called to ensure all affected requests are updated if necessary to reflect changes in the osd map. This happens in two cases: whenever an incremental map update is processed; and when a full map update (or the last one if there is more than one) gets processed. In the former case, the kick_requests() call is followed immediately by a call to reset_changed_osds() to ensure any connections to osds affected by the map change are reset. But for full map updates this isn't done. Both cases should be doing this osd reset. Rather than duplicating the reset_changed_osds() call, move it into the end of kick_requests(). Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions