]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Edwin F. Boza [Wed, 15 Mar 2017 20:21:30 +0000 (15:21 -0500)]
doc: Fixes a typo.
Signed-off-by: Edwin F. Boza <eboza@espol.edu.ec>
Edwin F. Boza [Wed, 15 Mar 2017 18:10:27 +0000 (13:10 -0500)]
doc: Fixes a typo.
Signed-off-by: Edwin F. Boza <eboza@espol.edu.ec>
Casey Bodley [Tue, 14 Mar 2017 18:26:32 +0000 (14:26 -0400)]
Merge pull request #13949 from cbodley/wip-15618
rgw: clear old zone short ids on period update
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Casey Bodley [Tue, 14 Mar 2017 18:26:12 +0000 (14:26 -0400)]
Merge pull request #13948 from cbodley/wip-rgw-data-sync-versioned
rgw: data sync includes instance in rgw_obj_index_key
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Casey Bodley [Tue, 14 Mar 2017 17:39:45 +0000 (13:39 -0400)]
Merge pull request #13586 from Liuchang0812/wip-add-override-in-rgw
rgw: add override in header files mostly
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 14 Mar 2017 16:19:00 +0000 (12:19 -0400)]
Merge pull request #12793 from zhangsw/fix-rgw-abortmultipart
rgw: AbortMultipart request returns NoSuchUpload error if the meta obj doesn't exist
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 14 Mar 2017 16:10:00 +0000 (12:10 -0400)]
Merge pull request #13900 from oritwas/wip-rgw-19231
fix upgrate from hammer when zone doesn't have zoneparams
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 14 Mar 2017 14:43:32 +0000 (10:43 -0400)]
Merge pull request #13354 from Liuchang0812/wip-18828
rgw: don't return skew time error in pre-signed url
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Kefu Chai [Tue, 14 Mar 2017 13:17:07 +0000 (21:17 +0800)]
Merge pull request #13798 from tchaikov/wip-brag-count-mds
brag: count the number of mds in fsmap not in mdsmap
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 14 Mar 2017 11:51:51 +0000 (11:51 +0000)]
Merge branch 'wip-omap-getkeys-mds'
Sage Weil [Mon, 23 Jan 2017 16:56:15 +0000 (11:56 -0500)]
qa/suites/fs/basic: vary omap osd-side limit
Ensure that the omap looping paths are exercised.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 20 Jan 2017 03:20:54 +0000 (21:20 -0600)]
mds/CDir: set sane max keys per op
Set default to 16384, which is > than the max frag size of 10000. We will
loop if there are more.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 19 Jan 2017 21:54:12 +0000 (15:54 -0600)]
mds/CDir: fetch dir omap in batches as needed
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 20 Jan 2017 03:18:02 +0000 (21:18 -0600)]
mds/SessionMap: use pmore for loading sessions
Keep the result size check for a while since older OSDs won't populate
the pmore field for us. Eventually we can remove it.
Signed-off-by: Sage Weil <sage@redhat.com>
Ilya Dryomov [Tue, 14 Mar 2017 09:22:42 +0000 (10:22 +0100)]
Merge pull request #13812 from idryomov/wip-krbd-feature-disable-msg
rbd: spell out image features unsupported by the kernel
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Tue, 14 Mar 2017 05:01:44 +0000 (13:01 +0800)]
Merge pull request #13924 from tchaikov/wip-silence-gcc-warnings
os/bluestore,test/ceph_test_objectstore: silence gcc warnings
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
liuchang0812 [Wed, 22 Feb 2017 09:46:46 +0000 (17:46 +0800)]
rgw/cleanup: add override in headers
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
Kefu Chai [Tue, 14 Mar 2017 02:56:05 +0000 (10:56 +0800)]
Merge pull request #13700 from yuyuyu101/wip-msgr-lossy
msg/async: avoid lossy connection sending ack message
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Josh Durgin [Mon, 13 Mar 2017 22:26:58 +0000 (15:26 -0700)]
Merge pull request #13805 from tchaikov/wip-qa-upgrade-tiering
qa/suites/upgrade: add tiering test to hammer-jewel-x
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Mon, 13 Mar 2017 19:59:29 +0000 (14:59 -0500)]
Merge pull request #13727 from jcsp/wip-send-command
osdc: clean up osd_command/start_mon_command interfaces
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Yuri Weinstein [Mon, 13 Mar 2017 19:58:12 +0000 (12:58 -0700)]
Merge pull request #13825 from wjwithagen/wip-wjw-stack-compat
msg/async/Stack.cc: use of pthread_setname_np() needs compat.h
Reviewed-by: Haomai Wang <haomai@xsky.com>
Yuri Weinstein [Mon, 13 Mar 2017 19:57:06 +0000 (12:57 -0700)]
Merge pull request #10272 from yonghengdexin735/wip-zzz-delete=
msg/simple/Pipe:the returned value for do_recv unequal to zero
Reviewed-by: Loic Dachary <loic@dachary.org>
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Mon, 13 Mar 2017 19:55:26 +0000 (14:55 -0500)]
Merge pull request #12578 from kylinstorage/wip-filestore-ref
os/filestore: avoid unnecessary copy in filestore::_do_transaction
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yuri Weinstein [Mon, 13 Mar 2017 19:52:27 +0000 (12:52 -0700)]
Merge pull request #13894 from majianpeng/do_op_duplicated_code
osd/PrimaryLogPG: remove duplicated code.
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Casey Bodley [Thu, 9 Mar 2017 20:24:08 +0000 (15:24 -0500)]
rgw: clear old zone short ids on period update
the short ids of old, removed zones were being kept in the period to
guard against hash collisions with new zones
but for a hash collision to cause a wrong object to sync, that object
would have to be uploaded simultaneously to two different zones that had
the same short id
to avoid this, we just have to prevent the period from containing two
colliding zones at the same time - we don't have to remember old zone
short ids forever
Fixes: http://tracker.ceph.com/issues/15618
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 13 Mar 2017 18:51:17 +0000 (14:51 -0400)]
rgw: data sync includes instance in rgw_obj_index_key
this was breaking the versioned object test in test_multi.py, because we
were trying to create delete markers instead of unlinking a specific
object instance
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Mykola Golub [Mon, 13 Mar 2017 16:26:52 +0000 (18:26 +0200)]
Merge pull request #13919 from dillaman/wip-19256
rbd: prevent adding multiple mirror peers to a single pool
Reviewed-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Casey Bodley [Mon, 13 Mar 2017 14:27:49 +0000 (10:27 -0400)]
Merge pull request #12264 from cbodley/wip-rgw-print-is-admin
rgw: print is_admin as int instead of __u8
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Loic Dachary [Mon, 13 Mar 2017 14:07:47 +0000 (15:07 +0100)]
Merge pull request #13722 from dachary/wip-crush-doc
crush: document tunables and rule step set_
Reviewed-by: Sage Weil <sage@redhat.com>
Loic Dachary [Thu, 2 Mar 2017 21:18:37 +0000 (22:18 +0100)]
crush: document tunables and rule step set_
Signed-off-by: Loic Dachary <loic@dachary.org>
Nathan Cutler [Mon, 13 Mar 2017 07:34:27 +0000 (08:34 +0100)]
Merge pull request #13781 from SUSE/wip-19184
build/ops: make package groups comply with openSUSE guidelines
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
Jason Dillaman [Fri, 10 Mar 2017 15:56:38 +0000 (10:56 -0500)]
rbd: prevent adding multiple mirror peers to a single pool
The rbd-mirror daemon does not currently support replication
from multiple peers. Until that is supported, add a temporary
restriction to prevent confusion.
Fixes: http://tracker.ceph.com/issues/19256
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Sun, 12 Mar 2017 14:51:58 +0000 (10:51 -0400)]
Merge pull request #13926 from trociny/wip-19260
librbd: fix clang compilation error
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Mykola Golub [Sat, 11 Mar 2017 19:19:33 +0000 (19:19 +0000)]
librbd: make build with clang
Fixes: http://tracker.ceph.com/issues/19260
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Sat, 11 Mar 2017 15:05:49 +0000 (17:05 +0200)]
Merge pull request #13694 from liupan1111/wip-fix-no-error-map
rbd-nbd: warn when kernel parameters are ignored
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Pan Liu [Sat, 11 Mar 2017 13:50:00 +0000 (21:50 +0800)]
rbd-nbd: only try to load nbd module once when open nbd device, during do_map operation.
Signed-off-by: Pan Liu <liupan1111@gmail.com>
Pan Liu [Sat, 11 Mar 2017 13:48:37 +0000 (21:48 +0800)]
rbd-nbd: warn when kernel parameters are ignored
Fixes: http://tracker.ceph.com/issues/19108
Signed-off-by: Pan Liu <liupan1111@gmail.com>
Kefu Chai [Sat, 11 Mar 2017 09:20:58 +0000 (17:20 +0800)]
os/bluestore: silence gcc warning
silences following warning:
src/os/bluestore/BitAllocator.h:410:8: warning: ‘virtual bool
BitMapAreaIN::child_check_n_lock(BitMapArea*, int64_t, bool)’ was hidden
[-Wover\
loaded-virtual]
bool child_check_n_lock(BitMapArea *child, int64_t required, bool
lock) {
^~~~~~~~~~~~~~~~~~
/var/ceph/ceph/src/os/bluestore/BitAllocator.h:489:8: warning: by
‘BitMapAreaLeaf::child_check_n_lock’ [-Woverloaded-virtual]
bool child_check_n_lock(BitMapZone* child, int64_t required, bool
lock);
^~~~~~~~~~~~~~~~~~
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 7 Mar 2017 03:31:14 +0000 (11:31 +0800)]
test/ceph_test_objectstore: silence gcc warning
silence following warning:
store_test.cc: In member function ‘virtual void
StoreTest_ManyObjectTest_Test::TestBody()’:
/var/ceph/ceph/src/test/objectstore/store_test.cc:3153:6: warning:
suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else]
if (listed2.size())
^
Signed-off-by: Kefu Chai <kchai@redhat.com>
Xie Xingguo [Sat, 11 Mar 2017 01:55:44 +0000 (09:55 +0800)]
Merge pull request #13801 from xiexingguo/wip-fix-func-name
osd: fix func name in log produced by handle_pg_peering_evt()
Reviewed-by: Sage Weil <sage@redhat.com>
Yehuda Sadeh [Fri, 10 Mar 2017 21:54:23 +0000 (13:54 -0800)]
Merge pull request #13856 from zhangsw/cleanup-radosgw-admin-tier_type
rgw: remove useless --tier_type in radosgw-admin.
Reviewed-by: Jiaying Ren <mikulely@gmail.com>
Ilya Dryomov [Mon, 6 Mar 2017 12:59:21 +0000 (13:59 +0100)]
rbd: spell out image features unsupported by the kernel
/sys/bus/rbd/supported_features is available on kernels starting with
4.11. Example output:
$ sudo rbd map x
rbd: sysfs write failed
RBD image feature set mismatch. This image cannot be mapped because the following immutable features are unsupported by the kernel: data-pool.
In some cases useful info is found in syslog - try "dmesg | tail".
rbd: map failed: (6) No such device or address
$ sudo rbd map -p foo y
rbd: sysfs write failed
RBD image feature set mismatch. You can disable features unsupported by the kernel with "rbd feature disable foo/y object-map fast-diff deep-flatten".
In some cases useful info is found in syslog - try "dmesg | tail".
rbd: map failed: (6) No such device or address
or, if /sys/bus/rbd/supported_features isn't there:
$ sudo rbd map z
rbd: sysfs write failed
RBD image feature set mismatch. Try disabling features unsupported by the kernel with "rbd feature disable".
In some cases useful info is found in syslog - try "dmesg | tail".
rbd: map failed: (6) No such device or address
Fixes: http://tracker.ceph.com/issues/19095
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Yehuda Sadeh [Fri, 10 Mar 2017 19:27:03 +0000 (11:27 -0800)]
Merge pull request #13920 from cbodley/wip-rgw-fix-cleanup-meta-sync
rgw: fix transition from full to incremental meta sync
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 10 Mar 2017 19:10:58 +0000 (11:10 -0800)]
Merge pull request #11586 from cbodley/wip-rgw-fetchallmeta-yield-break
rgw: fix break inside of yield in RGWFetchAllMetaCR
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Sage Weil [Fri, 10 Mar 2017 16:55:21 +0000 (10:55 -0600)]
Merge pull request #10407 from yonghengdexin735/wip-zzz-perf-counters
common/perf_counters.: Remove unnecessary judgment
Reviewed-by: Sage Weil <sage@redhat.com>
Casey Bodley [Fri, 10 Mar 2017 16:25:35 +0000 (11:25 -0500)]
rgw: fix transition from full to incremental meta sync
when transitioning to incremental sync, we need to write temp_marker
instead of sync_marker, because temp_marker has replaced the full sync
marker (which is a metadata key, rather than an log marker) with
next_step_marker
this was breaking the metadata checkpoint in test_multi.py, because it
was comparing metadata keys (i.e. 'user:zone.user') against mdlog
markers
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Nathan Cutler [Fri, 3 Mar 2017 22:43:31 +0000 (23:43 +0100)]
build/ops: extend rpm spec file copyright period to 2017
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Fri, 3 Mar 2017 14:49:59 +0000 (15:49 +0100)]
build/ops: make package groups comply with openSUSE guidelines
. . . and put all Group: lines in SUSE conditional blocks.
Fixes: http://tracker.ceph.com/issues/19184
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Mykola Golub [Fri, 10 Mar 2017 15:00:43 +0000 (17:00 +0200)]
Merge pull request #13737 from dillaman/wip-19104
test: support blacklisting within librados_test_stub
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Jason Dillaman [Fri, 3 Mar 2017 21:06:25 +0000 (16:06 -0500)]
rbd-mirror: correct race conditions within leader watcher
It was possible for multiple, concurrent acquire attempts to be
running for a single instance due to notification messages. Now
only a single acquire state machine can be running.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 3 Mar 2017 17:38:18 +0000 (12:38 -0500)]
librbd: improve debug log messages for managed lock
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 2 Mar 2017 17:04:45 +0000 (12:04 -0500)]
test: potential shutdown race in TestMockImageReplayer.DecodeError
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 2 Mar 2017 15:29:36 +0000 (10:29 -0500)]
librbd: avoid duplicating librados IoCtx objects if not needed
This introduces the potential for shutdown race conditions within
the unit tests.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 1 Mar 2017 23:40:05 +0000 (18:40 -0500)]
test/librados_test_stub: support blacklisting of connections
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 1 Mar 2017 22:27:23 +0000 (17:27 -0500)]
test/librados_test_stub: watch/notify should be connection-aware
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>
Jason Dillaman [Wed, 1 Mar 2017 21:21:20 +0000 (16:21 -0500)]
test/librados_test_stub: separate mock cluster from connection
The plan to support independent connections sharing the same
view of the mocked cluster.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Thu, 9 Mar 2017 21:16:19 +0000 (15:16 -0600)]
Merge pull request #13857 from liupan1111/wip-rename-onack-to-oncommit
librados: replace the var name from onack to complete
Reviewed-by: Sage Weil <sage@redhat.com>
Yehuda Sadeh [Thu, 9 Mar 2017 18:16:48 +0000 (10:16 -0800)]
Merge pull request #11485 from yehudasa/wip-bucket-cleanup
rgw structures rework
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Mykola Golub [Thu, 9 Mar 2017 18:15:17 +0000 (20:15 +0200)]
Merge pull request #13758 from dillaman/wip-18748
rbd: demote/promote all mirrored images in a pool
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Yehuda Sadeh [Wed, 8 Mar 2017 22:52:34 +0000 (14:52 -0800)]
rgw: fix crash when listing objects via swift
Fixes: http://tracker.ceph.com/issues/19249
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 8 Mar 2017 22:27:14 +0000 (14:27 -0800)]
qa/tasks/radosgw_admin: adjust test to new bucket structure
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sat, 18 Feb 2017 00:37:08 +0000 (16:37 -0800)]
rgw: more fixes following rebase
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 9 Jan 2017 21:04:43 +0000 (13:04 -0800)]
rgw: new rest api to retrieve object layout
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 5 Jan 2017 21:15:56 +0000 (13:15 -0800)]
rgw: get_obj_state() checks for empty oids
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 20 Dec 2016 21:32:57 +0000 (13:32 -0800)]
rgw: metadata put of bucket instance sets bucket_id
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>
Yehuda Sadeh [Tue, 20 Dec 2016 21:32:17 +0000 (13:32 -0800)]
rgw_admin: remove broken check
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 19 Dec 2016 22:33:18 +0000 (14:33 -0800)]
mrgw.sh: fix script
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 19 Dec 2016 22:15:36 +0000 (14:15 -0800)]
rgw: fix async cr operation
Fix crash due to code cleanup. Changes scope of obj ref.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 16 Dec 2016 23:41:23 +0000 (15:41 -0800)]
rgw: modify default pools to use namespaces
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 16 Dec 2016 23:43:40 +0000 (15:43 -0800)]
rgw: handle pools namespace
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>
Yehuda Sadeh [Fri, 16 Dec 2016 02:14:58 +0000 (18:14 -0800)]
rgw: add namespace to rgw_pool
add a namespace field to the rgw_pool struct
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 15 Dec 2016 00:09:13 +0000 (16:09 -0800)]
rgw: compilation and other fixes following rebase
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 28 Nov 2016 16:27:41 +0000 (08:27 -0800)]
rgw: move placement rule out of rgw_bucket
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>
Yehuda Sadeh [Tue, 22 Nov 2016 18:36:15 +0000 (10:36 -0800)]
cls/version: add more useful logging
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 22 Nov 2016 18:33:12 +0000 (10:33 -0800)]
rgw: fix ECANCELED handling in rgw_get_system_obj()
Fixes: http://tracker.ceph.com/issues/17996
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 21 Nov 2016 22:10:21 +0000 (14:10 -0800)]
rgw: keep rgw_obj key info in rgw_obj_key field
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 17 Nov 2016 23:26:35 +0000 (15:26 -0800)]
rgw: add rgw_obj_index_key, kill RGWObjEnt
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>
Yehuda Sadeh [Thu, 17 Nov 2016 00:20:17 +0000 (16:20 -0800)]
rgw: clean rgw_obj
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>
Yehuda Sadeh [Wed, 16 Nov 2016 01:14:24 +0000 (17:14 -0800)]
rgw: fix bucket overwrite
got broken through the rgw_bucket cleanup related work
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 31 Oct 2016 22:55:20 +0000 (15:55 -0700)]
test/rgw: extend obj, manifest unitests
Test rgw_raw_obj and upgrade of old rgw_obj, rgw_bucket and
old manifest.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 31 Oct 2016 22:56:26 +0000 (15:56 -0700)]
rgw: implicit rgw_bucket placement, manifest uses rgw_raw_obj
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>
Yehuda Sadeh [Thu, 13 Oct 2016 22:57:46 +0000 (15:57 -0700)]
rgw: simple manifest compaction
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 13 Oct 2016 03:22:01 +0000 (20:22 -0700)]
rgw: use rgw_raw_obj in manifest code
This drags in multiple related changes that are needed in order to
support that.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 11 Oct 2016 22:44:17 +0000 (15:44 -0700)]
rgw: decode rgw_raw_obj as rgw_obj when it's old object
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 11 Oct 2016 22:06:37 +0000 (15:06 -0700)]
rgw: remove unneeded virtual declarations
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 10 Oct 2016 22:09:35 +0000 (15:09 -0700)]
rgw: more fixes and adjustments following rgw_pool, rgw_raw_obj
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sun, 9 Oct 2016 05:16:18 +0000 (22:16 -0700)]
rgw: separate RGWObjState
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sat, 8 Oct 2016 04:03:32 +0000 (21:03 -0700)]
rgw: introduce rgw_pool, rgw_raw_obj
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>
Orit Wasserman [Thu, 9 Mar 2017 11:03:24 +0000 (13:03 +0200)]
rgw: skip conversion of zones without any zoneparams
Fixes: http://tracker.ceph.com/issues/19231
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Thu, 9 Mar 2017 09:16:26 +0000 (11:16 +0200)]
rgw: better debug information for upgrade
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Pan Liu [Thu, 9 Mar 2017 12:58:26 +0000 (20:58 +0800)]
librados: replace the var name from onact to oncomplete.
Signed-off-by: Pan Liu <pan.liu@istuary.com>
Sage Weil [Thu, 9 Mar 2017 15:35:29 +0000 (09:35 -0600)]
Merge pull request #13901 from Adirl/default
msg/async/rdma: compile with rdma as default
Reviewed-by: Sage Weil <sage@redhat.com>
Casey Bodley [Thu, 9 Mar 2017 14:53:27 +0000 (09:53 -0500)]
Merge pull request #13760 from zhangsw/fix-rgw-torrent-uri
rgw: get torrent request's parameter is not the same as amazon s3.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 9 Mar 2017 14:47:29 +0000 (09:47 -0500)]
Merge pull request #13660 from shashalu/rgw-read-sync-status
rgw: use separate http_manager for read_sync_status
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Abhishek L [Thu, 9 Mar 2017 14:17:12 +0000 (15:17 +0100)]
Merge pull request #13878 from smithfarm/wip-jewel-release-notes-fixup
doc: mention ENXIO change in the 10.2.6 release notes
Reviewed-by: Sage Weil <sweil@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Jianpeng Ma [Thu, 9 Mar 2017 13:57:26 +0000 (21:57 +0800)]
osd/PrimaryLogPG: remove duplicated code.
In fact, the following code in this function
>> if (op->may_write()) {
>> ....
>> // invalid?
>> if (m->get_snapid() != CEPH_NOSNAP) {
>> dout(20) << __func__ << ": write to clone not valid " << *m << dendl;
>> osd->reply_op_error(op, -EINVAL);
>> return;
>> }
has the same function. So remove the duplicated code.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
John Spray [Wed, 1 Mar 2017 19:12:41 +0000 (19:12 +0000)]
mgr: update for start_mon_command int->void
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 1 Mar 2017 15:21:51 +0000 (15:21 +0000)]
osd: update for mon_command void change
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Sat, 4 Feb 2017 23:31:16 +0000 (23:31 +0000)]
osdc: cmd arg should be const on Objecter::send_command
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Sat, 4 Feb 2017 21:20:04 +0000 (21:20 +0000)]
librados: update for osd_command/mon_command void change
Signed-off-by: John Spray <john.spray@redhat.com>