Commit Graph

50622 Commits

Author SHA1 Message Date
Sage Weil
96face6e8c Merge pull request #7928 from branch-predictor/bp-radostool-reduce-mem
tools/rados: reduce "rados put" memory usage by op_size

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-03-09 15:02:00 -05:00
Sage Weil
af5d1b1aaf Merge pull request #7967 from tchaikov/wip-si-cast-coverity
common/strtol.cc: fix the coverity warnings

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2016-03-09 15:01:31 -05:00
Sage Weil
42a9e65cc9 Merge pull request #7948 from avnerbh/fix_avoid_enqueue_dup_code
msg: remove duplicated code - local_delivery will now call 'enqueue'

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-03-09 14:07:21 -05:00
Sage Weil
2b9775db2c Merge pull request #7890 from liewegas/wip-reweight
mon: osd [test-]reweight-by-{pg,utilization} command updates

Reviewed-by: Samuel Just <sjust@redhat.com>
2016-03-09 14:06:30 -05:00
Sage Weil
661891aa28 mon: remove range=100 from reweight-by-* commands
Specifying the range makes it skip instead of error when you give
it a bad value.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-09 13:25:55 -05:00
Kefu Chai
06586037b1 Merge pull request #7847 from wido/mirroring-fixes
Updated scripts and documentation for mirrors

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-03-09 23:50:16 +08:00
Wido den Hollander
2025d631cc Add script to test connectivity and availability of Ceph mirrors
Signed-off-by: Wido den Hollander <wido@42on.com>
2016-03-09 16:48:41 +01:00
Wido den Hollander
0a7407b2b6 mirror: Add examle rsync daemon configuration
This can be used by mirrors to offer a rsync service to end-users

Signed-off-by: Wido den Hollander <wido@42on.com>
2016-03-09 16:48:41 +01:00
Wido den Hollander
63be401a41 doc: Updated docs with additional mirror information
Signed-off-by: Wido den Hollander <wido@42on.com>
2016-03-09 16:48:36 +01:00
Sage Weil
2dc78c86d8 Merge pull request #7552 from dachary/wip-14669-key-management
ceph-disk: key management support

Reviewed-by: Sage Weil <sage@redhat.com>
2016-03-09 10:31:53 -05:00
Sage Weil
0a930e4267 Merge pull request #7995 from majianpeng/bluestore-dump-onode
osd: bluestore: allow _dump_onode dynamic accept log level

Reviewed-by: Sage Weil <sage@redhat.com>
2016-03-09 10:18:28 -05:00
Jianpeng Ma
39954daccf os/bluestore/BlueStore: Allow _dump_onode dynamic accept log level.
Make _dump_onode dynamic accept different log level in different case.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2016-03-09 23:28:06 +08:00
Sage Weil
5c7f74efe8 Merge pull request #7996 from majianpeng/bluestore-fullextent-overwrite
osd: bluestore: for overwrite a extent, allocate new extent on min_alloc_size write

Reviewed-by: Sage Weil <sage@redhat.com>
2016-03-09 10:13:43 -05:00
Jianpeng Ma
5a5969e99a os/bluestore/BlueStore: For overwrite a extent, allocate new extent rather than WAL.
This bug introduce by commit:b0b4b6de362f0edf. This commit forget this
case which overwrite(0, bluestore_min_alloc_size).
For this case it  need a new extent rather than WAL.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2016-03-09 23:52:23 +08:00
Loic Dachary
d29f610b9b Merge pull request #7960 from SUSE/wip-docdev-mon
doc/dev: continue writing Testing in the cloud chapter

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-03-09 16:41:14 +07:00
Nathan Cutler
323c267971 doc/dev: Continue writing Testing in the cloud chapter
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-03-09 09:23:39 +01:00
Josh Durgin
2c01f91168 Merge pull request #7986 from liewegas/wip-xxhash
xxhash: use clone of xxhash.git; add .gitignore

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-03-08 15:22:26 -08:00
Sage Weil
aab91667c4 xxHash: add .gitignore for build artifacts
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-08 16:18:00 -05:00
Sage Weil
517a9d6d52 .gitmodules: use github.com/ceph/xxHash clone
This lets us add our own commits, if necessary.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-08 16:04:31 -05:00
Sage Weil
1c99dc2f4f doc/release-notes: v10.0.4
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-08 11:37:12 -05:00
Sage Weil
bc565e054e Merge pull request #7966 from dachary/wip-release-notes
release-notes: draft v10.0.4 release notes
2016-03-08 11:33:52 -05:00
Sage Weil
8384f16de2 Merge pull request #7880 from SUSE/wip_keyring_permisions_for_mon_deamon_14950
mon: fix keyring permissions

Reviewed-by: Sage Weil <sage@redhat.com>
2016-03-08 11:22:08 -05:00
Sage Weil
46007d271f Merge pull request #7121 from efirs/ef_eversion_t_no_sprintf
osd: Replace snprintf with faster implementation in eversion_t::get_key_name

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-03-08 11:21:42 -05:00
Sage Weil
34b7c824f9 Merge pull request #7141 from jecluis/wip-mon-clockskew
mon: make clock skew checks sane

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-03-08 11:21:20 -05:00
Sage Weil
b533cf107a Merge pull request #7899 from liewegas/wip-osd-markdown
test/osd: Relax the timing intervals in osd-markdown.sh
2016-03-08 11:20:54 -05:00
Sage Weil
84caba5277 Merge pull request #7900 from liewegas/wip-bluefs-alignment
osd: bluefs: fix alignment for odd page sizes

Reviewed-by: Sage Weil <sage@redhat.com>
2016-03-08 11:20:43 -05:00
Sage Weil
bdd2ddb387 Merge pull request #7904 from liewegas/wip-log-delete
log: use delete[]

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2016-03-08 11:20:10 -05:00
Ken Dreyer
19798efdd1 Merge pull request #7742 from ErwanAliasr1/evelu-spec
Adding build requires

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2016-03-08 06:51:44 -07:00
Kefu Chai
92628f5699 common/strtol.cc: fix the coverity warnings
* promote the compared types properly to address the signed/unsigned
  comparison warnings. this also fixes the potential problems of
  slicing a compared type down to a "smaller" type before the
  comparison.
* check for the width of resulting type and shift bits caused by SI
  prefix to avoid the -Wshift-count-overflow warnings. this again
  is a potential issue, as shifting n bits of an integer of m bits
  width, where n >= m, leads to undefined behaviour.
* add a test for the 2nd fixed issue.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-03-08 20:57:45 +08:00
Kefu Chai
37f3fc9ea4 Merge pull request #7972 from badone/wip-CMakeLists-dup-line
cmake: Remove duplicate find_package libcurl line.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-03-08 19:31:25 +08:00
Loic Dachary
d8cdb5fe08 scripts: ceph-release-note rewrite PR title case
Signed-off-by: Loic Dachary <loic@dachary.org>
2016-03-08 12:03:42 +07:00
Loic Dachary
bf61156670 release-notes: draft v10.0.4 release notes
Signed-off-by: Loic Dachary <loic@dachary.org>
2016-03-08 12:03:42 +07:00
Sage Weil
c88b863c7f Merge pull request #7959 from kmroz/wip-add-rgw-to-stopsh
script: add missing stop_rgw variable to stop.sh script

Reviewed-by: Sage Weil <sage@redhat.com>
2016-03-07 21:04:01 -05:00
Sage Weil
796331d6a1 Merge branch 'master' of github.com:ceph/ceph 2016-03-07 15:58:44 -05:00
Sage Weil
37f14a5d94 Merge branch 'wip-conf-root' of https://github.com/liewegas/ceph
Reviewed-by: Josh Durgin <jdurgin@redhat.com>

Conflicts:
	src/common/config.cc
2016-03-07 15:36:13 -05:00
Josh Durgin
9ef7bb15bd Merge pull request #7914 from dillaman/wip-tests-template-specialization
test: correct librbd errors discovered with unoptimized cmake build

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-03-07 12:07:51 -08:00
Erwan Velu
754d2103e1 packaging: Moving Cython into distro specific area
To get the spec file into a consistent state, let's move Cython into the distro
specific are of the spec file.

Signed-off-by: Erwan Velu <erwan@redhat.com>
2016-03-07 20:27:07 +01:00
Erwan Velu
019d9e17a7 packaging: Adding redhat-rpm-config
Some part of the rados compilation process is expecting redhat-hardened-cc1.
That's surely because of the FORTIFY compilation flag.

redhat-hardened-cc1 is part of the redhat-rpm-config so let's put it as a build
dependency.

The typical output when this issue is occuring :

cd ./pybind/rados; CPPFLAGS="-iquote \/ceph/src/include -D__CEPH__ -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D__STDC_FORMAT_MACROS -D_GNU_SOURCE -DCEPH_LIBDIR=\"/usr/local/lib\" -DCEPH_PKGLIBDIR=\"/usr/local/lib/ceph\" -DGTEST_USE_OWN_TR1_TUPLE=0 -D_REENTRANT    " CFLAGS="-iquote \/ceph/src/include -Wall -Wtype-limits -Wignored-qualifiers -Winit-self -Wpointer-arith  -fno-strict-aliasing -fsigned-char -rdynamic -O2 -g -pipe -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -fPIE -fstack-protector-strong  -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free  -g -O2" LDFLAGS="-L\/ceph/src/.libs -Wl,--as-needed  -Wl,-z,relro -Wl,-z,now  -latomic_ops " CYTHON_BUILD_DIR="/ceph/src/build" /bin/python ./setup.py build \
--build-base /ceph/src/build \
--verbose
Compiling rados.pyx because it changed.
Cythonizing rados.pyx
  CXXLD    libradosstriper.la
  CXXLD    librbd.la
  CXXLD    librgw.la
running build
running build_ext
building 'rados' extension
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -iquote /ceph/src/include -Wall -Wtype-limits -Wignored-qualifiers -Winit-self -Wpointer-arith -fno-strict-aliasing -fsigned-char -rdynamic -O2 -g -pipe -Wall -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -fPIE -fstack-protector-strong -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -g -O2 -iquote /ceph/src/include -D__CEPH__ -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D__STDC_FORMAT_MACROS -D_GNU_SOURCE -DCEPH_LIBDIR=/usr/local/lib -DCEPH_PKGLIBDIR=/usr/local/lib/ceph -DGTEST_USE_OWN_TR1_TUPLE=0 -D_REENTRANT -fPIC -I/usr/include/python2.7 -c /ceph/src/build/rados.c -o /ceph/src/build/temp.linux-x86_64-2.7/ceph/src/build/rados.o
gcc: erreur: /usr/lib/rpm/redhat/redhat-hardened-cc1: Aucun fichier ou dossier de ce type
error: command 'gcc' failed with exit status 1

Signed-off-by: Erwan Velu <erwan@redhat.com>
2016-03-07 20:27:07 +01:00
Erwan Velu
7d48d21a53 packaging: Adding btrfs build require
When doing a 'make check', 'qa/workunits/ceph-helpers.sh' does expect the 'btrfs'
command to be available. If not, that make many tests failing.

Signed-off-by: Erwan Velu <erwan@redhat.com>
2016-03-07 20:27:06 +01:00
Sage Weil
216967d60b Merge pull request #7628 from liewegas/wip-journal-block-size
os/filestore/FileJournal: set block size via config option

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2016-03-07 12:28:22 -05:00
Sage Weil
f78d7e8b6d Merge pull request #7705 from renhwsky/renhw-wip-pgmonitor-get_rule_avail
mon/pgmonitor: use appropriate forced conversions in get_rule_avail
2016-03-07 12:27:40 -05:00
Sage Weil
3634ed52f8 Merge pull request #7775 from branch-predictor/bp-bl-eradication
os/ObjectStore: implement more efficient get_encoded_bytes()

Reviewed-by: Sage Weil <sage@redhat.com>
2016-03-07 12:27:07 -05:00
Sage Weil
b62add00a0 Merge pull request #7845 from aiicore/pthread_setname_fix
common: set thread name from correct thread

Reviewed-by: Sage Weil <sage@redhat.com>
2016-03-07 12:25:13 -05:00
Sage Weil
6fc5c46097 Merge pull request #7850 from jupiturliu/kstore-latency
osd: kstore: latency breakdown

Reviewed-by: Sage Weil <sage@redhat.com>
2016-03-07 12:24:40 -05:00
Sage Weil
3a72d21e30 Merge pull request #7861 from tchaikov/wip-14910
qa/workunits/cephtool/test.sh: wait longer in ceph_watch_start()

Reviewed-by: Sage Weil <sage@redhat.com>
2016-03-07 12:23:46 -05:00
Sage Weil
020c78940e Merge pull request #7863 from branch-predictor/bp-faster-name-gen
common/obj_bencher.cc: faster object name generation

Reviewed-by: Sage Weil <sage@redhat.com>
2016-03-07 12:23:06 -05:00
Karol Mroz
60b71ec0e3 stop: Add missing stop_rgw variable
Signed-off-by: Karol Mroz <kmroz@suse.com>
2016-03-07 17:41:12 +01:00
Loic Dachary
80ef3477bf Merge pull request #7954 from SUSE/wip-docdev
doc/dev: various refinements

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-03-07 23:22:33 +07:00
Nathan Cutler
4a5875a184 doc/dev: start Testing in the cloud chapter
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-03-07 16:00:01 +01:00
Nathan Cutler
37afe5c53b doc/dev: various refinements
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-03-07 10:27:42 +01:00