]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: don't check overwrite flag when handling copy-get 18241/head
authorhuangjun <huangjun@xsky.com>
Wed, 11 Oct 2017 09:29:46 +0000 (17:29 +0800)
committerhuangjun <huangjun@xsky.com>
Wed, 11 Oct 2017 09:29:46 +0000 (17:29 +0800)
commitfb50f43244f0a9bc59f9aa4e2319cc8c6bc0cfdc
tree5624e33346b2718ad4811334c199a4d690e76924
parent3d90ec5a4d6a29e4f2fea8fbc8abc532bc0801de
osd: don't check overwrite flag when handling copy-get

For erasure code pool, set max_size to N*stripe_width when
doing copy-get, to avoid extra read.

Fixes: http://tracker.ceph.com/issues/21756
Signed-off-by: huangjun <huangjun@xsky.com>
src/osd/PrimaryLogPG.cc
src/osd/PrimaryLogPG.h