]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: assume obj write is a first write
authorYehuda Sadeh <yehuda@redhat.com>
Sat, 21 Jan 2017 00:17:49 +0000 (16:17 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Mon, 6 Feb 2017 21:12:06 +0000 (13:12 -0800)
commit6f27f6089238d2a20e7a0f13066eddfc31192dc8
treee06c2bdae8bb7c64d890feef91b8874f7d009912
parent66a82b4266acedfdd71c64394d68d9e50ed11b20
rgw: assume obj write is a first write

if fails and object already exists then retry. This improves first obj
write performance on the expense of overwrites.

Fixes: http://tracker.ceph.com/issues/18622
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h