cls_rgw: olh init op

Need an op to initialize olh when a new olh is created. It will set its
initial version and tag.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
rgw: apply olh log functionality

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
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>
radosgw-admin: a fix (squash)

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
cls_rgw: fix compilation (squash)

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
fix bucket info decoding (squash)
rgw: some fixes (squash)

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

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
rgw: multiple versioning fixes (squash)

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
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>