]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG: only allow a degraded write if we have at least min_size copies 3767/head
authorSamuel Just <sjust@redhat.com>
Tue, 17 Feb 2015 18:29:59 +0000 (10:29 -0800)
committerSamuel Just <sjust@redhat.com>
Wed, 18 Feb 2015 06:40:12 +0000 (22:40 -0800)
commit48466f8d7ce2b6762077f3fc686ada5648021517
treec609dbcaa0da7b73b0943a5ae0ce5ae926de61e4
parent25f9363b90a66b8bf3c14cf99ee417823fc84fbf
ReplicatedPG: only allow a degraded write if we have at least min_size copies

Also, add a config option to disable the feature.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/common/config_opts.h
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h