| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This introduces the potential for shutdown race conditions within
the unit tests.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
|
|
| |
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
|
|
|
|
|
| |
Utilize the AIO completion thread of the local connection to best
simulate how librados actually performs when connected a cluster.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
|
|
|
|
|
| |
The plan to support independent connections sharing the same
view of the mocked cluster.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|\
| |
| |
| |
| | |
librados: replace the var name from onack to complete
Reviewed-by: Sage Weil <sage@redhat.com>
|
| |
| |
| |
| | |
Signed-off-by: Pan Liu <pan.liu@istuary.com>
|
|\ \
| | |
| | |
| | |
| | | |
rgw structures rework
Reviewed-by: Casey Bodley <cbodley@redhat.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Fixes: http://tracker.ceph.com/issues/19249
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Need to parse the bucket id off the entry and then set it on the
bucket struct.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Fix crash due to code cleanup. Changes scope of obj ref.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Use rgw_pool all around, and replace librados::create_ioctx() with
helper that also sets the namespace.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
add a namespace field to the rgw_pool struct
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bucket's placement rule is in the bucket instance's info. Object's
placement rule is in the manifest
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Fixes: http://tracker.ceph.com/issues/17996
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Use rgw_obj_index_key to represent entries in bucket index (typedef of
cls_rgw_obj_key). Get rid of RGWObjEnt, it was duplicate of rgw_bucket_dir_entry
anyway.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Instead of storing the oid and the name, just store the name
and calculate it when needed (same goes to locator). Also give more
coherent names to the various fields.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
got broken through the rgw_bucket cleanup related work
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Test rgw_raw_obj and upgrade of old rgw_obj, rgw_bucket and
old manifest.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Two main changes here:
1. Newly created rgw_bucket does not have a predetermined placement pools
assigned to it. The placement_id param in the objects themselves points
at where the data is located. This affects object's tail location, head
is located where the bucket instance's placement rule points at.
2. Modify object manifest to use rgw_raw_obj instead of rgw_obj.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This drags in multiple related changes that are needed in order to
support that.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Pools are represented by rgw_pool (and not rgw_bucket anymore),
and we use rgw_raw_obj to reference rados objs and all 'system'
objects (vs rgw_obj that is used for rgw objects).
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
rbd: demote/promote all mirrored images in a pool
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
| | |
| | |
| | |
| | |
| | | |
Fixes: http://tracker.ceph.com/issues/18748
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The group and diff_iterate API functions are already in separate
units, so it's trivial to move them to the new 'api' namespace.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Also ensure that the API helper methods can be tested via
mock test cases.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This also includes a consolidation of SnapInfo, ParentSpec, and ParentInfo
into a single header.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
msg/async/rdma: compile with rdma as default
Reviewed-by: Sage Weil <sage@redhat.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Issue: 992583
Issue: 992580
Change-Id: I24128b87294d3083c44c934f7d4bed554dd1f8a4
Signed-off-by: DanielBar-On <danielbo@mellanox.com>
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
rgw: get torrent request's parameter is not the same as amazon s3.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes: http://tracker.ceph.com/issues/19136
Signed-off-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
rgw: use separate http_manager for read_sync_status
Reviewed-by: Casey Bodley <cbodley@redhat.com>
|