squash 3

Conflicts:
	src/rgw/rgw_rados.cc
rgw, cls_rgw: trim olh log functionality

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
rgw: olh atomicity groundwork

still more to do

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
rgw: guard against racing writes

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
rgw: more atomicity fixes, set_olh()

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
rgw: tie set_olh() to object completion

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
cls_rgw: olh trim op is read/write

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
squash 2
rgw: follow olh if needed

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
rgw: update json encoding for rgw_obj

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
rgw: object manifest should reflect instance

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
rgw: add 'versioning' to handled subresources

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
rgw: add get_type() to rgw ops

This is needed so that we can identify ops correctly.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
fix set bucket versioning (squash)
cls_rgw: revise the data model

We don't need to keep a listing entry for the olh.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
rgw: bucket listing gets extra param for versioning

Can specify whether we want to see versions or not.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
rgw, cls_rgw: list object versions is optional

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
cls_rgw: deletion marker needs to keep instance entry

Otherwise we wouldn't be able to find it when we remove it.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
rgw: add 'versions' to valid subresources (squash)

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
rgw: propagate dirent flags to rgw (from cls), other fixes

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>