Commit Graph

47855 Commits

Author SHA1 Message Date
Kefu Chai
5efc5dce73 cmake: check for libsnappy in default path also
* some distros install libsnappy into /usr/lib/x86_64-linux-gnu
  which is completely resonable. but this directory is not listed
  in the Findsnappy.cmake.
* also add SNAPPY_ROOT_DIR, in case user install snappy in some
  other directory.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-01-26 23:53:31 +08:00
Sage Weil
1acfec1388 Merge pull request #7304 from liewegas/wip-tcmalloc
osd: pass tcmalloc env through to daemon

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2016-01-26 09:59:03 -05:00
Gregory Farnum
b87375849f Merge pull request #7358 from chenyehua11692/master
mds:judgment added to avoid the risk of visiting the NULL pointer

Reviewed-by: Yan, Zheng <zyan@redhat.com>
2016-01-26 06:41:45 -08:00
Sage Weil
a95a3d34cc upstart/ceph-osd.conf: pass TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES through
Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-26 08:43:15 -05:00
Kongming Wu
845f3f7fe8 mds:judgment added to avoid the risk of visting the NULL pointer
Signed-off-by: chenyehua11692 chen.yehua@h3c.com
2016-01-26 11:01:15 +08:00
Sage Weil
831cc7a7a0 Merge pull request #7251 from tchaikov/wip-rados-manpage
doc: amend the rados.8

Reviewed-by: Sage Weil <sage@redhat.com>
2016-01-25 21:28:09 -05:00
Sage Weil
0a72cf102e Merge pull request #7353 from renhwsky/renhw-wip-14473-2
mon: fix locking in preinit error paths

Reviewed-by: Sage Weil <sage@redhat.com>
2016-01-25 21:21:21 -05:00
Sage Weil
e39e8f4c6c Merge pull request #7321 from renhwsky/renhw-wip-14473
mon: drop useless rank init assignment

Reviewed-by: Sage Weil <sage@redhat.com>
2016-01-25 21:20:27 -05:00
huanwen ren
508013d053 mon: drop useless rank init assignment
drop useless rank init assignment

Fixes:14508
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2016-01-26 10:12:02 +08:00
Sage Weil
8097adb233 Merge pull request #7294 from branch-predictor/bp-buffer-spinlock
common/buffer: replace RWLock with spinlocks

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: song baisen <song.baisen@zte.com.cn>
2016-01-25 21:05:32 -05:00
Sage Weil
94ba0061a9 Merge pull request #7303 from cbodley/wip-tx-move
os/ObjectStore: add custom move operations for ObjectStore::Transaction

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-01-25 21:04:21 -05:00
Sage Weil
e9b26746aa Merge pull request #7283 from xiexingguo/xxg-wip-14407
os/bluestore/kstore: fix nid overwritten logic

http://pulpito.ceph.com/sage-2016-01-25_07:39:08-rados-wip-sage-testing2---basic-smithi/

Reviewed-by: Sage Weil <sage@redhat.com>
2016-01-25 20:59:35 -05:00
Sage Weil
b08116b186 Merge pull request #7267 from liewegas/wip-fiemap
osd: drop fiemap len=0 magic

http://pulpito.ceph.com/sage-2016-01-25_07:39:08-rados-wip-sage-testing2---basic-smithi/

Reviewed-by: Sage Weil <sage@redhat.com>
2016-01-25 20:58:37 -05:00
renhwztetecs
45f338df5a mon: fix locking in preinit error paths
fix locking in preinit error paths

Fixes: #14473
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2016-01-26 09:51:16 +08:00
Casey Bodley
a76ea6fb7c Merge pull request #7314 from tchaikov/wip-fix-cmake
cmake: let ceph-client-debug link with tcmalloc
2016-01-25 09:55:26 -05:00
Kefu Chai
d5287e2acd Merge pull request #7331 from XinzeChi/wip-RepModify-bytes-written
osd: delete useless bytes_written defined in RepModify

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-01-25 21:33:58 +08:00
Loic Dachary
211d4b4873 Merge pull request #7342 from tchaikov/wip-fix-ceph-dencoder
os/bluestore: fix bluestore_wal_transaction_t encoding test

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-01-25 15:59:14 +07:00
Kefu Chai
4d30e7cf21 os/bluestore: fix bluestore_wal_transaction_t encoding test
bluestore_wal_op_t::op is encoded/dumped but it is not
initialized in its ctor. so set it to 0 in its ctor. 0 is not an
valid op though, but it helps with debugging and testing.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-01-25 15:08:17 +08:00
Loic Dachary
2488ad1ac9 Merge pull request #7315 from tchaikov/wip-kill-warnings
Wip kill warnings

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-01-25 13:20:08 +07:00
Loic Dachary
acd4314cf3 Merge pull request #7284 from ceph/wip-make-remove-libedit
makefile: remove libedit from libclient.la

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-01-25 13:15:48 +07:00
Xinze Chi
da6d696599 osd: delete useless bytes_written defined in RepModify
this would avoid calling encode function.

Signed-off-by: Xinze Chi <xinze@xsky.com>
2016-01-23 10:33:25 +08:00
Yehuda Sadeh
eea2689b9e Merge pull request #7301 from oritwas/wip-14375
rgw: fix subuser rm command failure

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-01-22 13:33:26 -08:00
John Wilkins
45a234de47 Merge pull request #7327 from igrcic/master
doc: Fixes a CRUSH map step take argument

Reviewed-by: John Wilkins <jowilkin@redhat.com>
2016-01-22 11:09:38 -08:00
Ivan Grcic
5003770fd8 doc: Fixes a CRUSH map step take argument
Signed-off-by: Ivan Grcic <igrcic@gmail.com>
2016-01-22 18:59:11 +01:00
Casey Bodley
7f44acf72f os: add custom move ctor/assignment for Transaction
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2016-01-22 11:02:34 -05:00
Casey Bodley
fd33668aba os: add custom move ctor/assignment for TransactionData
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2016-01-22 11:02:34 -05:00
Casey Bodley
496605c5b6 os: Transaction sets default values to avoid duplication in ctors
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2016-01-22 11:02:34 -05:00
Casey Bodley
78cfe67449 os: move Transaction ctors closer to member variables
this makes it easier to update constructors when adding/removing fields

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2016-01-22 11:02:34 -05:00
Casey Bodley
9e37a87ac4 test: add unit test for Transaction move/copy
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2016-01-22 11:02:30 -05:00
Yehuda Sadeh
67e3d95135 Merge pull request #7317 from dmick/master
configure.ac: make "--with-librocksdb-static" default to 'check'

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-01-21 15:38:05 -08:00
Dan Mick
269c61a667 configure.ac: make "--with-librocksdb-static" default to 'check'
Fixes: #14463
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2016-01-21 15:31:47 -08:00
Kefu Chai
3ebb584b71 librbd: fixed "hidden" virtual methods
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-01-21 09:40:26 -08:00
Kefu Chai
674fe18ded cmake: let ceph-client-debug link with tcmalloc
to fix the link problem of
libcephfs.so.1.0.0: undefined reference to `IsHeapProfilerRunning'
when tcmalloc is used and profiler header is detected.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-01-22 01:37:58 +08:00
Kefu Chai
c74eeb53f3 test/objectstore: fix unused variable warnings
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-01-21 09:37:58 -08:00
Jason Dillaman
93ad14d501 Merge pull request #7310 from trociny/fix-rbd-replay-eof
rbd-replay: handle EOF gracefully

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-01-21 09:05:31 -05:00
Mykola Golub
c59b84c3e2 rbd-replay: handle EOF gracefully
Fixes: #14452
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-01-21 15:59:17 +02:00
Kefu Chai
3b5e718479 Merge pull request #7292 from tchaikov/wip-submittingpatches
doc: revise SubmittingPatches

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2016-01-21 21:10:53 +08:00
Kefu Chai
4124e1df1f 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>
2016-01-21 21:01:07 +08:00
Abhishek Lekshmanan
5793df4cdf 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>
2016-01-21 13:53:50 +01:00
Loic Dachary
1b4ea9bc49 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>
2016-01-21 19:46:14 +07:00
Kefu Chai
4d00a1418e SubmittingPatches: rebase to resolve conflicts
pull request is not supposed to contain merge commits

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-01-21 13:12:48 +08:00
Kefu Chai
a2c1b53684 SubmittingPatches: sending kernel patches to mailing list
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-01-21 13:12:48 +08:00
Kefu Chai
18409a897b SubmittingPatches: add doc for commit title
explain that we need a prefix in the commit title

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-01-21 13:12:48 +08:00
Kefu Chai
dbabbd03b7 SubmittingPatches: add doc for "Fixes:" tag
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-01-21 12:27:54 +08:00
Kefu Chai
2b5588a1a8 SubmittingPatches: update with reST syntax
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-01-21 12:27:54 +08:00
Sage Weil
d4b8a00e73 Merge pull request #7293 from xiexingguo/xxg-wip-14436
os/bluestore: fix assert

Reviewed-by: Sage Weil <sage@redhat.com>
2016-01-20 20:36:53 -05:00
Sage Weil
03e01ae263 init-ceph: pass TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES through
..when set in the sysconfig/default file.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-01-20 18:36:08 -05:00
Sage Weil
222488a5e2 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>
2016-01-20 18:16:55 -05:00
Sage Weil
73769f610b Merge pull request #7232 from lzhng2000/master
cls/cls_rbd: pass string by reference

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-01-20 18:16:17 -05:00
Sage Weil
660b9d78b3 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>
2016-01-20 18:15:44 -05:00