Commit Graph

69674 Commits

Author SHA1 Message Date
Jason Dillaman
a16beba784 librbd: image create validates that pool supports overwrites
Fixes: http://tracker.ceph.com/issues/19081
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-03-15 17:30:11 -04:00
Jason Dillaman
d4e27c48aa librbd: clean up debug messages within image create state machine
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-03-15 17:30:10 -04:00
John Spray
4b0654f26a Merge pull request #13628 from jcsp/wip-19075
mds: extend 'p' auth cap to cover all vxattr stuff

Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-03-15 21:29:48 +00:00
John Spray
5f6fa0e2f7 Merge pull request #13807 from jcsp/wip-19118
mds: try to avoid false positive heartbeat timeouts
2017-03-15 21:15:43 +00:00
Jason Dillaman
8d79bf2bcb librbd: removed legacy state machine callbacks from CreateRequest
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-03-15 14:12:35 -04:00
Sage Weil
84de8178c2 Merge pull request #13913 from wangzhengyong/release
os/bluestore/Allocator: drop unused return value in release function

Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-15 13:09:33 -05:00
Gaurav Kumar Garg
197e4704bb rbd: fix typo in Kernel.cc
Fixes: http://tracker.ceph.com/issues/19273

Reported-by: Shinobu Kinjo <shinobu@redhat.com>
Signed-off-by: Gaurav Kumar Garg <garg.gaurav52@gmail.com>
2017-03-15 17:18:17 +01:00
Casey Bodley
5d231db13b Merge pull request #13928 from oritwas/wip-rgw-19195
rgw: use rgw_zone_root_pool for region_map like is done in hammer

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-03-15 09:14:42 -04:00
Jason Dillaman
76e08c26b7 Merge pull request #13977 from runsisi/wip-fix-rbd-py
pybind: fix docstring for librbd Python binding

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-03-15 09:07:38 -04:00
Kefu Chai
7f1e575316 Merge pull request #13976 from tchaikov/wip-fix-docs-links
doc: fix the links to http://ceph.com/docs

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-03-15 18:49:18 +08:00
Kefu Chai
bd36f13163 doc: fix the links to http://ceph.com/docs
they should point to http://docs.ceph.com/docs/master/.. instead

Fixes: http://tracker.ceph.com/issues/19090
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-03-15 16:40:07 +08:00
runsisi
5703d8ab15 pybind: fix docstring for librbd Python binding
Signed-off-by: runsisi <runsisi@zte.com.cn>
2017-03-15 16:36:06 +08:00
Kefu Chai
bd7146e030 Merge pull request #13817 from ceph/wip-vstart-rgw-help
vstart: add --help documentation for rgw_num

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-15 16:14:39 +08:00
Kefu Chai
3b65b89500 Merge pull request #13935 from chuang-he/fix_mutex_locker_of_compressor
compressor: fix Mutex::Locker used is not correct

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-15 12:28:30 +08:00
Kefu Chai
c8fa9a4b00 Merge pull request #13945 from ceph/wip-selinux-psched
selinux: Allow ceph daemons to read net stats

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-15 11:57:11 +08:00
Ali Maredia
6307add5f8 vstart: --help usage for rgw_num, mgr_num, mon, mds, osd
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2017-03-14 15:23:46 -04:00
Casey Bodley
6ba4858772 Merge pull request #13949 from cbodley/wip-15618
rgw: clear old zone short ids on period update

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-03-14 14:26:32 -04:00
Casey Bodley
13e758782f 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>
2017-03-14 14:26:12 -04:00
Casey Bodley
8e77ea4549 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>
2017-03-14 13:39:45 -04:00
Casey Bodley
67ffcf895d 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>
2017-03-14 12:19:00 -04:00
Casey Bodley
849589d917 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>
2017-03-14 12:10:00 -04:00
Casey Bodley
c952e85270 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>
2017-03-14 10:43:32 -04:00
Kefu Chai
8a7103e85f 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>
2017-03-14 21:17:07 +08:00
John Spray
6586f32f35 Merge branch 'wip-omap-getkeys-mds' 2017-03-14 11:51:51 +00:00
Sage Weil
ecff8c6ce0 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>
2017-03-14 11:51:25 +00:00
Sage Weil
d7baef4ff8 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>
2017-03-14 11:51:25 +00:00
Sage Weil
8e740c07a1 mds/CDir: fetch dir omap in batches as needed
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-14 11:51:25 +00:00
Sage Weil
82f162c9e6 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>
2017-03-14 11:51:24 +00:00
Ilya Dryomov
aa647f43c4 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>
2017-03-14 10:22:42 +01:00
Kefu Chai
6dbb4f072c 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>
2017-03-14 13:01:44 +08:00
liuchang0812
3b247475a2 rgw/cleanup: add override in headers
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-03-14 12:09:29 +08:00
Kefu Chai
16b03c43d8 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>
2017-03-14 10:56:05 +08:00
Josh Durgin
7852b80613 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>
2017-03-13 15:26:58 -07:00
Sage Weil
b1261e0b2f 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>
2017-03-13 14:59:29 -05:00
Yuri Weinstein
8a76c88a65 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>
2017-03-13 12:58:12 -07:00
Yuri Weinstein
b198061fce 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>
2017-03-13 12:57:06 -07:00
Sage Weil
abce6de351 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>
2017-03-13 14:55:26 -05:00
Yuri Weinstein
421f6711a2 Merge pull request #13894 from majianpeng/do_op_duplicated_code
osd/PrimaryLogPG: remove duplicated code.

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
2017-03-13 12:52:27 -07:00
Casey Bodley
9c45633c83 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>
2017-03-13 15:51:12 -04:00
Casey Bodley
f332fb1c15 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>
2017-03-13 14:51:39 -04:00
Boris Ranto
dfd6880071 selinux: Allow ceph daemons to read net stats
Fixes: http://tracker.ceph.com/issues/19254

Signed-off-by: Boris Ranto <branto@redhat.com>
2017-03-13 17:51:48 +01:00
Mykola Golub
0e7027f150 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>
2017-03-13 18:26:52 +02:00
Casey Bodley
3fa11cf67e 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>
2017-03-13 10:27:49 -04:00
Loic Dachary
b1a2f9fbc9 Merge pull request #13722 from dachary/wip-crush-doc
crush: document tunables and rule step set_

Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-13 15:07:47 +01:00
Loic Dachary
42aa85bd95 crush: document tunables and rule step set_
Signed-off-by: Loic Dachary <loic@dachary.org>
2017-03-13 13:50:16 +01:00
hechuang
7da62dc235 compressor: fix Mutex::Locker used is not correct
Signed-off-by: hechuang <hechuang@xsky.com>
2017-03-13 15:34:34 +08:00
Nathan Cutler
0c2f5f7214 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>
2017-03-13 08:34:27 +01:00
Jason Dillaman
c0c9d1014d 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>
2017-03-12 11:18:02 -04:00
Jason Dillaman
04d524bbc1 Merge pull request #13926 from trociny/wip-19260
librbd: fix clang compilation error

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-03-12 10:51:58 -04:00
Orit Wasserman
c91dd6d9ef rgw: use rgw_zone_root_pool for region_map like is done in hammer
Fixes: http://tracker.ceph.com/issues/19195
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2017-03-12 12:11:28 +02:00