]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
shiqi [Fri, 17 Mar 2017 02:08:39 +0000 (10:08 +0800)]
test: Invalid local variables and it is in an infinite loop
Signed-off-by: shiqi <1454927420@qq.com>
Matt Benjamin [Thu, 16 Mar 2017 20:15:23 +0000 (16:15 -0400)]
Merge pull request #13953 from linuxbox2/wip-rmdir-check
rgw_file: implement reliable has-children check (unlink dir)
Tamilarasi Muthamizhan [Thu, 16 Mar 2017 17:40:24 +0000 (10:40 -0700)]
Merge pull request #13951 from smithfarm/wip-drop-obsolete-bt
tests: drop obsolete Perl scripts
Mykola Golub [Thu, 16 Mar 2017 17:18:34 +0000 (19:18 +0200)]
Merge pull request #13944 from liupan1111/wip-fix-nbd-issues
rbd-nbd: don't ignore --read-only option in BLKROSET ioctl
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Casey Bodley [Thu, 16 Mar 2017 16:37:43 +0000 (12:37 -0400)]
Merge pull request #13893 from hrchu/rgw-admin-api-doc
doc: Update adminops.rst
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 16 Mar 2017 16:20:20 +0000 (12:20 -0400)]
Merge pull request #13688 from theanalyst/fix/rgw/http-client-dout-msg
rgw: http_client clarify the debug msg function call
Reviewed-by: Casey Bodley <cbodley@redhat.com>
John Wilkins [Thu, 16 Mar 2017 16:19:59 +0000 (09:19 -0700)]
Merge pull request #13985 from ebozag/master
doc: Fixes a typo.
Reviewed-by: John Wilkins <jowilkin@redhat.com>
Casey Bodley [Thu, 16 Mar 2017 16:19:36 +0000 (12:19 -0400)]
Merge pull request #13761 from zhangsw/cleanup-rgw-unlinkobj
rgw: correct the debug info when unlink instance failed.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Matt Benjamin [Wed, 15 Mar 2017 20:35:16 +0000 (16:35 -0400)]
rgw_file: remove unused rgw_key variable
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Matt Benjamin [Wed, 15 Mar 2017 20:40:35 +0000 (16:40 -0400)]
rgw_file: rgw_readdir: return dot-dirs only when *offset is 0
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Matt Benjamin [Tue, 14 Mar 2017 01:52:08 +0000 (21:52 -0400)]
rgw_file: implement reliable has-children check (unlink dir)
Bug report and discussion provided by
Gui Hecheng <guihecheng@cmss.chinamobile.com> in nfs-ganesha upstream
github. Briefly, while a reliable check is potentially costly,
it is necessary.
Fixes: http://tracker.ceph.com/issues/19270
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Casey Bodley [Thu, 16 Mar 2017 15:37:14 +0000 (11:37 -0400)]
Merge pull request #13408 from zhangsw/fix-rgw-loglevel
rgw: change loglevel to 5 in user's quota sync.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Haomai Wang [Thu, 16 Mar 2017 15:14:05 +0000 (23:14 +0800)]
Merge pull request #14001 from Adirl/rdma-cm-1
msg/async/rdma: Introduce Device.{cc,h}
Reviewed-by: Haomai Wang <haomai@xsky.com>
Kefu Chai [Thu, 16 Mar 2017 15:05:42 +0000 (23:05 +0800)]
Merge pull request #13930 from drunkard/master
doc: fix a typo
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 16 Mar 2017 15:02:39 +0000 (23:02 +0800)]
Merge pull request #13958 from wangzhengyong/have_output
mon: drop useless assignment statements
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Amir Vadai [Wed, 15 Mar 2017 09:08:38 +0000 (11:08 +0200)]
msg/async/rdma: Introduce Device.{cc,h}
Later on, multidevice support will be added and Device class will be the
main RDMA class (instead of Infiniband as it is today).
Issue: 995322
Change-Id: I060d849de21c8f847dd11ecd3edf1ddfb79b0820
Signed-off-by: Amir Vadai <amir@vadai.me>
Amir Vadai [Mon, 6 Feb 2017 17:32:27 +0000 (19:32 +0200)]
msg/async/rdma: Change port num into int to be printed properly
Issue: 995322
Change-Id: If3095f2cc257cfe110652adca4a6175644c0230e
Signed-off-by: Amir Vadai <amir@vadai.me>
Mykola Golub [Thu, 16 Mar 2017 11:38:28 +0000 (13:38 +0200)]
Merge pull request #13986 from dillaman/wip-19081
librbd: image create validates that pool supports overwrites
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Haomai Wang [Thu, 16 Mar 2017 08:35:58 +0000 (16:35 +0800)]
Merge pull request #13905 from yuyuyu101/wip-fix-assert
msg/async/rdma: fix outstanding queuepair when destruct RDMAStack
Reviewed-by: Adir lev <adirl@mellanox.com>
Drunkard Zhang [Thu, 16 Mar 2017 01:45:04 +0000 (09:45 +0800)]
doc: typo fix in rados/operations/crush-map
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
Nathan Cutler [Thu, 16 Mar 2017 04:07:35 +0000 (05:07 +0100)]
Merge pull request #13983 from gaurav36/bug-19273-fix-typo
rbd: fix typo in Kernel.cc
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Jason Dillaman [Wed, 15 Mar 2017 18:49:13 +0000 (14:49 -0400)]
librbd: image create validates that pool supports overwrites
Fixes: http://tracker.ceph.com/issues/19081
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 15 Mar 2017 20:33:58 +0000 (16:33 -0400)]
librbd: clean up debug messages within image create state machine
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
John Spray [Wed, 15 Mar 2017 21:29:48 +0000 (21:29 +0000)]
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>
John Spray [Wed, 15 Mar 2017 21:15:43 +0000 (21:15 +0000)]
Merge pull request #13807 from jcsp/wip-19118
mds: try to avoid false positive heartbeat timeouts
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>
Jason Dillaman [Wed, 15 Mar 2017 18:12:35 +0000 (14:12 -0400)]
librbd: removed legacy state machine callbacks from CreateRequest
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
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>
Sage Weil [Wed, 15 Mar 2017 18:09:33 +0000 (13:09 -0500)]
Merge pull request #13913 from wangzhengyong/release
os/bluestore/Allocator: drop unused return value in release function
Reviewed-by: Sage Weil <sage@redhat.com>
Gaurav Kumar Garg [Wed, 15 Mar 2017 16:13:54 +0000 (17:13 +0100)]
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>
Casey Bodley [Wed, 15 Mar 2017 13:14:42 +0000 (09:14 -0400)]
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>
Jason Dillaman [Wed, 15 Mar 2017 13:07:38 +0000 (09:07 -0400)]
Merge pull request #13977 from runsisi/wip-fix-rbd-py
pybind: fix docstring for librbd Python binding
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Wed, 15 Mar 2017 10:49:18 +0000 (18:49 +0800)]
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>
Kefu Chai [Wed, 15 Mar 2017 08:24:39 +0000 (16:24 +0800)]
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>
runsisi [Wed, 15 Mar 2017 08:36:06 +0000 (16:36 +0800)]
pybind: fix docstring for librbd Python binding
Signed-off-by: runsisi <runsisi@zte.com.cn>
Kefu Chai [Wed, 15 Mar 2017 08:14:39 +0000 (16:14 +0800)]
Merge pull request #13817 from ceph/wip-vstart-rgw-help
vstart: add --help documentation for rgw_num
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 15 Mar 2017 04:28:30 +0000 (12:28 +0800)]
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>
Kefu Chai [Wed, 15 Mar 2017 03:57:11 +0000 (11:57 +0800)]
Merge pull request #13945 from ceph/wip-selinux-psched
selinux: Allow ceph daemons to read net stats
Reviewed-by: Kefu Chai <kchai@redhat.com>
Ali Maredia [Mon, 6 Mar 2017 22:32:48 +0000 (17:32 -0500)]
vstart: --help usage for rgw_num, mgr_num, mon, mds, osd
Signed-off-by: Ali Maredia <amaredia@redhat.com>
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>
Pan Liu [Tue, 14 Mar 2017 12:38:40 +0000 (20:38 +0800)]
rbd-nbd: should set read_only when --readonly is set.
Signed-off-by: Pan Liu <liupan1111@gmail.com>
Pan Liu [Tue, 14 Mar 2017 12:14:33 +0000 (20:14 +0800)]
rbd-nbd: fixed typo and format in help info.
Signed-off-by: Pan Liu <liupan1111@gmail.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>
wangzhengyong [Tue, 14 Mar 2017 08:50:59 +0000 (16:50 +0800)]
mon: drop useless assignment statements
Signed-off-by: wangzhengyong@cmss.chinamobile.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>
Nathan Cutler [Mon, 13 Mar 2017 22:19:43 +0000 (23:19 +0100)]
tests: drop obsolete Perl scripts
None of these appear to be used by any tests currently in "master".
Signed-off-by: Nathan Cutler <ncutler@suse.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>
Boris Ranto [Mon, 13 Mar 2017 16:51:45 +0000 (17:51 +0100)]
selinux: Allow ceph daemons to read net stats
Fixes: http://tracker.ceph.com/issues/19254
Signed-off-by: Boris Ranto <branto@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>
hechuang [Mon, 13 Mar 2017 07:25:37 +0000 (15:25 +0800)]
compressor: fix Mutex::Locker used is not correct
Signed-off-by: hechuang <hechuang@xsky.com>
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>
Orit Wasserman [Sun, 12 Mar 2017 10:11:28 +0000 (12:11 +0200)]
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>
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>
wangzhengyong [Fri, 10 Mar 2017 02:06:50 +0000 (10:06 +0800)]
os/bluestore/Allocator: drop unused return value in release function
Signed-off-by: wangzhengyong@cmss.chinamobile.com
hrchu [Thu, 9 Mar 2017 03:07:09 +0000 (11:07 +0800)]
doc: add bucket-id to link bucket in adminops.rst
The link bucket operation requires the bucket-id parameter.
Signed-off-by: Chu, Hua-Rong <hrchu@cht.com.tw>
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>