]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agoMerge pull request #7301 from oritwas/wip-14375
Yehuda Sadeh [Fri, 22 Jan 2016 21:33:26 +0000 (13:33 -0800)]
Merge pull request #7301 from oritwas/wip-14375

rgw: fix subuser rm command failure

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #7327 from igrcic/master
John Wilkins [Fri, 22 Jan 2016 19:09:38 +0000 (11:09 -0800)]
Merge pull request #7327 from igrcic/master

doc: Fixes a CRUSH map step take argument

Reviewed-by: John Wilkins <jowilkin@redhat.com>
9 years agodoc: Fixes a CRUSH map step take argument 7327/head
Ivan Grcic [Fri, 22 Jan 2016 17:58:03 +0000 (18:58 +0100)]
doc: Fixes a CRUSH map step take argument

Signed-off-by: Ivan Grcic <igrcic@gmail.com>
9 years agoMerge pull request #7317 from dmick/master
Yehuda Sadeh [Thu, 21 Jan 2016 23:38:05 +0000 (15:38 -0800)]
Merge pull request #7317 from dmick/master

configure.ac: make "--with-librocksdb-static" default to 'check'

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoconfigure.ac: make "--with-librocksdb-static" default to 'check' 7317/head
Dan Mick [Thu, 21 Jan 2016 18:56:50 +0000 (10:56 -0800)]
configure.ac: make "--with-librocksdb-static" default to 'check'

Fixes: #14463
Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoMerge pull request #7310 from trociny/fix-rbd-replay-eof
Jason Dillaman [Thu, 21 Jan 2016 14:05:31 +0000 (09:05 -0500)]
Merge pull request #7310 from trociny/fix-rbd-replay-eof

rbd-replay: handle EOF gracefully

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agorbd-replay: handle EOF gracefully 7310/head
Mykola Golub [Thu, 21 Jan 2016 11:45:42 +0000 (13:45 +0200)]
rbd-replay: handle EOF gracefully

Fixes: #14452
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agoMerge pull request #7292 from tchaikov/wip-submittingpatches
Kefu Chai [Thu, 21 Jan 2016 13:10:53 +0000 (21:10 +0800)]
Merge pull request #7292 from tchaikov/wip-submittingpatches

doc: revise SubmittingPatches

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
9 years agoMerge pull request #7263 from theanalyst/vstart/update-opts
Kefu Chai [Thu, 21 Jan 2016 13:01:07 +0000 (21:01 +0800)]
Merge pull request #7263 from theanalyst/vstart/update-opts

vstart: update help with a few more commandline opts

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agodoc: vstart update a few commandline switches 7263/head
Abhishek Lekshmanan [Mon, 18 Jan 2016 10:57:42 +0000 (11:57 +0100)]
doc: vstart update a few commandline switches

Add a few more available commandline switches to vstart quickstart
documentation

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
9 years agoMerge pull request #7240 from cxwshawn/org-fix
Loic Dachary [Thu, 21 Jan 2016 12:46:14 +0000 (19:46 +0700)]
Merge pull request #7240 from cxwshawn/org-fix

organizationmap: modify org mail info.

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoSubmittingPatches: rebase to resolve conflicts 7292/head
Kefu Chai [Thu, 21 Jan 2016 04:52:54 +0000 (12:52 +0800)]
SubmittingPatches: rebase to resolve conflicts

pull request is not supposed to contain merge commits

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoSubmittingPatches: sending kernel patches to mailing list
Kefu Chai [Thu, 21 Jan 2016 04:41:03 +0000 (12:41 +0800)]
SubmittingPatches: sending kernel patches to mailing list

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoSubmittingPatches: add doc for commit title
Kefu Chai [Wed, 20 Jan 2016 08:54:57 +0000 (16:54 +0800)]
SubmittingPatches: add doc for commit title

explain that we need a prefix in the commit title

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoSubmittingPatches: add doc for "Fixes:" tag
Kefu Chai [Wed, 20 Jan 2016 08:23:04 +0000 (16:23 +0800)]
SubmittingPatches: add doc for "Fixes:" tag

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoSubmittingPatches: update with reST syntax
Kefu Chai [Wed, 20 Jan 2016 05:40:01 +0000 (13:40 +0800)]
SubmittingPatches: update with reST syntax

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #7293 from xiexingguo/xxg-wip-14436
Sage Weil [Thu, 21 Jan 2016 01:36:53 +0000 (20:36 -0500)]
Merge pull request #7293 from xiexingguo/xxg-wip-14436

os/bluestore: fix assert

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7197 from ceph/wip-kill-warnings
Sage Weil [Wed, 20 Jan 2016 23:16:55 +0000 (18:16 -0500)]
Merge pull request #7197 from ceph/wip-kill-warnings

build: fix warnings

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #7232 from lzhng2000/master
Sage Weil [Wed, 20 Jan 2016 23:16:17 +0000 (18:16 -0500)]
Merge pull request #7232 from lzhng2000/master

cls/cls_rbd: pass string by reference

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #7242 from xiexingguo/xxg-wip-14370
Sage Weil [Wed, 20 Jan 2016 23:15:44 +0000 (18:15 -0500)]
Merge pull request #7242 from xiexingguo/xxg-wip-14370

os/memstore: drain finisher first before we really begin a umount-process
os/bluestore: drain wal_wq on replay error

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7247 from ifed01/wip-14383
Sage Weil [Wed, 20 Jan 2016 23:13:43 +0000 (18:13 -0500)]
Merge pull request #7247 from ifed01/wip-14383

os/bluestore: use intrusive_ptr for Dir

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7254 from guangyy/wip-counter
Sage Weil [Wed, 20 Jan 2016 23:13:00 +0000 (18:13 -0500)]
Merge pull request #7254 from guangyy/wip-counter

common: change the type of counter total/unhealthy_workers

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7255 from yuyuyu101/wip-14386
Sage Weil [Wed, 20 Jan 2016 23:12:25 +0000 (18:12 -0500)]
Merge pull request #7255 from yuyuyu101/wip-14386

msg/async: fix send closed local_connection message problem

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge remote-tracking branch 'gh/jewel'
Sage Weil [Wed, 20 Jan 2016 21:49:12 +0000 (16:49 -0500)]
Merge remote-tracking branch 'gh/jewel'

9 years agoMerge pull request #7300 from ceph/wip-cmake
Casey Bodley [Wed, 20 Jan 2016 21:12:45 +0000 (16:12 -0500)]
Merge pull request #7300 from ceph/wip-cmake

cmake: test_build_libcephfs needs ${ALLOC_LIBS}

9 years agorgw: fix subuser rm command failure 7301/head
Orit Wasserman [Wed, 20 Jan 2016 16:24:38 +0000 (17:24 +0100)]
rgw: fix subuser rm command failure

Fixes: 14375
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agocmake: test_build_libcephfs needs ${ALLOC_LIBS} 7300/head
Ali Maredia [Wed, 20 Jan 2016 19:41:28 +0000 (14:41 -0500)]
cmake: test_build_libcephfs needs ${ALLOC_LIBS}

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agoMerge pull request #7231 from renhwsky/renhw-wip-14369
Kefu Chai [Wed, 20 Jan 2016 13:18:28 +0000 (21:18 +0800)]
Merge pull request #7231 from renhwsky/renhw-wip-14369

osd: remove unused OSDMap::set_weightf()

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoBlueStore/StupidAllocator: fix assert 7293/head
xie xingguo [Wed, 20 Jan 2016 09:28:02 +0000 (17:28 +0800)]
BlueStore/StupidAllocator: fix assert

Fixes: #14436
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoMerge pull request #7164 from flaf/master
Kefu Chai [Wed, 20 Jan 2016 08:37:50 +0000 (16:37 +0800)]
Merge pull request #7164 from flaf/master

doc: fix "mon osd down out subtree limit" option name

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agodoc: fix "mon osd down out subtree limit" option name 7164/head
lafont [Sat, 9 Jan 2016 04:38:25 +0000 (05:38 +0100)]
doc: fix "mon osd down out subtree limit" option name

The name of the parameter `mon osd down out subtree limit`
was incorrect (with `downout` instead of `down out`).
Furthermore, the description seemed to me a little bit
ambiguous.

Signed-off-by: François Lafont <francois.lafont@ac-versailles.fr>
9 years agodoc: rename SubmittingPatches to SubmittingPatches.rst
Kefu Chai [Wed, 20 Jan 2016 05:28:36 +0000 (13:28 +0800)]
doc: rename SubmittingPatches to SubmittingPatches.rst

for better reading experience

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #7246 from ukernel/jewel-14377
Gregory Farnum [Wed, 20 Jan 2016 02:24:34 +0000 (18:24 -0800)]
Merge pull request #7246 from ukernel/jewel-14377

ceph_test_libcephfs: tolerate duplicated entries in readdir

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #6205 from jcsp/wip-volume-client
Gregory Farnum [Wed, 20 Jan 2016 02:21:23 +0000 (18:21 -0800)]
Merge pull request #6205 from jcsp/wip-volume-client

pybind: add ceph_volume_client interface for Manila and similar frameworks

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #7229 from david-z/wip-master-fix-failling-to-cache-pressure
Gregory Farnum [Wed, 20 Jan 2016 02:19:56 +0000 (18:19 -0800)]
Merge pull request #7229 from david-z/wip-master-fix-failling-to-cache-pressure

ceph-fuse: fix double decreasing the count to trim caps

Reviewed-by: Yan, Zheng <zyan@redhat.com>
9 years agoMerge pull request #7209 from ukernel/jewel-11517
Gregory Farnum [Wed, 20 Jan 2016 02:17:23 +0000 (18:17 -0800)]
Merge pull request #7209 from ukernel/jewel-11517

client: check if Fh is readable when processing a read

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7199 from ukernel/jewel-14254
Gregory Farnum [Wed, 20 Jan 2016 02:13:58 +0000 (18:13 -0800)]
Merge pull request #7199 from ukernel/jewel-14254

mds: fix client cap/message replay order on restart

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #7279 from zaitcev/wip-5073-subuser
Yehuda Sadeh [Wed, 20 Jan 2016 00:46:17 +0000 (16:46 -0800)]
Merge pull request #7279 from zaitcev/wip-5073-subuser

rgw: Parse --subuser better

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge remote-tracking branch 'origin/jewel'
Josh Durgin [Tue, 19 Jan 2016 21:44:31 +0000 (13:44 -0800)]
Merge remote-tracking branch 'origin/jewel'

9 years agoMerge pull request #6496 from ceph/wip-fs-snaptests
Gregory Farnum [Tue, 19 Jan 2016 19:38:15 +0000 (11:38 -0800)]
Merge pull request #6496 from ceph/wip-fs-snaptests

qa/workunits/snaps: move snap tests into fs sub-directory

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #6868 from H3C/wip-11642-cephfuse-useage
Gregory Farnum [Tue, 19 Jan 2016 19:37:21 +0000 (11:37 -0800)]
Merge pull request #6868 from H3C/wip-11642-cephfuse-useage

ceph-fuse:print usage information when no parameter specified

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #7270 from cbodley/wip-cmake-execinfo
Orit Wasserman [Tue, 19 Jan 2016 18:20:19 +0000 (19:20 +0100)]
Merge pull request #7270 from cbodley/wip-cmake-execinfo

cmake: add missing check for HAVE_EXECINFO_H

9 years agoMerge pull request #7280 from zaitcev/wip-5073-update2
Yehuda Sadeh [Tue, 19 Jan 2016 17:55:57 +0000 (09:55 -0800)]
Merge pull request #7280 from zaitcev/wip-5073-update2

rgw: Drop a debugging message

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: Parse --subuser better 7279/head
Pete Zaitcev [Tue, 19 Jan 2016 06:44:42 +0000 (23:44 -0700)]
rgw: Parse --subuser better

This fixes a funny message "ERROR: 'tenant$user != tenant$user'"
in case --subuser='tenant$user' is supplied.

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
9 years agorgw: Drop a debugging message 7280/head
Pete Zaitcev [Tue, 19 Jan 2016 06:48:11 +0000 (23:48 -0700)]
rgw: Drop a debugging message

A P3-tagged message escaped upstream.

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
9 years agoMerge pull request #7274 from dillaman/wip-helgrind-race-jewel
Josh Durgin [Tue, 19 Jan 2016 11:47:16 +0000 (06:47 -0500)]
Merge pull request #7274 from dillaman/wip-helgrind-race-jewel

helgrind: additional race conditionslibrbd: journal replay should honor inter-event dependencies

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agolibrbd: missing lock on state transition 7274/head
Jason Dillaman [Mon, 18 Jan 2016 22:53:00 +0000 (17:53 -0500)]
librbd: missing lock on state transition

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agohelgrind: annotate false-positive race conditions
Jason Dillaman [Mon, 18 Jan 2016 22:52:51 +0000 (17:52 -0500)]
helgrind: annotate false-positive race conditions

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #7272 from dillaman/wip-14385-jewel
Josh Durgin [Mon, 18 Jan 2016 22:30:48 +0000 (17:30 -0500)]
Merge pull request #7272 from dillaman/wip-14385-jewel

qa: disable rbd/qemu-iotests test case 055 on RHEL/CentOSlibrbd: journal replay should honor inter-event dependencies

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #7019 from dillaman/wip-14006
Josh Durgin [Mon, 18 Jan 2016 22:09:05 +0000 (17:09 -0500)]
Merge pull request #7019 from dillaman/wip-14006

librbd: journal replay should honor inter-event dependencies

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoqa: disable rbd/qemu-iotests test case 055 on RHEL/CentOS 7272/head
Jason Dillaman [Mon, 18 Jan 2016 20:57:43 +0000 (15:57 -0500)]
qa: disable rbd/qemu-iotests test case 055 on RHEL/CentOS

Fixes: #14385
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agocmake: add missing check for HAVE_EXECINFO_H 7270/head
Casey Bodley [Mon, 18 Jan 2016 18:47:28 +0000 (13:47 -0500)]
cmake: add missing check for HAVE_EXECINFO_H

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agoMerge pull request #7265 from ceph/wip-14397-disable-xfs-extsize
Sage Weil [Mon, 18 Jan 2016 19:11:21 +0000 (14:11 -0500)]
Merge pull request #7265 from ceph/wip-14397-disable-xfs-extsize

osd: disable filestore_xfs_extsize by default

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoosd: disable filestore_xfs_extsize by default 7265/head
Ken Dreyer [Mon, 18 Jan 2016 15:24:46 +0000 (08:24 -0700)]
osd: disable filestore_xfs_extsize by default

This option involves a tradeoff: When disabled, fragmentation is worse,
but large sequential writes are faster. When enabled, large sequential
writes are slower, but fragmentation is reduced.

Fixes: #14397
9 years agoos/kstore: fix u64 decode checks
Sage Weil [Mon, 18 Jan 2016 14:55:17 +0000 (09:55 -0500)]
os/kstore: fix u64 decode checks

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge branch 'wip-bluestore'
Sage Weil [Mon, 18 Jan 2016 14:53:02 +0000 (09:53 -0500)]
Merge branch 'wip-bluestore'

9 years agoos/bluestore: fix _key_decode_u64 error checks
Sage Weil [Mon, 18 Jan 2016 14:52:40 +0000 (09:52 -0500)]
os/bluestore: fix _key_decode_u64 error checks

The data that follows may be binary encoded and null.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore/FreelistManager: switch to std::mutex
Sage Weil [Thu, 14 Jan 2016 16:53:36 +0000 (11:53 -0500)]
os/bluestore/FreelistManager: switch to std::mutex

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7211 from cxwshawn/clean-fix
Sage Weil [Mon, 18 Jan 2016 14:28:41 +0000 (09:28 -0500)]
Merge pull request #7211 from cxwshawn/clean-fix

osd: ReplicatedPG: clean up unused function

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #7158 from yuyuyu101/wip-async-cleanup-deleted
Sage Weil [Mon, 18 Jan 2016 14:27:20 +0000 (09:27 -0500)]
Merge pull request #7158 from yuyuyu101/wip-async-cleanup-deleted

msg/async: cleanup dead connection and misc things

9 years agoMerge pull request #6809 from yuyuyu101/wip-13985
Sage Weil [Mon, 18 Jan 2016 14:26:40 +0000 (09:26 -0500)]
Merge pull request #6809 from yuyuyu101/wip-13985

msgr:  fix large message data content length causing overflow

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #7047 from xiexingguo/xxg-wip-14176
Sage Weil [Mon, 18 Jan 2016 14:26:00 +0000 (09:26 -0500)]
Merge pull request #7047 from xiexingguo/xxg-wip-14176

osd: KeyValueStore: fix wrongly placed assert

Reviewed-by: David Zafman <dzafman@redhat.com>
9 years agoMerge pull request #7142 from xiexingguo/xxg-wip-crush
Sage Weil [Mon, 18 Jan 2016 14:25:20 +0000 (09:25 -0500)]
Merge pull request #7142 from xiexingguo/xxg-wip-crush

crushtool: improve usage/tip messages

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7203 from branch-predictor/bp-use-faster-is-zero
Sage Weil [Mon, 18 Jan 2016 14:24:39 +0000 (09:24 -0500)]
Merge pull request #7203 from branch-predictor/bp-use-faster-is-zero

osd: use optimized is_zero in object_stat_sum_t.is_zero()

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7169 from trociny/fix-bluestore-without-aio
Sage Weil [Mon, 18 Jan 2016 14:23:34 +0000 (09:23 -0500)]
Merge pull request #7169 from trociny/fix-bluestore-without-aio

osd: bluestore: don't include when building without libaio

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoBlueStore: drain wal_wq first if we exit from mounting due to wal_replay error 7242/head
xie xingguo [Mon, 18 Jan 2016 11:16:47 +0000 (19:16 +0800)]
BlueStore: drain wal_wq first if we exit from mounting due to wal_replay error

Because maybe we are in the middle of wal_replay and some wal transaction is already in process.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agovstart: update help with a few more switches
Abhishek Lekshmanan [Mon, 18 Jan 2016 10:56:20 +0000 (11:56 +0100)]
vstart: update help with a few more switches

Add the `bluestore`, `memstore` and `cache` tier options to the vstart
help

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
9 years agoBlueStore: verify fsid in a more proper way during mkfs
xie xingguo [Mon, 18 Jan 2016 08:33:23 +0000 (16:33 +0800)]
BlueStore: verify fsid in a more proper way during mkfs

Fixes: #14394
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agotests: update pool alignment API 7197/head
xiexingguo [Sat, 5 Dec 2015 03:28:18 +0000 (11:28 +0800)]
tests: update pool alignment API

The old ones are obsolete.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agotools: fix pool alignment API overflow issue
xiexingguo [Sat, 5 Dec 2015 02:11:59 +0000 (10:11 +0800)]
tools: fix pool alignment API overflow issue

The original APIs may overflow and are replaced by 1f855456cae96c91a67c169d2333e333c3b59671.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agolibrados: fix rados_ioctx_pool_requires_alignment2()
Kefu Chai [Mon, 18 Jan 2016 05:06:27 +0000 (13:06 +0800)]
librados: fix rados_ioctx_pool_requires_alignment2()

we can not cast an "int *" pointer to a "bool *" and assign a bool
to it in hope to update the integer pointed by the "int *" with
1 or 0 according to the assigned boolean. because, the existing
value pointed by the "int *" pointer could be any value, if it's
non-zero, say, 0x12345678, after casting to "bool *", and assigning it
to "false", the variable would be 0x12345600. only the least
significant 8 bits are reset. so after resetting the variable pointed
by the "int *" pointer after reset it using "bool *", it still "true"!

Introduced-by: 1f85545
Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoBlueStore: negative return code if we unable to open path
xie xingguo [Mon, 18 Jan 2016 07:14:23 +0000 (15:14 +0800)]
BlueStore: negative return code if we unable to open path

Because the caller is unable to catch a positive error code.

Fixes: #14393
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoconfigure: detect new gperftool
Kefu Chai [Tue, 12 Jan 2016 09:19:42 +0000 (17:19 +0800)]
configure: detect new gperftool

this is a follow-up of 6edaf4e, when tcmalloc is enabled,
perfglue/heap_profiler.cc is also compiled, it includes the
google/heap-profiler.h. so to silence the the warnings like
 warning: /usr/include/google/heap-profiler.h:35:2: #warning
 "google/heap-profiler.h is deprecated. Use gperftools/heap-profiler.h
 instead" [-Wcpp]
we also check the new location of these header files if tcmalloc
is enabled.

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoos/bluestore: fix signed/unsigned comparison warnings
Kefu Chai [Tue, 12 Jan 2016 04:59:55 +0000 (12:59 +0800)]
os/bluestore: fix signed/unsigned comparison warnings

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agokv/RocksDBStore: replace deprecated calls
Kefu Chai [Tue, 12 Jan 2016 03:26:47 +0000 (11:26 +0800)]
kv/RocksDBStore: replace deprecated calls

rocksdb::DB::CompactRange(Slice*, Slice*) is deprecated, so replace
it with its equivalent.

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agofsx: fix signed/unsigned comparison warnings
Kefu Chai [Tue, 12 Jan 2016 03:19:20 +0000 (11:19 +0800)]
fsx: fix signed/unsigned comparison warnings

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoerasure-code: create an internal isa lib for testing
Kefu Chai [Mon, 11 Jan 2016 16:27:49 +0000 (00:27 +0800)]
erasure-code: create an internal isa lib for testing

we were linking against a '--module' shared library using its
.la file, which is not portable on some platforms accroding to
autotools. so instead of linking against the plugin so, a dedicated
internal library "libisa.la" is created for testing. and it is added
to the libec_isa.so also.

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agounittest_ipaddr: fix compile warnings
Kefu Chai [Mon, 11 Jan 2016 15:49:16 +0000 (23:49 +0800)]
unittest_ipaddr: fix compile warnings

silence warnings like
 warning: test/test_ipaddr.cc:174:16: deprecated conversion from string
 constant to char* [-Wwrite-strings]

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoBlueStore: improve wal_replay logic a little bit
xie xingguo [Sun, 17 Jan 2016 14:03:56 +0000 (22:03 +0800)]
BlueStore: improve wal_replay logic a little bit

Fixes: #14392
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agokstore: add metadata "type" to disk
xie xingguo [Sat, 16 Jan 2016 08:29:57 +0000 (16:29 +0800)]
kstore: add metadata "type" to disk

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueStore: fix fd leak during error fsck scan
xie xingguo [Fri, 15 Jan 2016 09:49:43 +0000 (17:49 +0800)]
BlueStore: fix fd leak during error fsck scan

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueStore: update obsolete content of comment
xie xingguo [Fri, 15 Jan 2016 09:28:38 +0000 (17:28 +0800)]
BlueStore: update obsolete content of comment

Which does not match the reality anymore.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoBlueStore: remove reap_cond
xie xingguo [Fri, 15 Jan 2016 09:23:57 +0000 (17:23 +0800)]
BlueStore: remove reap_cond

It has no consumers at present.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agokstore: remove reap_cond
xie xingguo [Fri, 15 Jan 2016 09:20:47 +0000 (17:20 +0800)]
kstore: remove reap_cond

It has no consumers at present.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoMemStore: remove apply_lock
xie xingguo [Fri, 15 Jan 2016 03:06:19 +0000 (11:06 +0800)]
MemStore: remove apply_lock

It doesn't block anything other than the umount caller itself.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoMemStore: drain finisher first during umount
xie xingguo [Fri, 15 Jan 2016 02:40:27 +0000 (10:40 +0800)]
MemStore: drain finisher first during umount

Otherwise some caller specified contexts may be left hanging.

Fixes: #14370
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoAsyncConnection: Dont send message when local connection is closed 7255/head
Haomai Wang [Sat, 16 Jan 2016 04:44:50 +0000 (12:44 +0800)]
AsyncConnection: Dont send message when local connection is closed

Fix: #14386
Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoAsyncConnection: Fix leak event
Haomai Wang [Sat, 16 Jan 2016 04:37:16 +0000 (12:37 +0800)]
AsyncConnection: Fix leak event

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoorganizationmap: modify org mail info. 7240/head
shawn [Sat, 16 Jan 2016 00:59:35 +0000 (19:59 -0500)]
organizationmap: modify org mail info.

Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
9 years agocommon: change the type of counter total/unhealthy_workers 7254/head
Guang Yang [Sat, 16 Jan 2016 00:37:11 +0000 (00:37 +0000)]
common: change the type of counter total/unhealthy_workers

Signed-off-by: Guang Yang <yguang@yahoo-inc.com>
9 years agoMerge pull request #5900 from ritz303/wip-doc-12899
Kefu Chai [Fri, 15 Jan 2016 16:45:48 +0000 (00:45 +0800)]
Merge pull request #5900 from ritz303/wip-doc-12899

doc: Updated the rados command man page to include the --run-name opt…

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #7249 from ceph/wip-fix-cmake-trusty
Casey Bodley [Fri, 15 Jan 2016 16:07:45 +0000 (11:07 -0500)]
Merge pull request #7249 from ceph/wip-fix-cmake-trusty

cmake: fix the build on trusty

9 years agolibrbd: handle additional journal replay states 7019/head
Jason Dillaman [Fri, 15 Jan 2016 15:40:06 +0000 (10:40 -0500)]
librbd: handle additional journal replay states

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: avoid recursive callback when replaying journal
Jason Dillaman [Fri, 15 Jan 2016 15:38:54 +0000 (10:38 -0500)]
librbd: avoid recursive callback when replaying journal

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agotests: correct googlemock warnings
Jason Dillaman [Fri, 15 Jan 2016 15:32:28 +0000 (10:32 -0500)]
tests: correct googlemock warnings

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agotests: update tests to support replaying snap create / resize
Jason Dillaman [Tue, 22 Dec 2015 20:55:19 +0000 (15:55 -0500)]
tests: update tests to support replaying snap create / resize

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: initial hook points for snap create / resize journal replay
Jason Dillaman [Tue, 22 Dec 2015 19:00:43 +0000 (14:00 -0500)]
librbd: initial hook points for snap create / resize journal replay

After snap create has blocked IO and after resize has ensured clipped
IO boundaries, they will resume the playback of journal events.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: journal events still possible during shutdown
Jason Dillaman [Tue, 22 Dec 2015 18:54:15 +0000 (13:54 -0500)]
librbd: journal events still possible during shutdown

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agotests: new unit test for snap rollback state machine
Jason Dillaman [Tue, 22 Dec 2015 18:40:51 +0000 (13:40 -0500)]
tests: new unit test for snap rollback state machine

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: snapshot rollback should block writes
Jason Dillaman [Tue, 22 Dec 2015 17:05:47 +0000 (12:05 -0500)]
librbd: snapshot rollback should block writes

Signed-off-by: Jason Dillaman <dillaman@redhat.com>