diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2017-03-01 16:33:27 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-30 07:41:27 (GMT) |
commit | 81ec3dc1de0af47a4f38a276f68f55f4e7e8e621 (patch) | |
tree | ea10573a8945d4ff63d9e390366d75ac5a1b9ea7 /drivers/dma/sun6i-dma.c | |
parent | df1fe6c9ad481f6ca1b125a081376744c97d3910 (diff) | |
download | linux-81ec3dc1de0af47a4f38a276f68f55f4e7e8e621.tar.xz |
libceph: don't set weight to IN when OSD is destroyed
commit b581a5854eee4b7851dedb0f8c2ceb54fb902c06 upstream.
Since ceph.git commit 4e28f9e63644 ("osd/OSDMap: clear osd_info,
osd_xinfo on osd deletion"), weight is set to IN when OSD is deleted.
This changes the result of applying an incremental for clients, not
just OSDs. Because CRUSH computations are obviously affected,
pre-4e28f9e63644 servers disagree with post-4e28f9e63644 clients on
object placement, resulting in misdirected requests.
Mirrors ceph.git commit a6009d1039a55e2c77f431662b3d6cc5a8e8e63f.
Fixes: 930c53286977 ("libceph: apply new_state before new_up_client on incrementals")
Link: http://tracker.ceph.com/issues/19122
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/dma/sun6i-dma.c')
0 files changed, 0 insertions, 0 deletions