]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agoDoc: Updated ceph-deploy osd to choose underlying file system 8730/head
ibravo [Mon, 25 Apr 2016 00:28:35 +0000 (20:28 -0400)]
Doc: Updated ceph-deploy osd to choose underlying file system

Included paragraph about --fs-type and --bluestore

Signed-off-by: Ignacio Bravo ibravo@hotmail.com
9 years agoMerge pull request #8640 from xiexingguo/xxg-wip-osdsideeffect
Sage Weil [Sun, 24 Apr 2016 19:51:06 +0000 (15:51 -0400)]
Merge pull request #8640 from xiexingguo/xxg-wip-osdsideeffect

osd/ReplicatedPG: allow CMPXATTR ops to trigger side effects too

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8694 from wuxingyi/fixincomplete
Sage Weil [Sun, 24 Apr 2016 19:50:00 +0000 (15:50 -0400)]
Merge pull request #8694 from wuxingyi/fixincomplete

osd/PG: PG is only likely to go active when min_size turns smaller.

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoosd: honour result code passed in; tidy-up changesReviewed-by: Sage Weil <sage@redhat...
Sage Weil [Sun, 24 Apr 2016 19:49:09 +0000 (15:49 -0400)]
osd: honour result code passed in; tidy-up changesReviewed-by: Sage Weil <sage@redhat.com>

osd: honour result code passed in; tidy-up changes

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8675 from roidayan/xio-build_deb_with_xio
Sage Weil [Sun, 24 Apr 2016 19:48:35 +0000 (15:48 -0400)]
Merge pull request #8675 from roidayan/xio-build_deb_with_xio

xio: add MNop.h to dist tarball

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8678 from jack-changtao/pgbackend
Sage Weil [Sun, 24 Apr 2016 19:48:25 +0000 (15:48 -0400)]
Merge pull request #8678 from jack-changtao/pgbackend

osd/PGBackend: if min > max, PGBackend::objects_list_partial will list all objects of that pg

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8680 from ceph/rm-distribute
Sage Weil [Sun, 24 Apr 2016 19:48:09 +0000 (15:48 -0400)]
Merge pull request #8680 from ceph/rm-distribute

tools: remove installation for distribute. It is no longer maintained

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8681 from xiexingguo/xxg-wip-crushfix
Sage Weil [Sun, 24 Apr 2016 19:47:57 +0000 (15:47 -0400)]
Merge pull request #8681 from xiexingguo/xxg-wip-crushfix

crush: fix mishandled result of get_bucket() method

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8707 from liewegas/wip-kv-merge
Sage Weil [Sun, 24 Apr 2016 19:47:22 +0000 (15:47 -0400)]
Merge pull request #8707 from liewegas/wip-kv-merge

kv: add merge operator support, fix test

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8688 from xiexingguo/xxg-wip-crushtooltip
Sage Weil [Sun, 24 Apr 2016 19:47:08 +0000 (15:47 -0400)]
Merge pull request #8688 from xiexingguo/xxg-wip-crushtooltip

tools/crushtool: add straw2 support for help message

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8671 from majianpeng/rados-objectsize-smaller-blocksize
Sage Weil [Sun, 24 Apr 2016 19:46:57 +0000 (15:46 -0400)]
Merge pull request #8671 from majianpeng/rados-objectsize-smaller-blocksize

tools/rados: fix "Floating point exception" if  objectsize smaller than  blocksize when do write-bench.

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8502 from songbaisen/song20
Sage Weil [Sun, 24 Apr 2016 19:46:40 +0000 (15:46 -0400)]
Merge pull request #8502 from songbaisen/song20

crushtool: do not allow to compile crushmap with repeat ruleset.

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8724 from aderumier/master
Sage Weil [Sun, 24 Apr 2016 14:31:09 +0000 (10:31 -0400)]
Merge pull request #8724 from aderumier/master

sysvinit: fix ceph init script

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agofix ceph init script 8724/head
Alexandre Derumier [Sun, 24 Apr 2016 07:55:35 +0000 (09:55 +0200)]
fix ceph init script

commit 65963739cd6815b8008282c8f64cd64365662e60 have introduce a bug

test variables need to be quoted, or -n always return true, even if variables don't exist

9 years agoMerge pull request #7942 from xiexingguo/xxg-wip-fixdirtyinc
Sage Weil [Sat, 23 Apr 2016 00:21:57 +0000 (20:21 -0400)]
Merge pull request #7942 from xiexingguo/xxg-wip-fixdirtyinc

mon: OSDMonitor: improve pool creation logic

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Xiaoxi Chen <xiaoxchen@ebay.com>
9 years agoMerge pull request #7997 from songbaisen/song11
Sage Weil [Sat, 23 Apr 2016 00:20:57 +0000 (20:20 -0400)]
Merge pull request #7997 from songbaisen/song11

osdc: Reverse the probing vector in better way.

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #8384 from songbaisen/song18
Sage Weil [Sat, 23 Apr 2016 00:20:29 +0000 (20:20 -0400)]
Merge pull request #8384 from songbaisen/song18

crush: when take place the crush map should consider the rule is in …

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8591 from xiexingguo/xxg-wip-15492
Sage Weil [Sat, 23 Apr 2016 00:19:47 +0000 (20:19 -0400)]
Merge pull request #8591 from xiexingguo/xxg-wip-15492

test: generate temp pool name in a safer way

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8577 from runsisi/wip-fix-op-lock
Sage Weil [Sat, 23 Apr 2016 00:19:32 +0000 (20:19 -0400)]
Merge pull request #8577 from runsisi/wip-fix-op-lock

osdc/Objecter: small cleanup for osd op completion lock

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8596 from xiexingguo/xxg-wip-blue
Sage Weil [Sat, 23 Apr 2016 00:18:51 +0000 (20:18 -0400)]
Merge pull request #8596 from xiexingguo/xxg-wip-blue

os/filestore: add sanity check for stat() syscall

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8710 from ceph/wip-rename-tests
Yuri Weinstein [Fri, 22 Apr 2016 23:06:59 +0000 (16:06 -0700)]
Merge pull request #8710 from ceph/wip-rename-tests

Signed-off-by: Tamil Muthamizhan <tmuthami@redhat.com>
9 years agoSigned-off-by: Tamil Muthamizhan <tmuthami@redhat.com> 8710/head
Tamil Muthamizhan [Fri, 22 Apr 2016 22:25:46 +0000 (18:25 -0400)]
Signed-off-by: Tamil Muthamizhan <tmuthami@redhat.com>
  renamed the workunit and test to reflect reality and for better clarity

9 years agoMerge pull request #8395 from renhwsky/renhw-wip-monmap
Sage Weil [Fri, 22 Apr 2016 21:18:56 +0000 (17:18 -0400)]
Merge pull request #8395 from renhwsky/renhw-wip-monmap

mon/monmap:  conditional optimization in build_from_host_list

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoMerge pull request #8449 from javacruft/ceph-osd-prestart
Sage Weil [Fri, 22 Apr 2016 21:06:44 +0000 (17:06 -0400)]
Merge pull request #8449 from javacruft/ceph-osd-prestart

ceph-osd-prestart.sh: drop --setuser/--setgroup

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8458 from jjhuo/clean_blue_configs
Sage Weil [Fri, 22 Apr 2016 21:04:02 +0000 (17:04 -0400)]
Merge pull request #8458 from jjhuo/clean_blue_configs

common/config_opts: remove invalid config options of bluestore

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #8463 from majianpeng/bluestore-zero-truncate
Sage Weil [Fri, 22 Apr 2016 21:03:20 +0000 (17:03 -0400)]
Merge pull request #8463 from majianpeng/bluestore-zero-truncate

os/bluestore/BlueStore: Don't forget assign nid when offset > size in _do_zero

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8706 from liewegas/wip-jewel
Sage Weil [Fri, 22 Apr 2016 20:47:31 +0000 (16:47 -0400)]
Merge pull request #8706 from liewegas/wip-jewel

doc/release-notes: is, not will be, basis for LTS

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
9 years agokv/RocksDBStore: implement merge operator 8707/head
Allen Samuels [Fri, 22 Apr 2016 20:41:16 +0000 (16:41 -0400)]
kv/RocksDBStore: implement merge operator

Signed-off-by: Allen Samuels <allen.samuels@sandisk.com>
9 years agokv/KeyValueDB: add merge operator interface and test
Allen Samuels [Fri, 22 Apr 2016 20:39:09 +0000 (16:39 -0400)]
kv/KeyValueDB: add merge operator interface and test

Signed-off-by: Allen Samuels <allen.samuels@sandisk.com>
Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoceph_test_keyvaluedb: clean up test dir
Sage Weil [Fri, 22 Apr 2016 20:38:14 +0000 (16:38 -0400)]
ceph_test_keyvaluedb: clean up test dir

Just like ceph_test_objectstore

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agodoc/release-notes: is, not will be, basis for LTS 8706/head
Sage Weil [Fri, 22 Apr 2016 20:13:13 +0000 (16:13 -0400)]
doc/release-notes: is, not will be, basis for LTS

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8705 from liewegas/wip-jewel
Gregory Farnum [Fri, 22 Apr 2016 19:44:18 +0000 (15:44 -0400)]
Merge pull request #8705 from liewegas/wip-jewel

doc/release-notes: revise terminology

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agodoc/release-notes: revise terminology 8705/head
Sage Weil [Fri, 22 Apr 2016 19:30:49 +0000 (15:30 -0400)]
doc/release-notes: revise terminology

Avoid loaded 'production ready' term in favor of just 'stable'.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agorgw: fix memory leak in func 'RGWCreateBucket_ObjStore_S3::get_params' (#8670)
weiqiaomiao [Fri, 22 Apr 2016 18:19:59 +0000 (02:19 +0800)]
rgw: fix memory leak in func 'RGWCreateBucket_ObjStore_S3::get_params' (#8670)

Signed-off-by: weiqiaomiao <wei.qiaomiao@zte.com.cn>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 years agoceph_test_keyvaluedb: fixup unit test for keyvaluedb 8703/head
Allen Samuels [Fri, 22 Apr 2016 18:06:56 +0000 (14:06 -0400)]
ceph_test_keyvaluedb: fixup unit test for keyvaluedb

Fixes: http://tracker.ceph.com/issues/15435
Signed-off-by: Allen Samuels <allen.samuels@sandisk.com>
9 years agoMerge pull request #8527 from roidayan/wip-vstart_clean_prints
Sage Weil [Fri, 22 Apr 2016 17:58:41 +0000 (13:58 -0400)]
Merge pull request #8527 from roidayan/wip-vstart_clean_prints

vstart: clean prints

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8549 from tchaikov/wip-kill-filestore-warning
Sage Weil [Fri, 22 Apr 2016 16:32:55 +0000 (12:32 -0400)]
Merge pull request #8549 from tchaikov/wip-kill-filestore-warning

pybind, FileStore: silence gcc warnings

Reviewed-by: Haomai Wang <haomai@xsky.com>
9 years agoMerge pull request #8551 from scienceluo/patch-1
Sage Weil [Fri, 22 Apr 2016 16:31:50 +0000 (12:31 -0400)]
Merge pull request #8551 from scienceluo/patch-1

doc: Fixes Different font of the title

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Yatin Kumbhare <yatinkumbhare@gmail.com>
9 years agobufferlist.cc fix typo in outputReviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 22 Apr 2016 16:16:26 +0000 (12:16 -0400)]
bufferlist.cc fix typo in outputReviewed-by: Sage Weil <sage@redhat.com>

bufferlist.cc fix typo in output

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8581 from emenguy/pgnum_pools_documentation
Sage Weil [Fri, 22 Apr 2016 16:16:00 +0000 (12:16 -0400)]
Merge pull request #8581 from emenguy/pgnum_pools_documentation

doc: adding pg_num to pools documentation

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
9 years agoMerge pull request #8595 from qhjindev/fix-LFNIndex
Sage Weil [Fri, 22 Apr 2016 16:15:13 +0000 (12:15 -0400)]
Merge pull request #8595 from qhjindev/fix-LFNIndex

os: fix typo in LFNIndex.h

9 years agoMerge pull request #8623 from rmechler/wip-15504
Sage Weil [Fri, 22 Apr 2016 16:05:36 +0000 (12:05 -0400)]
Merge pull request #8623 from rmechler/wip-15504

pybind: removed unneccesary parentheses from if statements

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #8631 from stiopaa1/buffer_fwd
Sage Weil [Fri, 22 Apr 2016 16:04:16 +0000 (12:04 -0400)]
Merge pull request #8631 from stiopaa1/buffer_fwd

image_watcher/Notifier: remove header file

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8644 from tchaikov/wip-doc-os-recommendations
Sage Weil [Fri, 22 Apr 2016 15:53:04 +0000 (11:53 -0400)]
Merge pull request #8644 from tchaikov/wip-doc-os-recommendations

doc/start/os-recommendations.rst: add Jewel requires

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8650 from scienceluo/wip-lkx-fixesdoc
Sage Weil [Fri, 22 Apr 2016 15:51:29 +0000 (11:51 -0400)]
Merge pull request #8650 from scienceluo/wip-lkx-fixesdoc

doc: Fixes "branch -b" and "Qemu"

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
9 years agoMerge pull request #8674 from yatinkumbhare/doc-fix2
Sage Weil [Fri, 22 Apr 2016 15:44:51 +0000 (11:44 -0400)]
Merge pull request #8674 from yatinkumbhare/doc-fix2

doc: fix broken link to monitor quorum

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
9 years agoMerge pull request #8630 from roidayan/xio-log_prefix
Haomai Wang [Fri, 22 Apr 2016 15:31:25 +0000 (23:31 +0800)]
Merge pull request #8630 from roidayan/xio-log_prefix

xio: add log prefix for log prints outside the XioMessenger class

Reviewed-by: Haomai Wang <haomai@xsky.com>
9 years agoMerge pull request #8701 from cernceph/wip-bsweight
Sage Weil [Fri, 22 Apr 2016 14:43:36 +0000 (10:43 -0400)]
Merge pull request #8701 from cernceph/wip-bsweight

ceph-osd-prestart.sh: compute correct defaultweight for bluestore

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8691 from flyd1005/master
Sage Weil [Fri, 22 Apr 2016 14:37:48 +0000 (10:37 -0400)]
Merge pull request #8691 from flyd1005/master

cleanup: Fix typos, change prefered to preferred

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agocompute correct defaultweight for bluestore 8701/head
Dan van der Ster [Fri, 22 Apr 2016 14:37:25 +0000 (16:37 +0200)]
compute correct defaultweight for bluestore

The default crush weight should be the size of the block device, not
the tiny 10M xfs partition.

Backport: jewel
Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
9 years agoos/bluestore/BlueFS: Record the correctly perfcouter
Sage Weil [Fri, 22 Apr 2016 14:37:18 +0000 (10:37 -0400)]
os/bluestore/BlueFS: Record the correctly perfcouter

os/bluestore/BlueFS: record the correctly perfcounter

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore/BlueFS: Record the correctly perfcouter. 8692/head
Jianpeng Ma [Fri, 22 Apr 2016 16:17:42 +0000 (00:17 +0800)]
os/bluestore/BlueFS: Record the correctly perfcouter.

After "log_writer->append(bl)", the length of bl become zero.
So tune the order.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
9 years agoMerge pull request #8696 from cernceph/wip-util
Sage Weil [Fri, 22 Apr 2016 14:31:07 +0000 (10:31 -0400)]
Merge pull request #8696 from cernceph/wip-util

osd: fix backwards min/max osd utilization

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8676 from runsisi/wip-fix-init-exlock
Jason Dillaman [Fri, 22 Apr 2016 14:21:52 +0000 (10:21 -0400)]
Merge pull request #8676 from runsisi/wip-fix-init-exlock

librbd: fix potential double free of SetSnapRequest instance

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: fix potential double free of SetSnapRequest instance 8676/head
runsisi [Thu, 21 Apr 2016 06:48:55 +0000 (14:48 +0800)]
librbd: fix potential double free of SetSnapRequest instance

if image feature EXCLUSIVE_LOCK is not enabled we should not try to
initialize the exclusive lock, or we may end with two async Contexts
to finish the same SetSnapRequest instance

Fixes: http://tracker.ceph.com/issues/15571
Signed-off-by: runsisi <runsisi@zte.com.cn>
9 years agopybind/rados: silence "-Wstrict-prototypes" warnings 8549/head
Kefu Chai [Tue, 12 Apr 2016 04:20:49 +0000 (12:20 +0800)]
pybind/rados: silence "-Wstrict-prototypes" warnings

it silences warnings like:
```
warning:
/srv/autobuild-ceph/gitbuilder.git/build/build/src/pybind/rados/rados.cpp:11361:35:
comparison between signed and unsigned integer expressions
[-Wsign-compare]
__pyx_t_5 = ((__pyx_v_ret > __pyx_v_size) != 0);
^
```

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agopybind: silence gcc warnings about '-Wstrict-prototypes'
Kefu Chai [Tue, 12 Apr 2016 03:49:27 +0000 (11:49 +0800)]
pybind: silence gcc warnings about '-Wstrict-prototypes'

this silences following warning

```
warning: cc1plus: command line option ‘-Wstrict-prototypes’ is valid for
C/ObjC but not for C++ [enabled by default]
```

* distutils pass "-DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes" to
  compiler by default if OPT environment variable is not set. so we opt to
  remove '-Wstrict-prototypes' as we are using c++ as the language of the
  generated bindinging.
* also use "env" to pass the environment variables to avoid unnecessary
  quote added by distutils, which just breaks the generated CLI command
  line.

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #8530 from wjwithagen/patch-6
Sage Weil [Fri, 22 Apr 2016 13:35:41 +0000 (09:35 -0400)]
Merge pull request #8530 from wjwithagen/patch-6

ceph-helpers.sh: only use mon*pid files when killing MONs

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agocmake: config-h.in.cmake: avoid redefinition warnings
Kefu Chai [Tue, 12 Apr 2016 03:19:06 +0000 (11:19 +0800)]
cmake: config-h.in.cmake: avoid redefinition warnings

when compiling python bindings, the included "pyconfig.h" also defines
some of the macros which are duplicated with our versions in acconfig.h.
so do not define them if they are already defined.

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoos/FileStore::OpSequencer: operator<<: silence gcc warning
Kefu Chai [Tue, 12 Apr 2016 02:45:32 +0000 (10:45 +0800)]
os/FileStore::OpSequencer: operator<<: silence gcc warning

it kills following warning:
```
/home/kefu/dev/ceph/src/os/filestore/FileStore.cc: In function
‘std::ostream& operator<<(std::ostream&, const
FileStore::OpSequencer&)’:
/home/kefu/dev/ceph/src/os/filestore/FileStore.cc:155:132: warning: the
compiler can assume that the address of ‘out’ will always evaluate to
‘true’ [-Waddress]
   assert(&out);
```

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #8662 from majianpeng/nvmedevice-cleanup
Haomai Wang [Fri, 22 Apr 2016 12:49:21 +0000 (20:49 +0800)]
Merge pull request #8662 from majianpeng/nvmedevice-cleanup

os/bluestore/NVMEDevice: Remove the duplicated code.

Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Kefu Chai <kefu@redhat.com>
9 years agoMerge pull request #8697 from vumrao/wip-vumrao-15568
Alfredo Deza [Fri, 22 Apr 2016 11:11:24 +0000 (07:11 -0400)]
Merge pull request #8697 from vumrao/wip-vumrao-15568

man : ceph-deploy add config keyword in ceph-deploy

Reviewed-by: Alfredo Deza <adeza@redhat.com>
9 years agoman : ceph-deploy add config keyword in ceph-deploy 8697/head
Vikhyat Umrao [Fri, 22 Apr 2016 10:05:47 +0000 (15:35 +0530)]
man : ceph-deploy add config keyword in ceph-deploy
      config push and pull command

Fixes: http://tracker.ceph.com/issues/15568
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
9 years agoosd: fix backwards min/max osd utilization 8696/head
Dan van der Ster [Fri, 22 Apr 2016 09:19:30 +0000 (11:19 +0200)]
osd: fix backwards min/max osd utilization

Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
9 years agopgbackend: if min > max ,PGBackend::objects_list_partial will list all objects of... 8678/head
Tao Chang [Thu, 21 Apr 2016 18:05:37 +0000 (14:05 -0400)]
pgbackend: if min > max ,PGBackend::objects_list_partial will list all objects of that pg

Signed-off-by: Tao Chang <changtao@hihuron.com>
9 years agoPG: PG is only likely to go active when min_size turns smaller. 8694/head
wuxingyi [Fri, 22 Apr 2016 08:50:11 +0000 (16:50 +0800)]
PG: PG is only likely to go active when min_size turns smaller.

Signed-off-by: wuxingyi <wuxingyi@letv.com>
9 years agoFix typos, change prefered to preferred 8691/head
Li Peng [Fri, 22 Apr 2016 07:15:09 +0000 (15:15 +0800)]
Fix typos, change prefered to preferred

9 years agotools/crushtool: add straw2 support for help message 8688/head
xie xingguo [Fri, 22 Apr 2016 01:45:30 +0000 (09:45 +0800)]
tools/crushtool: add straw2 support for help message

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoMerge pull request #8539 from vuhuong/wip-xio-heavy-msgrs
Casey Bodley [Thu, 21 Apr 2016 18:57:59 +0000 (14:57 -0400)]
Merge pull request #8539 from vuhuong/wip-xio-heavy-msgrs

Wip Xio heavy messengers and resources

9 years agoMerge pull request #8649 from dzafman/wip-test-cot-fix
Ali Maredia [Thu, 21 Apr 2016 17:24:04 +0000 (13:24 -0400)]
Merge pull request #8649 from dzafman/wip-test-cot-fix

test: Fix ceph-objectstore-tool test to run manually from src non-cmake

9 years agocommon/config_opts: remove obsolete config options of bluestore 8458/head
Jianjian Huo [Mon, 21 Mar 2016 22:26:36 +0000 (15:26 -0700)]
common/config_opts: remove obsolete config options of bluestore

Those obsolete options are leftovers from newstore, and are not
used anymore.

Signed-off-by: Jianjian Huo <jianjian.huo@ssi.samsung.com>
9 years agoMerge remote-tracking branch 'gh/jewel'
Sage Weil [Thu, 21 Apr 2016 11:39:36 +0000 (07:39 -0400)]
Merge remote-tracking branch 'gh/jewel'

9 years agodoc/release-notes: v10.2.0 jewel
Sage Weil [Thu, 21 Apr 2016 11:39:25 +0000 (07:39 -0400)]
doc/release-notes: v10.2.0 jewel

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agotools/rados: fix "Floating point exception" if objectsize smaller than blocksize... 8671/head
Jianpeng Ma [Thu, 21 Apr 2016 10:22:46 +0000 (18:22 +0800)]
tools/rados: fix "Floating point exception" if  objectsize smaller than blocksize when do write-bench.

When do write-bench, if objectsize is smaller than blocksize. It will
casue "Floating point exception".
This because in bjBencher::write_bench:
>>if (data.op_size)
>>    writes_per_object = data.object_size / data.op_size;
  It make writes_per_object = 0;
......
>> name[i] = generate_object_name(i / writes_per_object);
  i/0 cause Floating point exception.

If objectsize is smaller than blocksize, make blocksize is eqaul
objectsize.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
9 years agocrush: remove unnecessary sanity check 8681/head
xie xingguo [Thu, 21 Apr 2016 07:51:41 +0000 (15:51 +0800)]
crush: remove unnecessary sanity check

We have done sanity check with bucket_exists() above, so these
checks are redundant and less effcient.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agocrush: kill code we never used
xie xingguo [Thu, 21 Apr 2016 06:48:39 +0000 (14:48 +0800)]
crush: kill code we never used

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agocrush: use bucket_exists() for item sanity checks
xie xingguo [Thu, 21 Apr 2016 05:56:31 +0000 (13:56 +0800)]
crush: use bucket_exists() for item sanity checks

This is because get_bucket() never returns 0 on error,
it always returns a non-zero value. So if you
assert(get_bucket(item)), you always get a postive answer.

Replace existence check for a specific item

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agocrush: fix get_rule_step() can't catch all errors
xie xingguo [Thu, 21 Apr 2016 02:57:23 +0000 (10:57 +0800)]
crush: fix get_rule_step() can't catch all errors

Because get_rule() may return -ENOENT on error, we shall
use the IS_ERR macro to catch that, as all the other callers does.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agocrush: fix mishandle result of get_bucket() method
xie xingguo [Thu, 21 Apr 2016 03:50:05 +0000 (11:50 +0800)]
crush: fix mishandle result of get_bucket() method

Get_bucket() is supposed to return a pointer to a specific bucket on success.
However, it never returns a null pointer if error occurs. It returns
-ENOENT instead. That's why most caller is misjudge the result code of get_bucket()
method.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoxio: add MNop.h to dist tarball 8675/head
Roi Dayan [Wed, 20 Apr 2016 14:56:16 +0000 (17:56 +0300)]
xio: add MNop.h to dist tarball

This file is needed when we want to build a package with xio messenger
but was not added to dist tarball.

Signed-off-by: Roi Dayan <roid@mellanox.com>
9 years agoMerge pull request #8667 from SUSE/wip-15549
Boris Ranto [Thu, 21 Apr 2016 06:17:55 +0000 (08:17 +0200)]
Merge pull request #8667 from SUSE/wip-15549

rpm: refrain from installing systemd unit files twice

Reviewed-by: Boris Ranto <branto@redhat.com>
9 years agodoc: fix broken link to monitor quorum 8674/head
Yatin Kumbhare [Thu, 21 Apr 2016 06:12:39 +0000 (11:42 +0530)]
doc: fix broken link to monitor quorum

Link pointing in Monitor Quorum section to
ceph configuration file was broken.
Fixing it to point to configuration section.

Signed-off-by: Yatin Kumbhare yatinkumbhare@gmail.com
9 years agoinstall-deps: remove distribute requirement 8668/head 8680/head
Alfredo Deza [Wed, 20 Apr 2016 20:23:55 +0000 (16:23 -0400)]
install-deps: remove distribute requirement

Because it was meant for Ubuntu 12.04 and it is installing directly
from PyPI on newer releases that aren't being built for 12.04

Signed-off-by: Alfredo Deza <adeza@redhat.com>
9 years agotools: remove installation for distribute. It is no longer maintained and breaks...
Alfredo Deza [Wed, 20 Apr 2016 19:48:19 +0000 (15:48 -0400)]
tools: remove installation for distribute. It is no longer maintained and breaks builds

Signed-off-by: Alfredo Deza <adeza@redhat.com>
9 years agoMerge pull request #8643 from ceph/wip-udev
Sage Weil [Wed, 20 Apr 2016 19:09:30 +0000 (15:09 -0400)]
Merge pull request #8643 from ceph/wip-udev

udev: remove 60-ceph-partuuid-workaround-rules

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agorpm: refrain from installing systemd unit files twice 8667/head
Nathan Cutler [Wed, 20 Apr 2016 15:21:56 +0000 (17:21 +0200)]
rpm: refrain from installing systemd unit files twice

These files are already installed by systemd/Makefile.am

Fixes: http://tracker.ceph.com/issues/15549
Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoos/bluestore/NVMEDevice: Remove the duplicated code. 8662/head
Jianpeng Ma [Wed, 20 Apr 2016 17:00:33 +0000 (01:00 +0800)]
os/bluestore/NVMEDevice: Remove the duplicated code.

In spdk/pci.h spdk/nvme.h, it alread contain those code:
extern "C" {
 So remove the duplicated code.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
9 years agoMerge pull request #8664 from theanalyst/doc/rgw/fix-multisite-zone
Casey Bodley [Wed, 20 Apr 2016 14:33:05 +0000 (10:33 -0400)]
Merge pull request #8664 from theanalyst/doc/rgw/fix-multisite-zone

doc: multisite: fix json output for zone create

9 years ago10.2.0 v10.2.0
Jenkins Build Slave User [Wed, 20 Apr 2016 11:29:48 +0000 (11:29 +0000)]
10.2.0

9 years agodoc: mutlisite: fix json output for zone create 8664/head
Abhishek Lekshmanan [Wed, 20 Apr 2016 10:50:50 +0000 (12:50 +0200)]
doc: mutlisite: fix json output for zone create

creation of ``us-west`` was wrongly showing ``us-east-2`` output

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
9 years agoosd: kill PG_STATE_SCRUBQ state, which is never used 8651/head
xie xingguo [Wed, 20 Apr 2016 06:59:44 +0000 (14:59 +0800)]
osd: kill PG_STATE_SCRUBQ state, which is never used

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoosd: kill get_any_up_osd(), which is never used
xie xingguo [Wed, 20 Apr 2016 06:28:21 +0000 (14:28 +0800)]
osd: kill get_any_up_osd(), which is never used

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoMerge pull request #8658 from ceph/wip-cmake
Casey Bodley [Tue, 19 Apr 2016 20:39:26 +0000 (16:39 -0400)]
Merge pull request #8658 from ceph/wip-cmake

cmake: Added CMAKE_CEPH_*_VIRTUALENV var to fix build

9 years agocmake: Added CMAKE_CEPH_*_VIRTUALENV var to fix build 8658/head
Ali Maredia [Tue, 19 Apr 2016 19:30:59 +0000 (15:30 -0400)]
cmake: Added CMAKE_CEPH_*_VIRTUALENV var to fix build

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agoMerge pull request #8636 from ceph/wip-rgw-leak
Yehuda Sadeh [Tue, 19 Apr 2016 19:03:43 +0000 (12:03 -0700)]
Merge pull request #8636 from ceph/wip-rgw-leak

rgw leaks fixes

9 years agoMerge pull request #8653 from theanalyst/doc/fix-multisite-pools
Casey Bodley [Tue, 19 Apr 2016 13:35:31 +0000 (09:35 -0400)]
Merge pull request #8653 from theanalyst/doc/fix-multisite-pools

doc: rgw multisite, add pools section & minor cosmetic improvements

9 years agorgw: drop rest op reference in error path 8636/head
Yehuda Sadeh [Tue, 19 Apr 2016 13:11:09 +0000 (06:11 -0700)]
rgw: drop rest op reference in error path

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agodoc: rgw multisite, add pools section & minor cosmetic improvements 8653/head
Abhishek Lekshmanan [Tue, 19 Apr 2016 09:02:22 +0000 (11:02 +0200)]
doc: rgw multisite, add pools section & minor cosmetic improvements

`Pool Configuration` was mentioned previously but didn't contain any
info, adding this section and minor cosmetic changes to a few headings
after looking at the html view.

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
9 years agoosd/ReplicatedPG: kill members we never used
xie xingguo [Tue, 19 Apr 2016 07:11:32 +0000 (15:11 +0800)]
osd/ReplicatedPG: kill members we never used

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoos/filestore: improve error message of aio write failure
xie xingguo [Tue, 19 Apr 2016 06:57:43 +0000 (14:57 +0800)]
os/filestore: improve error message of aio write failure

e.g. when we encountered an AIO error, the output is not
very human-readable, as below:

    -1> 2016-04-19 12:07:57.387805 7f192e320700 -1 journal aio to 53059584~1744896 wrote 18446744073709551611
     0> 2016-04-19 12:07:57.389205 7f192e320700 -1 os/FileJournal.cc: In function 'void FileJournal::write_finish_thread_entry()' th
read 7f192e320700 time 2016-04-19 12:07:57.387831

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>