]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agorbd: spell out image features unsupported by the kernel 13812/head
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>
8 years agoMerge pull request #13765 from guihecheng/rgwfs-time-attrs
Matt Benjamin [Sat, 4 Mar 2017 20:50:47 +0000 (15:50 -0500)]
Merge pull request #13765 from guihecheng/rgwfs-time-attrs

rgw_file: posix style atime,ctime,mtime

8 years agoMerge pull request #13712 from linuxbox2/wip-dtor-fhcache
Matt Benjamin [Sat, 4 Mar 2017 20:50:03 +0000 (15:50 -0500)]
Merge pull request #13712 from linuxbox2/wip-dtor-fhcache

rgw_file: RGWFileHandle dtor must also cond-unlink from FHCache

8 years agoMerge pull request #13645 from yehudasa/wip-rgw-support-ragweed
Orit Wasserman [Sat, 4 Mar 2017 14:12:09 +0000 (16:12 +0200)]
Merge pull request #13645 from yehudasa/wip-rgw-support-ragweed

rgw: add apis to support ragweed
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
8 years agoMerge pull request #13413 from zhaochao/fix-mailmap-affiation
Kefu Chai [Sat, 4 Mar 2017 04:51:19 +0000 (12:51 +0800)]
Merge pull request #13413 from zhaochao/fix-mailmap-affiation

mailmap: fix Zhao Chao affiliation.

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agoMerge pull request #13767 from tchaikov/wip-vstart-no-multiple-mgr-x
Sage Weil [Fri, 3 Mar 2017 15:56:07 +0000 (09:56 -0600)]
Merge pull request #13767 from tchaikov/wip-vstart-no-multiple-mgr-x

vstart.sh: do not add host for mgr.* section if not $overwrite_conf

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agorgw_file: RGWFileHandle dtor must also cond-unlink from FHCache 13712/head
Matt Benjamin [Wed, 1 Mar 2017 01:24:12 +0000 (20:24 -0500)]
rgw_file: RGWFileHandle dtor must also cond-unlink from FHCache

Formerly masked in part by the reclaim() action, direct-delete now
substitutes for reclaim() iff its LRU lane is over its high-water
mark, and in particular, like reclaim() the destructor is certain
to see handles still interned on the FHcache when nfs-ganesha is
recycling objects from its own LRU.

Fixes: http://tracker.ceph.com/issues/19112
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agoMerge pull request #13584 from theanalyst/doc/release-luminous
Nathan Cutler [Fri, 3 Mar 2017 09:42:07 +0000 (10:42 +0100)]
Merge pull request #13584 from theanalyst/doc/release-luminous

doc: releases update the luminous, hammer, jewel release dates

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agovstart.sh: do not add host for mgr.* section if not $overwrite_conf 13767/head
Kefu Chai [Fri, 3 Mar 2017 07:52:11 +0000 (15:52 +0800)]
vstart.sh: do not add host for mgr.* section if not $overwrite_conf

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13678 from liewegas/wip-readable
Kefu Chai [Fri, 3 Mar 2017 07:03:03 +0000 (15:03 +0800)]
Merge pull request #13678 from liewegas/wip-readable

test/encoding: fix readable.sh bugs; fix ceph-object-corpus

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agorgw_file: posix style atime,ctime,mtime 13765/head
Gui Hecheng [Thu, 2 Mar 2017 09:21:57 +0000 (17:21 +0800)]
rgw_file: posix style atime,ctime,mtime

As an ganesha FSAL backend, rgw_file should properly maintain
the atime,ctime,mtime properly against operations such as:
(read,write) for file
(create,unlink,mkdir,rmdir,rename) for dir
(setattr) for file and dir

Signed-off-by: Gui Hecheng <guihecheng@cmss.chinamobile.com>
8 years agoMerge pull request #13762 from Liuchang0812/wip-remove-unnecessary-code-in-mon
Kefu Chai [Fri, 3 Mar 2017 05:05:04 +0000 (13:05 +0800)]
Merge pull request #13762 from Liuchang0812/wip-remove-unnecessary-code-in-mon

mon: remove unnecessary function declaration

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agomon: remove unnecessary function declaration 13762/head
liuchang0812 [Fri, 3 Mar 2017 03:54:34 +0000 (11:54 +0800)]
mon: remove unnecessary function declaration

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agoMerge pull request #12566 from Liuchang0812/wip-rados
Kefu Chai [Fri, 3 Mar 2017 03:47:25 +0000 (11:47 +0800)]
Merge pull request #12566 from Liuchang0812/wip-rados

tools/rados: remove useless function declaration

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12421 from cernceph/wip-dvanders-split
Sage Weil [Fri, 3 Mar 2017 01:04:51 +0000 (19:04 -0600)]
Merge pull request #12421 from cernceph/wip-dvanders-split

os/filestore/HashIndex: be loud about splits

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12627 from liupan1111/wip-fix-remove-when-full
Yuri Weinstein [Fri, 3 Mar 2017 00:59:34 +0000 (16:59 -0800)]
Merge pull request #12627 from liupan1111/wip-fix-remove-when-full

rbd: When Ceph cluster becomes full, should allow user to remove rbd …

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #13289 from songbaisen/s13
Yuri Weinstein [Fri, 3 Mar 2017 00:57:23 +0000 (16:57 -0800)]
Merge pull request #13289 from songbaisen/s13

rados:  we need to get the latest osdmap when pool does not exists

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #13599 from kylinstorage/cleanup_bitmapallocator
Sage Weil [Thu, 2 Mar 2017 22:50:22 +0000 (16:50 -0600)]
Merge pull request #13599 from kylinstorage/cleanup_bitmapallocator

os/bluestore/BitMapAllocator: rm unused variable

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13744 from smithfarm/wip-19129
Sage Weil [Thu, 2 Mar 2017 22:39:46 +0000 (16:39 -0600)]
Merge pull request #13744 from smithfarm/wip-19129

build/ops: add psmisc dependency to ceph-base (deb and rpm)

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13750 from Saumay-Agrawal/master
Sage Weil [Thu, 2 Mar 2017 22:38:56 +0000 (16:38 -0600)]
Merge pull request #13750 from Saumay-Agrawal/master

mon: Update OSDMon.cc comments

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13751 from Saumay-Agrawal/patch-1
Sage Weil [Thu, 2 Mar 2017 22:38:07 +0000 (16:38 -0600)]
Merge pull request #13751 from Saumay-Agrawal/patch-1

doc: Update sample.ceph.conf

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoUpdate sample.ceph.conf 13751/head
Saumay Agrawal [Thu, 2 Mar 2017 19:34:19 +0000 (01:04 +0530)]
Update sample.ceph.conf

I have fixed the cleanup issue #19090: Wrong hard-coded URLs
Please add these changes to your documentation.

8 years agoUpdate OSDMon.cc 13750/head
Saumay Agrawal [Thu, 2 Mar 2017 19:09:26 +0000 (00:39 +0530)]
Update OSDMon.cc

I have fixed the issue cleanup #19090: Wrong hard-coded URLs
I have replaced the wrong URLs with correct URLs redirecting to the Tunables headline under Crush Map documentation.
Please add it to the documentation.

8 years agoMerge pull request #13748 from tchaikov/wip-disable-dwz
Sage Weil [Thu, 2 Mar 2017 18:12:52 +0000 (12:12 -0600)]
Merge pull request #13748 from tchaikov/wip-disable-dwz

rpm: disable dwz to speed up valgrind

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13571 from trociny/wip-18784
Jason Dillaman [Thu, 2 Mar 2017 17:03:25 +0000 (12:03 -0500)]
Merge pull request #13571 from trociny/wip-18784

rbd-mirror A/A: leader should track up/down rbd-mirror instances

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #13746 from tahia-khan/wip-doc-quick-ceph-deploy
Kefu Chai [Thu, 2 Mar 2017 16:13:57 +0000 (00:13 +0800)]
Merge pull request #13746 from tahia-khan/wip-doc-quick-ceph-deploy

doc: deletes duplicated word and clarifies an example

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13689 from Liuchang0812/wip-19107-cleanup-confutil
Sage Weil [Thu, 2 Mar 2017 16:07:30 +0000 (10:07 -0600)]
Merge pull request #13689 from Liuchang0812/wip-19107-cleanup-confutil

common: use ref to avoid unnecessary memory copy

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13739 from Liuchang0812/fix-unittest-hostname
Sage Weil [Thu, 2 Mar 2017 16:05:21 +0000 (10:05 -0600)]
Merge pull request #13739 from Liuchang0812/fix-unittest-hostname

test: unittest_hostname compile error on freebsd

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agoMerge pull request #13693 from Liuchang0812/wip-add-override-in-mon-headers
Sage Weil [Thu, 2 Mar 2017 16:04:04 +0000 (10:04 -0600)]
Merge pull request #13693 from Liuchang0812/wip-add-override-in-mon-headers

mon: add override in headers

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13701 from dillaman/wip-19010
Mykola Golub [Thu, 2 Mar 2017 15:42:54 +0000 (17:42 +0200)]
Merge pull request #13701 from dillaman/wip-19010

librbd: simplify image open/close semantics

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agocommon: use ref to avoid unnecessary memory copy 13689/head
liuchang0812 [Tue, 28 Feb 2017 08:59:41 +0000 (16:59 +0800)]
common: use ref to avoid unnecessary memory copy

Fixes: http://tracker.ceph.com/issues/19107
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agodoc: deletes duplicated word and clarifies an example 13746/head
Tahia Khan [Thu, 2 Mar 2017 13:41:38 +0000 (08:41 -0500)]
doc: deletes duplicated word and clarifies an example

Signed-off-by: Tahia Khan <tahia.khan@gmail.com>
8 years agoMerge pull request #13679 from dillaman/wip-librbd-image-cache-clip
Mykola Golub [Thu, 2 Mar 2017 13:01:35 +0000 (15:01 +0200)]
Merge pull request #13679 from dillaman/wip-librbd-image-cache-clip

librbd: image-extent cache needs to clip out-of-bounds read buffers

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agomon: add override in headers 13693/head
liuchang0812 [Wed, 22 Feb 2017 10:07:02 +0000 (18:07 +0800)]
mon: add override in headers

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agobuild/ops: add psmisc dependency to ceph-base (deb and rpm) 13744/head
Nathan Cutler [Thu, 2 Mar 2017 11:41:07 +0000 (12:41 +0100)]
build/ops: add psmisc dependency to ceph-base (deb and rpm)

Fixes: http://tracker.ceph.com/issues/19129
Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agomailmap: fix Zhao Chao affiliation. 13413/head
Zhao Chao [Tue, 14 Feb 2017 08:39:15 +0000 (16:39 +0800)]
mailmap: fix Zhao Chao affiliation.

Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
8 years agoMerge pull request #13427 from ly798/update-info
Kefu Chai [Thu, 2 Mar 2017 09:00:48 +0000 (17:00 +0800)]
Merge pull request #13427 from ly798/update-info

mailmap: Liu Yang affiliation

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #13738 from yuyuyu101/wip-fix-ib
Haomai Wang [Thu, 2 Mar 2017 07:52:03 +0000 (15:52 +0800)]
Merge pull request #13738 from yuyuyu101/wip-fix-ib

msg/async/rdma: fix potential racing connection usage

Reviewed-by: Adir lev <adirl@mellanox.com>
8 years agoMerge pull request #13655 from Adirl/ulimit
Haomai Wang [Thu, 2 Mar 2017 07:02:21 +0000 (15:02 +0800)]
Merge pull request #13655 from Adirl/ulimit

msg/async/rdma: check ulimit

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agomsg/async/rdma: check ulimit 13655/head
Sarit Zubakov [Mon, 20 Feb 2017 20:52:55 +0000 (20:52 +0000)]
msg/async/rdma: check ulimit

On RDMA, memlock should be unlimited. If it is not then
warn the user

issue: 973654

Change-Id: If1e07722aaca9df88714828ca3f7398a2504e262
Signed-off-by: Sarit Zubakov <saritz@mellanox.com>
Signed-off-by: Adir Lev <adirl@mellanox.com>
8 years agoMerge pull request #13510 from yuyuyu101/wip-rdma-buffer-size
Haomai Wang [Thu, 2 Mar 2017 06:47:01 +0000 (14:47 +0800)]
Merge pull request #13510 from yuyuyu101/wip-rdma-buffer-size

common/config_opts: improve rdma buffer size to 128k

8 years agotest: unittest_hostname compile error on freebsd 13739/head
liuchang0812 [Thu, 2 Mar 2017 05:56:20 +0000 (13:56 +0800)]
test: unittest_hostname compile error on freebsd

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agoMerge pull request #13713 from drunkard/master
Kefu Chai [Thu, 2 Mar 2017 06:16:48 +0000 (14:16 +0800)]
Merge pull request #13713 from drunkard/master

doc: misc minor fixes

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agorpm: disable dwz to speed up valgrind 13748/head
Kefu Chai [Thu, 2 Mar 2017 05:08:17 +0000 (13:08 +0800)]
rpm: disable dwz to speed up valgrind

Fixes: http://tracker.ceph.com/issues/19099
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agomsg/async/rdma: fix incorrect method name 13738/head
Haomai Wang [Thu, 2 Mar 2017 03:53:13 +0000 (11:53 +0800)]
msg/async/rdma: fix incorrect method name

Signed-off-by: Haomai Wang <haomai@xsky.com>
8 years agomsg/async/rdma: keep qp_conns lock to prevent connection alive
Haomai Wang [Thu, 2 Mar 2017 03:44:59 +0000 (11:44 +0800)]
msg/async/rdma: keep qp_conns lock to prevent connection alive

Signed-off-by: Haomai Wang <haomai@xsky.com>
8 years agomsg/async/rdma: remove unused variables
Haomai Wang [Thu, 2 Mar 2017 03:41:52 +0000 (11:41 +0800)]
msg/async/rdma: remove unused variables

Signed-off-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #13525 from yuyuyu101/wip-infiniband-fork
Haomai Wang [Thu, 2 Mar 2017 03:36:51 +0000 (11:36 +0800)]
Merge pull request #13525 from yuyuyu101/wip-infiniband-fork

msg/async/rdma: make Infiniband can be forkable

8 years agomsg/async/rdma: restart Infiniband resources to handle fork properly 13525/head
Haomai Wang [Mon, 20 Feb 2017 03:58:15 +0000 (11:58 +0800)]
msg/async/rdma: restart Infiniband resources to handle fork properly

Signed-off-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #13666 from Adirl/chunk_size
Haomai Wang [Thu, 2 Mar 2017 03:34:44 +0000 (11:34 +0800)]
Merge pull request #13666 from Adirl/chunk_size

msg/async/rdma: rename chunk_size to buffer_size

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agodoc: add missed commas 13713/head
Drunkard Zhang [Wed, 1 Mar 2017 02:06:02 +0000 (10:06 +0800)]
doc: add missed commas

Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
8 years agodoc: add mark for quoted content
Drunkard Zhang [Wed, 1 Mar 2017 02:05:38 +0000 (10:05 +0800)]
doc: add mark for quoted content

Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
8 years agodoc: command typo fix, s/radosgw_admin/radosgw-admin
Drunkard Zhang [Wed, 1 Mar 2017 02:01:38 +0000 (10:01 +0800)]
doc: command typo fix, s/radosgw_admin/radosgw-admin

Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
8 years agodoc: fix aiming of command ping
Drunkard Zhang [Wed, 1 Mar 2017 02:00:43 +0000 (10:00 +0800)]
doc: fix aiming of command ping

Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
8 years agodoc: hyperlink typo fix in dev/index
Drunkard Zhang [Wed, 1 Mar 2017 01:58:29 +0000 (09:58 +0800)]
doc: hyperlink typo fix in dev/index

The doc compiler complains about this.

Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
8 years agoMerge pull request #13680 from yuyuyu101/wip-tx-zerocopy
Haomai Wang [Thu, 2 Mar 2017 02:00:16 +0000 (10:00 +0800)]
Merge pull request #13680 from yuyuyu101/wip-tx-zerocopy

msg/async/rdma: refactor tx handle flow to get rid of locks

Reviewed-by: Adir lev <adirl@mellanox.com>
8 years agoMerge pull request #13706 from zmc/wip-openstack-volumes
Zack Cerza [Wed, 1 Mar 2017 23:35:42 +0000 (16:35 -0700)]
Merge pull request #13706 from zmc/wip-openstack-volumes

qa/suites/ceph-deploy: Drop OpenStack volume count

8 years agoMerge pull request #13657 from badone/wip-rgw-setuid-no-coredump
Brad Hubbard [Wed, 1 Mar 2017 22:54:37 +0000 (08:54 +1000)]
Merge pull request #13657 from badone/wip-rgw-setuid-no-coredump

rgw: set dumpable flag after setuid post ff0e521

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
8 years agoMerge pull request #12998 from Liuchang0812/wip-11081
Sage Weil [Wed, 1 Mar 2017 22:30:24 +0000 (16:30 -0600)]
Merge pull request #12998 from Liuchang0812/wip-11081

common: fix that $host always expands to localhost instead of actual hostname

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13651 from rzarzynski/wip-bs-bitmap-nocct-in-entry
Sage Weil [Wed, 1 Mar 2017 22:29:09 +0000 (16:29 -0600)]
Merge pull request #13651 from rzarzynski/wip-bs-bitmap-nocct-in-entry

os/bluestore: remove CephContext* from BmapEntry.

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13662 from majianpeng/aio-memset
Sage Weil [Wed, 1 Mar 2017 22:28:38 +0000 (16:28 -0600)]
Merge pull request #13662 from majianpeng/aio-memset

os/aio: remove the redundant memset(struct iocb)

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13668 from songbaisen/m3
Sage Weil [Wed, 1 Mar 2017 22:27:24 +0000 (16:27 -0600)]
Merge pull request #13668 from songbaisen/m3

osd: the osd should not share map with others when it is in stopping state

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13702 from liewegas/wip-trackedop-desc
Sage Weil [Wed, 1 Mar 2017 22:26:54 +0000 (16:26 -0600)]
Merge pull request #13702 from liewegas/wip-trackedop-desc

common/TrackedOp: make TrackedOp::reset_desc() safe

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoqa/suites/ceph-deploy: Drop OpenStack volume count 13706/head
Zack Cerza [Tue, 28 Feb 2017 20:07:15 +0000 (13:07 -0700)]
qa/suites/ceph-deploy: Drop OpenStack volume count

Looks like we only need two per node, since there is only one OSD per
node, and ceph-deploy wants two disks per OSD to account for the
journal.

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #13729 from dillaman/wip-librbd-compile-warnings
Mykola Golub [Wed, 1 Mar 2017 21:57:54 +0000 (23:57 +0200)]
Merge pull request #13729 from dillaman/wip-librbd-compile-warnings

librbd: eliminate compiler warnings

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #11995 from SUSE/wip_timeouts_ceph-create-keys
Kefu Chai [Wed, 1 Mar 2017 17:07:22 +0000 (01:07 +0800)]
Merge pull request #11995 from SUSE/wip_timeouts_ceph-create-keys

ceph-create-keys: Add connection timeouts.

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agomsg/async: must destruct ConnectedSocket in the his own thread 13680/head
Haomai Wang [Wed, 1 Mar 2017 12:47:44 +0000 (20:47 +0800)]
msg/async: must destruct ConnectedSocket in the his own thread

Signed-off-by: Haomai Wang <haomai@xsky.com>
8 years agomsg/async/rdma: refactor RDMAStack to accelerate tx handle
Haomai Wang [Mon, 27 Feb 2017 15:25:41 +0000 (23:25 +0800)]
msg/async/rdma: refactor RDMAStack to accelerate tx handle

previously Dispatcher thread will poll both rx and tx events, then dispatch
these events to RDMAWorker and RDMAConnectedSocketImpl.

Actually tx event handling is a lightweight task and we make these handling
inline now. rx event dispatching is still working.

Another change is adding tx cq to make event polling separated.

removing lots of codes yet.

Signed-off-by: Haomai Wang <haomai@xsky.com>
8 years agolibrbd: eliminate compiler warnings 13729/head
Jason Dillaman [Wed, 1 Mar 2017 15:34:58 +0000 (10:34 -0500)]
librbd: eliminate compiler warnings

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #13343 from liewegas/wip-faster-dispatch
Sage Weil [Wed, 1 Mar 2017 15:21:55 +0000 (09:21 -0600)]
Merge pull request #13343 from liewegas/wip-faster-dispatch

osd: faster dispatch

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #13557 from prallabh/healthcheck
Radoslaw Zarzynski [Wed, 1 Mar 2017 12:06:06 +0000 (13:06 +0100)]
Merge pull request #13557 from prallabh/healthcheck

rgw: Correct the return codes for the health check feature

Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agoMerge pull request #13685 from tchaikov/wip-19097
Kefu Chai [Wed, 1 Mar 2017 10:12:14 +0000 (18:12 +0800)]
Merge pull request #13685 from tchaikov/wip-19097

mgr/MgrClient: use unique_ptr for MgrClient::session

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13716 from Adirl/move_counter
Haomai Wang [Wed, 1 Mar 2017 07:54:17 +0000 (15:54 +0800)]
Merge pull request #13716 from Adirl/move_counter

msg/async/rdma: move active_queue_pairs perf counter dec to polling

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agomsg/async/rdma: move active_queue_pairs perf counter dec to polling 13716/head
DanielBar-On [Tue, 28 Feb 2017 16:12:07 +0000 (16:12 +0000)]
msg/async/rdma: move active_queue_pairs perf counter dec to polling

removing dead qp's is actually done at polling. if polling is busy then
dead qp will not be removed and active_queue_pair counter is not correct.

issue: 992513

Change-Id: I825e813ce0632fd01f6d29adc87e0e33a2bc13d9
Signed-off-by: DanielBar-On <danielbo@mellanox.com>
8 years agorgw: Correct the return codes for the health check feature 13557/head
root [Tue, 21 Feb 2017 11:03:29 +0000 (16:33 +0530)]
rgw: Correct the return codes for the health check feature
Fixes: http://tracker.ceph.com/issues/19025
Signed-off-by: Pavan Rallabhandi <PRallabhandi@walmartlabs.com>
8 years agomon/MonClient: do not assert on auth in build_authorizer() 13685/head
Kefu Chai [Tue, 28 Feb 2017 06:38:14 +0000 (06:38 +0000)]
mon/MonClient: do not assert on auth in build_authorizer()

* there is chance that some connections is still trying to authorize
  itself after the MonClient is shut down. do not assert in this case,
  but it is a sign of bug, or bad shutdown sequence, so print a message to
  dout().
* do not use active_con->get_auth() as an alternative to `this->auth` if
  it is not available. because we promote the authorized conn in
  pending_cons as the active_con, and std::swap(active_conn->auth, this->auth)
  with the monc_lock. so there is no point to return active_con->get_auth(),
  as it's always null.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agodoc: command typo fix
Drunkard Zhang [Wed, 1 Mar 2017 01:52:29 +0000 (09:52 +0800)]
doc: command typo fix

Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
8 years agodoc: remove dead doc from index
Drunkard Zhang [Wed, 1 Mar 2017 01:52:10 +0000 (09:52 +0800)]
doc: remove dead doc from index

Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
8 years agodoc: hyperlink fix
Drunkard Zhang [Wed, 1 Mar 2017 01:51:01 +0000 (09:51 +0800)]
doc: hyperlink fix

Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
8 years agoMerge pull request #13703 from linuxbox2/wip-is-linked
Matt Benjamin [Tue, 28 Feb 2017 21:16:16 +0000 (16:16 -0500)]
Merge pull request #13703 from linuxbox2/wip-is-linked

rgw_file:  use fh_hook::is_linked() to check residence
verified by hand f23

8 years agorgw_file: use fh_hook::is_linked() to check residence 13703/head
Matt Benjamin [Tue, 28 Feb 2017 20:49:06 +0000 (15:49 -0500)]
rgw_file:  use fh_hook::is_linked() to check residence

Previously we assumed that !deleted handles were resident--there
is an observed case where a !deleted handle is !linked.  Since
we currently use safe_link mode, an is_linked() check is
available, and exhaustive.

Fixes: http://tracker.ceph.com/issues/19111
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agoMerge pull request #13671 from liewegas/wip-filestore-omap
Sage Weil [Tue, 28 Feb 2017 20:27:10 +0000 (14:27 -0600)]
Merge pull request #13671 from liewegas/wip-filestore-omap

os/filestore: debug which omap keys are set

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #13546 from cbodley/wip-19019
Matt Benjamin [Tue, 28 Feb 2017 20:06:15 +0000 (15:06 -0500)]
Merge pull request #13546 from cbodley/wip-19019

rgw: RGWMetaSyncShardControlCR retries with backoff on all error codes
tested by-had, using fault injection

8 years agoMerge pull request #13415 from ifed01/wip-fix-storetest
Sage Weil [Tue, 28 Feb 2017 19:19:20 +0000 (13:19 -0600)]
Merge pull request #13415 from ifed01/wip-fix-storetest

test/store_test: add deferred test case setup to support explicit min…

Reviewed-by: Varada Kari <varada.kari@sandisk.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13476 from songbaisen/s18
Sage Weil [Tue, 28 Feb 2017 19:18:08 +0000 (13:18 -0600)]
Merge pull request #13476 from songbaisen/s18

osd: small clear up and optimize on _recover_now and should_share_map function

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agocommon/TrackedOp: make TrackedOp::reset_desc() safe 13702/head
Sage Weil [Tue, 28 Feb 2017 18:23:53 +0000 (12:23 -0600)]
common/TrackedOp: make TrackedOp::reset_desc() safe

It is possible for a reset_desc() call to clear the desc char* while
get_desc() is executing such that it will return a nullptr to the caller.
This can lead to bad results, like a crash in std::string() (which does
not like to take null).

Fix this by not clearing desc.  Instead, set a separate flag to indicate
that desc should be (safely) rebuilt on the next get_desc() call.

Fixes: http://tracker.ceph.com/issues/19110
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13686 from wjwithagen/wip-wjw-fsx-linux-2
Jason Dillaman [Tue, 28 Feb 2017 17:25:52 +0000 (12:25 -0500)]
Merge pull request #13686 from wjwithagen/wip-wjw-fsx-linux-2

test: Need to exclude the fsx executable also on FreeBSD

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agorbd-mirror: eliminate context switch from close image state machine 13701/head
Jason Dillaman [Tue, 28 Feb 2017 16:26:35 +0000 (11:26 -0500)]
rbd-mirror: eliminate context switch from close image state machine

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agolibrbd: eliminate context switch from remove state machine
Jason Dillaman [Tue, 28 Feb 2017 16:05:51 +0000 (11:05 -0500)]
librbd: eliminate context switch from remove state machine

Also cleaned up formatting issues within the state machine.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #13523 from wjwithagen/wip-wjw-clang-mempool
Kefu Chai [Tue, 28 Feb 2017 16:02:29 +0000 (00:02 +0800)]
Merge pull request #13523 from wjwithagen/wip-wjw-clang-mempool

include/mempool.h: fix Clangs complaint about types

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13659 from majianpeng/compiler-warning
Kefu Chai [Tue, 28 Feb 2017 16:01:46 +0000 (00:01 +0800)]
Merge pull request #13659 from majianpeng/compiler-warning

common/EventTrace: fix compiler warning.

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13667 from jcsp/wip-mgr-misc
Kefu Chai [Tue, 28 Feb 2017 16:00:30 +0000 (00:00 +0800)]
Merge pull request #13667 from jcsp/wip-mgr-misc

mgr: use unique_ptr for MgrStandby::active_mgr

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13669 from jcsp/wip-mgr-get-version
Kefu Chai [Tue, 28 Feb 2017 16:00:02 +0000 (00:00 +0800)]
Merge pull request #13669 from jcsp/wip-mgr-get-version

mgr: add a get_version to the python interface

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agolibrbd: cleanup synchronous open/close memory management
Jason Dillaman [Tue, 28 Feb 2017 15:18:16 +0000 (10:18 -0500)]
librbd: cleanup synchronous open/close memory management

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #13692 from Liuchang0812/wip-add-override-in-auth-headers
Sage Weil [Tue, 28 Feb 2017 15:54:55 +0000 (09:54 -0600)]
Merge pull request #13692 from Liuchang0812/wip-add-override-in-auth-headers

common/auth: add override in headers

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agodoc:releases update the luminous, hammer, jewel release dates 13584/head
Abhishek Lekshmanan [Wed, 22 Feb 2017 10:54:40 +0000 (11:54 +0100)]
doc:releases update the luminous, hammer, jewel release dates

Also add row lines to make the table look consistent

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agoMerge pull request #13591 from batrick/mds-static-counters
John Spray [Tue, 28 Feb 2017 15:07:46 +0000 (15:07 +0000)]
Merge pull request #13591 from batrick/mds-static-counters

mds: automate MDS object count tracking

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #13581 from jcsp/wip-mdsmonitor-refactor
John Spray [Tue, 28 Feb 2017 15:07:20 +0000 (15:07 +0000)]
Merge pull request #13581 from jcsp/wip-mdsmonitor-refactor

mon: refactor MDSMonitor command handling

Reviewed-by: Yan, Zheng <zyan@redhat.com>
8 years agoMerge pull request #13532 from ukernel/wip-18995
John Spray [Tue, 28 Feb 2017 15:06:07 +0000 (15:06 +0000)]
Merge pull request #13532 from ukernel/wip-18995

ceph_fuse: fix daemonization when pid file is non-empty

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13464 from jcsp/wip-sessionmap-ioerror
John Spray [Tue, 28 Feb 2017 15:05:21 +0000 (15:05 +0000)]
Merge pull request #13464 from jcsp/wip-sessionmap-ioerror

mds: fix IO error handling in SessionMap

Reviewed-by: Yan, Zheng <zyan@redhat.com>