]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agotests: port uniqueness reminder 6387/head
Loic Dachary [Tue, 27 Oct 2015 03:48:23 +0000 (12:48 +0900)]
tests: port uniqueness reminder

When copy/pasting a tests, it is easy to forget (or not know) that the
port used must be unique to allow for multiple tests to run in
parallel (make -j8). Add a reminder next to each port.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #6379 from tchaikov/wip-13554
Loic Dachary [Tue, 27 Oct 2015 02:52:25 +0000 (11:52 +0900)]
Merge pull request #6379 from tchaikov/wip-13554

rocksdb: remove rdb source files from dist tarball

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #6258 from swamireddy/wip-v910-mailmap
Loic Dachary [Tue, 27 Oct 2015 02:09:47 +0000 (11:09 +0900)]
Merge pull request #6258 from swamireddy/wip-v910-mailmap

mailmap updates

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agodoc/release-notes: v0.94.5
Sage Weil [Sat, 24 Oct 2015 12:31:46 +0000 (08:31 -0400)]
doc/release-notes: v0.94.5

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agorelease-notes: draft v0.94.5 release notes
Loic Dachary [Fri, 23 Oct 2015 18:52:22 +0000 (20:52 +0200)]
release-notes: draft v0.94.5 release notes

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agorocksdb: remove rdb source files from dist tarball 6379/head
Kefu Chai [Mon, 26 Oct 2015 11:44:03 +0000 (04:44 -0700)]
rocksdb: remove rdb source files from dist tarball

rdb is based on NodeJS, and we don't build rdb to use rocksdb as
a keyvaluestore backend.

Fixes: #13554
Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #6375 from david-z/wip-fix-kv-stripe-size-conf
Kefu Chai [Mon, 26 Oct 2015 07:15:24 +0000 (15:15 +0800)]
Merge pull request #6375 from david-z/wip-fix-kv-stripe-size-conf

KeyValueStore: fix the name's typo of keyvaluestore_default_strip_size

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoKeyValueStore: fix the name's typo of keyvaluestore_default_strip_size 6375/head
Zhi Zhang [Mon, 26 Oct 2015 07:04:55 +0000 (15:04 +0800)]
KeyValueStore: fix the name's typo of keyvaluestore_default_strip_size

Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
9 years agoMerge pull request #6224 from vmcloud/wip-13443
Sage Weil [Sun, 25 Oct 2015 20:09:26 +0000 (16:09 -0400)]
Merge pull request #6224 from vmcloud/wip-13443

ceph-fuse: fix log restart timing after fork

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6305 from majianpeng/optimize-get-object-context
Sage Weil [Sun, 25 Oct 2015 16:09:05 +0000 (12:09 -0400)]
Merge pull request #6305 from majianpeng/optimize-get-object-context

osd: optimize ReplicatedPG::get_object_context() SnapContext setup

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6244 from majianpeng/filestore-xattr
Sage Weil [Sun, 25 Oct 2015 16:06:43 +0000 (12:06 -0400)]
Merge pull request #6244 from majianpeng/filestore-xattr

os/FileStore: avoid removexattr call on chain_setxattr when value is known to be small

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6299 from H3C/wip-yrf-malloc
Sage Weil [Sun, 25 Oct 2015 16:04:17 +0000 (12:04 -0400)]
Merge pull request #6299 from H3C/wip-yrf-malloc

osd/tools: avoid unnecessary new and delete ObjectStore::Transaction calls

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6306 from H3C/wip-mon-auth
Sage Weil [Sun, 25 Oct 2015 16:01:28 +0000 (12:01 -0400)]
Merge pull request #6306 from H3C/wip-mon-auth

mon: should not set isvalid = true when cephx_verify_authorizer return false

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoRevert "Speed optimizations. Merged 3 writes into 1."
Sage Weil [Sun, 25 Oct 2015 15:50:20 +0000 (11:50 -0400)]
Revert "Speed optimizations. Merged 3 writes into 1."

This reverts commit 91497e46331b4755b9ff23b7ba11e631d64413ac.

Oops, this is injecting \0 in the log output.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6307 from aclamk/wip-faster-log
Sage Weil [Sun, 25 Oct 2015 15:38:55 +0000 (11:38 -0400)]
Merge pull request #6307 from aclamk/wip-faster-log

log/Log.cc: speed optimizations. Merged 3 writes into 1.

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6326 from liewegas/wip-cache-pin-unpin
Sage Weil [Sat, 24 Oct 2015 12:31:16 +0000 (08:31 -0400)]
Merge pull request #6326 from liewegas/wip-cache-pin-unpin

osd: add pin/unpin support to cache tier

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6240 from xiexingguo/xxg-wip-13471
Sage Weil [Sat, 24 Oct 2015 12:30:47 +0000 (08:30 -0400)]
Merge pull request #6240 from xiexingguo/xxg-wip-13471

osd:  primary and up_primary when building a new past_interval

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #5954 from rohanmars/wip-rhel59-fixes
Sage Weil [Sat, 24 Oct 2015 12:30:12 +0000 (08:30 -0400)]
Merge pull request #5954 from rohanmars/wip-rhel59-fixes

rhel 5.9 librados compile fix, moved blkid to RBD check/compilation

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6210 from dx9/wip-12406-alpine-string-macro
Sage Weil [Sat, 24 Oct 2015 12:29:58 +0000 (08:29 -0400)]
Merge pull request #6210 from dx9/wip-12406-alpine-string-macro

assert: __STRING macro is not defined by musl libc.

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6243 from free-luowei/master
Sage Weil [Sat, 24 Oct 2015 12:29:48 +0000 (08:29 -0400)]
Merge pull request #6243 from free-luowei/master

Init crush_location in Objecter from config file.

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6252 from dx9/wip-12406-mallinfo
Sage Weil [Sat, 24 Oct 2015 12:29:16 +0000 (08:29 -0400)]
Merge pull request #6252 from dx9/wip-12406-mallinfo

common/MemoryModel: Added explicit feature check for mallinfo().

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6277 from branch-predictor/bp-pgload-rm-interim-set
Sage Weil [Sat, 24 Oct 2015 12:28:51 +0000 (08:28 -0400)]
Merge pull request #6277 from branch-predictor/bp-pgload-rm-interim-set

osd: drop the interim set from load_pgs()

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6333 from xiexingguo/xxg-wip-13552
Xiaoxi Chen [Fri, 23 Oct 2015 15:30:58 +0000 (23:30 +0800)]
Merge pull request #6333 from xiexingguo/xxg-wip-13552

LFNIndex: remove redundant local variable 'obj'.

9 years agoMerge pull request #6360 from xiexingguo/xxg-wip-13575
Kefu Chai [Fri, 23 Oct 2015 15:05:58 +0000 (23:05 +0800)]
Merge pull request #6360 from xiexingguo/xxg-wip-13575

ReplicatedPG: remove unused local variables

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #6342 from dachary/wip-ceph-disk
Loic Dachary [Fri, 23 Oct 2015 11:56:43 +0000 (13:56 +0200)]
Merge pull request #6342 from dachary/wip-ceph-disk

tests: ceph-disk workunit uses configobj

9 years agoReplicatedPG: remove unused local variables 6360/head
xiexingguo [Fri, 23 Oct 2015 07:54:27 +0000 (15:54 +0800)]
ReplicatedPG: remove unused local variables

remove some unused local variables.
Fixes: #13575
Signed-off-by: xie.xingguo@zte.com.cn
9 years agotests: ceph-disk workunit uses configobj 6342/head
Loic Dachary [Wed, 21 Oct 2015 22:21:49 +0000 (00:21 +0200)]
tests: ceph-disk workunit uses configobj

Instead of using augtool to modify the configuration file, use
configobj. It is also used by the install teuthology task. The .ini
lens (puppet lens really) is unable to read ini files created by
configobj.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agotests: ceph-disk workunit uses the ceph task
Loic Dachary [Wed, 21 Oct 2015 23:48:31 +0000 (01:48 +0200)]
tests: ceph-disk workunit uses the ceph task

The ceph-disk workunit deploy keys that are not deployed by default by
the ceph teuthology task.

The OSD created by the ceph task are removed from the default
bucket (via osd rm) so they do not interfere with the tests.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #6355 from ritz303/wip-doc-12784
Sage Weil [Thu, 22 Oct 2015 20:18:15 +0000 (16:18 -0400)]
Merge pull request #6355 from ritz303/wip-doc-12784

doc: Updated the OS recommendations for newer Ceph releases

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agodoc: Removed the NOTE section about non-LTS supported distributions 6355/head
ritz303 [Thu, 22 Oct 2015 20:10:19 +0000 (15:10 -0500)]
doc: Removed the NOTE section about non-LTS supported distributions

Fixes: 12784
Signed-off-by: ritz303 <ritz_303@yahoo.com>
9 years agoMerge pull request #6346 from guangyy/rgw-core
Sage Weil [Thu, 22 Oct 2015 17:51:55 +0000 (13:51 -0400)]
Merge pull request #6346 from guangyy/rgw-core

rgw: support core file limit for radosgw daemon

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agodoc: Updated the OS recommendations for newer Ceph releases
ritz303 [Thu, 22 Oct 2015 16:20:49 +0000 (11:20 -0500)]
doc: Updated the OS recommendations for newer Ceph releases

Fixes: 12784
Signed-off-by: ritz303 <ritz_303@yahoo.com>
9 years agoMerge pull request #6343 from dx9/wip-12406-xattr
Kefu Chai [Thu, 22 Oct 2015 10:04:29 +0000 (18:04 +0800)]
Merge pull request #6343 from dx9/wip-12406-xattr

os/chain_xattr: On linux use linux/limits.h for XATTR_NAME_MAX.

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agorgw: support core file limit for radosgw daemon 6346/head
Guang Yang [Thu, 22 Oct 2015 05:33:08 +0000 (05:33 +0000)]
rgw: support core file limit for radosgw daemon

When calling daemon function, the default is to disable the core dump
by setting the core file limit as 0, we provide a configuration in
ceph.conf to explicity configure the core file size.

Signed-off-by: Guang Yang <yguang@yahoo-inc.com>
9 years agomailmap: Jason Dillaman name normalization 6258/head
Swami Reddy [Wed, 21 Oct 2015 12:45:14 +0000 (18:15 +0530)]
mailmap: Jason Dillaman name normalization

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Joao Eduardo Luis name normalization
Swami Reddy [Wed, 21 Oct 2015 12:43:22 +0000 (18:13 +0530)]
mailmap: Joao Eduardo Luis name normalization

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Min Chen name normalization
Swami Reddy [Wed, 21 Oct 2015 10:59:19 +0000 (16:29 +0530)]
mailmap: Min Chen name normalization

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: James Page name normalization
Swami Reddy [Wed, 21 Oct 2015 10:55:31 +0000 (16:25 +0530)]
mailmap: James Page name normalization

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Ken Dreyer name normalization
Swami Reddy [Wed, 21 Oct 2015 10:46:26 +0000 (16:16 +0530)]
mailmap: Ken Dreyer name normalization

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: tobe affiliation
Swami Reddy [Thu, 15 Oct 2015 09:33:33 +0000 (15:03 +0530)]
mailmap: tobe affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Ruben Kerkhof affiliation
Swami Reddy [Thu, 15 Oct 2015 09:32:23 +0000 (15:02 +0530)]
mailmap: Ruben Kerkhof affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Brian Andrus affiliation
Swami Reddy [Thu, 15 Oct 2015 09:31:10 +0000 (15:01 +0530)]
mailmap: Brian Andrus affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Kadu Ribeiro affiliation
Swami Reddy [Thu, 15 Oct 2015 09:29:44 +0000 (14:59 +0530)]
mailmap: Kadu Ribeiro affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Jeff Epstein affiliation
Swami Reddy [Thu, 15 Oct 2015 09:28:16 +0000 (14:58 +0530)]
mailmap: Jeff Epstein affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Jeff Weber affiliation
Swami Reddy [Thu, 15 Oct 2015 09:27:05 +0000 (14:57 +0530)]
mailmap: Jeff Weber affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: ritz303 affiliation
Swami Reddy [Thu, 15 Oct 2015 09:24:29 +0000 (14:54 +0530)]
mailmap: ritz303 affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: chenji affiliation
Swami Reddy [Thu, 15 Oct 2015 09:22:26 +0000 (14:52 +0530)]
mailmap: chenji affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Burkhard Linke affiliation
Swami Reddy [Thu, 15 Oct 2015 09:20:51 +0000 (14:50 +0530)]
mailmap: Burkhard Linke affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Sylvain Baubeau affiliation
Swami Reddy [Thu, 15 Oct 2015 09:13:24 +0000 (14:43 +0530)]
mailmap: Sylvain Baubeau affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Siddharth Sharma affiliation
Swami Reddy [Thu, 15 Oct 2015 09:12:08 +0000 (14:42 +0530)]
mailmap: Siddharth Sharma affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Milan Broz affiliation
Swami Reddy [Thu, 15 Oct 2015 09:10:32 +0000 (14:40 +0530)]
mailmap: Milan Broz affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Matt Benjamin affiliation
Swami Reddy [Thu, 15 Oct 2015 09:09:00 +0000 (14:39 +0530)]
mailmap: Matt Benjamin affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
9 years agomailmap: Casey Bodley affiliation
Swami Reddy [Thu, 15 Oct 2015 09:05:56 +0000 (14:35 +0530)]
mailmap: Casey Bodley affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Ali Maredia affiliation
Swami Reddy [Thu, 15 Oct 2015 09:04:10 +0000 (14:34 +0530)]
mailmap: Ali Maredia affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Brad Hubbard affiliation
Swami Reddy [Thu, 15 Oct 2015 09:02:52 +0000 (14:32 +0530)]
mailmap: Brad Hubbard affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Juan A. Suarez Romero affiliation
Swami Reddy [Thu, 15 Oct 2015 09:00:43 +0000 (14:30 +0530)]
mailmap: Juan A. Suarez Romero affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Xiaowei Chen name normalization
Swami Reddy [Thu, 15 Oct 2015 08:57:22 +0000 (14:27 +0530)]
mailmap: Xiaowei Chen name normalization

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Wei Qian affiliation
Swami Reddy [Thu, 15 Oct 2015 08:40:51 +0000 (14:10 +0530)]
mailmap: Wei Qian affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Li Peng affiliation
Swami Reddy [Thu, 15 Oct 2015 08:39:11 +0000 (14:09 +0530)]
mailmap: Li Peng affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Robin H. Johnson affiliation
Swami Reddy [Thu, 15 Oct 2015 08:37:29 +0000 (14:07 +0530)]
mailmap: Robin H. Johnson affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
Reviewed-by: Robin Johnson <robin.johnson@dreamhost.com>
9 years agomailmap: Ren Huanwen affiliation
Swami Reddy [Thu, 15 Oct 2015 08:35:24 +0000 (14:05 +0530)]
mailmap: Ren Huanwen affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Yehua Chen name normalization
Swami Reddy [Thu, 15 Oct 2015 08:32:36 +0000 (14:02 +0530)]
mailmap: Yehua Chen name normalization

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>:
9 years agomailmap: Xinze Chi name normalization
Swami Reddy [Thu, 15 Oct 2015 08:21:57 +0000 (13:51 +0530)]
mailmap: Xinze Chi name normalization

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Xie Xiexingguo affiliation
Swami Reddy [Thu, 15 Oct 2015 08:19:10 +0000 (13:49 +0530)]
mailmap: Xie Xiexingguo affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Xie Rui name normalization
Swami Reddy [Thu, 15 Oct 2015 08:12:39 +0000 (13:42 +0530)]
mailmap: Xie Rui name normalization

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Sangdi Xu name normalization
Swami Reddy [Thu, 15 Oct 2015 07:23:33 +0000 (12:53 +0530)]
mailmap: Sangdi Xu name normalization

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
Reviewed-by: Xusangdi <xu.sangdi@h3c.com>
9 years agomailmap: Radoslaw Zarzynski name normalization
Swami Reddy [Thu, 15 Oct 2015 07:20:45 +0000 (12:50 +0530)]
mailmap: Radoslaw Zarzynski name normalization

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Haomai Wang name normalization
Swami Reddy [Thu, 15 Oct 2015 07:18:10 +0000 (12:48 +0530)]
mailmap: Haomai Wang name normalization

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
9 years agoos/chain_xattr: On linux use linux/limits.h for XATTR_NAME_MAX. 6343/head
John Coyle [Thu, 22 Oct 2015 00:08:43 +0000 (20:08 -0400)]
os/chain_xattr: On linux use linux/limits.h for XATTR_NAME_MAX.

Signed-off-by: John Coyle <dx9err@gmail.com>
9 years agoLFNIndex: remove redundant local variable 'obj'. 6333/head
xiexingguo [Wed, 21 Oct 2015 06:08:04 +0000 (14:08 +0800)]
LFNIndex: remove redundant local variable 'obj'.

local variable 'obj' in LFNIndex::list_subdirs() never used and shall be removed.
Fixes: #13552
Signed-off-by: xie.xingguo@zte.com.cn
9 years agomailmap: Dennis Schafroth affiliation
Swami Reddy [Thu, 15 Oct 2015 07:15:27 +0000 (12:45 +0530)]
mailmap: Dennis Schafroth affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Daniel Gryniewicz affiliation
Swami Reddy [Thu, 15 Oct 2015 07:11:59 +0000 (12:41 +0530)]
mailmap: Daniel Gryniewicz affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Bo Cai name normalization
Swami Reddy [Thu, 15 Oct 2015 07:08:18 +0000 (12:38 +0530)]
mailmap: Bo Cai name normalization

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agoMerge pull request #6285 from dx9/wip-12406-envz
Kefu Chai [Wed, 21 Oct 2015 02:35:55 +0000 (10:35 +0800)]
Merge pull request #6285 from dx9/wip-12406-envz

drop envz.h includes

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #6301 from dx9/wip-12406-ditch-loff_t-for-off_t
Gregory Farnum [Tue, 20 Oct 2015 20:44:58 +0000 (13:44 -0700)]
Merge pull request #6301 from dx9/wip-12406-ditch-loff_t-for-off_t

libcephfs: Improve portability by replacing loff_t type usage with off_t

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #6196 from guangyy/wip-12754
David Zafman [Tue, 20 Oct 2015 18:11:00 +0000 (11:11 -0700)]
Merge pull request #6196 from guangyy/wip-12754

osd: auto repair EC pool

Reviewed-by: David Zafman <dzafman@redhat.com>
9 years agotracing: add tracepoints for cache pin/unpin 6326/head
Zhiqiang Wang [Thu, 18 Jun 2015 08:50:08 +0000 (16:50 +0800)]
tracing: add tracepoints for cache pin/unpin

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
9 years agoosd: return ENOENT when object doesn't exist for cache pin/unpin
Zhiqiang Wang [Thu, 18 Jun 2015 07:32:48 +0000 (15:32 +0800)]
osd: return ENOENT when object doesn't exist for cache pin/unpin

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
9 years agotest/tier: add test for cache_pin
Zhiqiang Wang [Wed, 15 Apr 2015 14:40:47 +0000 (22:40 +0800)]
test/tier: add test for cache_pin

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
9 years agotest/tier: test flush/evict on pinned object
Zhiqiang Wang [Wed, 15 Apr 2015 13:52:12 +0000 (21:52 +0800)]
test/tier: test flush/evict on pinned object

Should return -EINVAL.

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
9 years agoosd/ReplicatedPG: reject flush/evict ops on pinned objects
Zhiqiang Wang [Wed, 15 Apr 2015 11:02:35 +0000 (19:02 +0800)]
osd/ReplicatedPG: reject flush/evict ops on pinned objects

Return with -EINVAL.

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
9 years agolibrados: add RADOS C interfaces for pin/unpin object
Zhiqiang Wang [Wed, 11 Mar 2015 08:52:23 +0000 (16:52 +0800)]
librados: add RADOS C interfaces for pin/unpin object

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
9 years agoosd: only allow pin/unpin op on the cache tier
Zhiqiang Wang [Wed, 11 Mar 2015 08:12:48 +0000 (16:12 +0800)]
osd: only allow pin/unpin op on the cache tier

Reject the op when the pin/unpin op is not on the cache tier.

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
9 years agoosd: add num_objects_pinned in object_stat_sum_t
Zhiqiang Wang [Wed, 11 Mar 2015 07:40:57 +0000 (15:40 +0800)]
osd: add num_objects_pinned in object_stat_sum_t

To track the number of objects pinned in a PG.

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
9 years agoosd/ReplicatePG: skip flush/evict pinned objects
Zhiqiang Wang [Wed, 11 Mar 2015 06:48:33 +0000 (14:48 +0800)]
osd/ReplicatePG: skip flush/evict pinned objects

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
9 years agoosd: force promotion when pin an object in cache tier
Zhiqiang Wang [Wed, 11 Mar 2015 06:29:59 +0000 (14:29 +0800)]
osd: force promotion when pin an object in cache tier

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
9 years agoosd: add support of pin/unpin objects in cache tier
Zhiqiang Wang [Wed, 11 Mar 2015 04:21:15 +0000 (12:21 +0800)]
osd: add support of pin/unpin objects in cache tier

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
9 years agorados: add the support of pin/unpin object in cache tier
Zhiqiang Wang [Wed, 11 Mar 2015 01:15:53 +0000 (09:15 +0800)]
rados: add the support of pin/unpin object in cache tier

Adding two new APIs in librados: cache_pin_object and cache_unpin_object

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
9 years agoMerge pull request #6174 from liewegas/wip-13345
Sage Weil [Tue, 20 Oct 2015 14:33:25 +0000 (10:33 -0400)]
Merge pull request #6174 from liewegas/wip-13345

fix MOSDOp encoding

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agodoc/release-notes: drop 0.94.4 plaintext
Sage Weil [Mon, 19 Oct 2015 21:31:04 +0000 (17:31 -0400)]
doc/release-notes: drop 0.94.4 plaintext

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agodoc/releases: fix 0.94.4 link
Sage Weil [Mon, 19 Oct 2015 21:29:01 +0000 (17:29 -0400)]
doc/releases: fix 0.94.4 link

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agodoc/release-notes: final v0.94.4 notes
Sage Weil [Mon, 19 Oct 2015 21:05:31 +0000 (17:05 -0400)]
doc/release-notes: final v0.94.4 notes

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6238 from dachary/wip-release-notes
Sage Weil [Mon, 19 Oct 2015 21:03:15 +0000 (17:03 -0400)]
Merge pull request #6238 from dachary/wip-release-notes

release-notes: draft v0.94.4 release notes

9 years agoMerge pull request #6297 from ritz303/wip-doc-13502
John Wilkins [Mon, 19 Oct 2015 16:42:59 +0000 (09:42 -0700)]
Merge pull request #6297 from ritz303/wip-doc-13502

doc: Renamed the "Create a Ceph User" section and added verbage about…

Reviewed-by: jowilkin@redhat.com
9 years agoMerge pull request #6311 from liewegas/wip-rocksdb
Loic Dachary [Mon, 19 Oct 2015 14:21:09 +0000 (16:21 +0200)]
Merge pull request #6311 from liewegas/wip-rocksdb

rocksdb: build with PORTABLE=1

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoos/Makefile: build rocksdb with PORTABLE=1 6311/head
Sage Weil [Mon, 19 Oct 2015 14:15:38 +0000 (10:15 -0400)]
os/Makefile: build rocksdb with PORTABLE=1

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agomon: should not set isvalid = true when cephx_verify_authorizer return false 6306/head
yangruifeng [Mon, 19 Oct 2015 12:08:12 +0000 (08:08 -0400)]
mon: should not set isvalid = true when cephx_verify_authorizer return false

Fixes: #13525
Signed-off-by: Ruifeng Yang <yangruifeng.09209@h3c.com>
9 years agoSpeed optimizations. Merged 3 writes into 1. 6307/head
Adam Kupczyk [Mon, 19 Oct 2015 10:20:37 +0000 (12:20 +0200)]
Speed optimizations. Merged 3 writes into 1.
Got rid of std::string construction.
More unification on syslog,stderr,fd.

Signed-off-by: Adam Kupczyk <akupczyk@mirantis.com>
9 years agoMerge pull request #6282 from dx9/wip-12406-client-flock
John Spray [Mon, 19 Oct 2015 10:45:53 +0000 (11:45 +0100)]
Merge pull request #6282 from dx9/wip-12406-client-flock

client: sys/file.h includes for flock operations

Reviewed-by: John Spray <john.spray@redhat.com>
9 years agoosd: remove the useless code. 6305/head
Jianpeng Ma [Mon, 19 Oct 2015 05:57:36 +0000 (13:57 +0800)]
osd: remove the useless code.

For get_object_context with can_create is true, we already check
obc->ssc. So don't need other handle

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>