Commit Graph

42396 Commits

Author SHA1 Message Date
yannick-ad
b5d63eb42c doc: replace a sentence by another
Fixes: #12060
Signed-off-by: Yannick Atchy-Dalama <yannick.atchy.dalama@gmail.com>
2015-06-17 17:34:30 +02:00
Gaël Fenet-Garde
9cdd810e64 doc: Purpose of a cache pool
Completing the description of the cache purpose.
Fixes : #11096
Signed-off-by: Gael Fenet-Garde <gael.fenet.garde@gmail.com>
2015-06-17 16:52:35 +02:00
unknown
e60c450b3b doc: Wrong restriction for a daemon's ID
Fixes: #12058

Signed-off-by: Fantinel Lucas <lucas.fantinel@gmail.com>
2015-06-17 16:17:46 +02:00
branto1
c7da8b29b0 Merge pull request #4920 from SUSE/wip_ceph_spec_mandir
The file lists in spec files do expect that man pages are built so we better explicitly state that intention in spec file.
2015-06-17 16:16:26 +02:00
branto1
772fbc530e Merge pull request #4974 from SUSE/wip_ceph_spec_buildep_python_sphinx
We need this in master to make fedora and rhel7 builds work.
2015-06-17 16:13:10 +02:00
Haomai Wang
350f43ef0d librbd: Add option to allow disabling issuing alloc hint
For HDD osd backend, a alloc hint is good for local filesystem to ensure
extent continuous. But for SSD, the available capacity is useful and
precious, user may not expect lots of capacity is used by reserving.
Then ssd is good for random rw.

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-06-17 22:04:52 +08:00
Owen Synge
5e756ed371 ceph_spec buildep python sphinx for fedora
Fedora, suse as well as centos >= 7 and rhel >= 7
use the same name for python-sphinx so add these
conditionals.

Note: Until OBS supports EPEL I cant test builds on
centos and rhel so this extention of build deps is
untested by Owen Synge.

Signed-off-by: Owen Synge <osynge@suse.com>
2015-06-17 15:40:17 +02:00
Josh Durgin
6af50f4105 Merge pull request #4948 from vumrao/wip-rbd-11822
[rbd] support G/T units in rbd create/resize

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
Reviewed-by: Sage Weil <sweil@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-06-16 23:40:26 -07:00
Yehuda Sadeh
a74e485af3 Merge pull request #3894 from rzarzynski/wip-rgw_swift_account_metadata
rgw: add support for metadata on Swift account

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-06-16 14:11:38 -07:00
Owen Synge
26eba36f4e Bug fix for man file packaging.
Always compile and install man pages when making rpm.

Signed-off-by: Owen Synge <osynge@suse.com>
2015-06-16 22:38:02 +02:00
Samuel Just
697a20a0c5 Merge pull request #4833 from liewegas/wip-11500
allow very small cursh weights for osds

Reviewed-by: Samuel Just <sjust@redhat.com>
2015-06-16 13:27:22 -07:00
Loic Dachary
cc7f767810 Merge pull request #4971 from theanalyst/doc/pgp-num
doc: explain about pgp num

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-16 22:09:10 +02:00
Alfredo Deza
62bb70dcca Merge pull request #4968 from tchaikov/wip-update-ceph-deploy-manpage
doc: sync ceph-deploy's man page with the code

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2015-06-16 15:33:32 -04:00
Vikhyat Umrao
8e56a5b5c4 [rbd] support G/T units in rbd create/resize
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
2015-06-16 23:27:52 +05:30
Abhishek Lekshmanan
81eee9bd8c doc: explain about pgp num
Explain the significance of pgp num & how it differs from pg num.

Fixes: #10035
Reported-by: Loic Dachary <loic@dachary.org>
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
2015-06-16 22:59:22 +05:30
Owen Synge
18ba022617 Bug fix for man file packaging.
explicitly included man pages.

Original fix used %{_mandir}/*/* but this could potentially lead to ambiguity
as ceph rpm spec file contains many man pages for different packages.

Signed-off-by: Owen Synge <osynge@suse.com>
2015-06-16 17:49:38 +02:00
Sage Weil
485df0cc6d Merge pull request #4967 from ceph/wip-tarball-11758
qa: update to newer Linux tarball
2015-06-16 08:32:32 -07:00
Greg Farnum
1ea3f47ab8 qa: update to newer Linux tarball
This should make newer gcc releases happier in their default configuration.
kernel.org is now distributing tarballs as .xz files so we change to that
as well when decompressing (it is supported by Ubuntu Precise so we should
be all good).

Fixes: #11758

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-06-16 08:15:55 -07:00
Kefu Chai
84e2f8ea99 doc: sync ceph-deploy's man page with the code
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-06-16 22:28:58 +08:00
Gregory Farnum
0804655725 Merge pull request #4964 from ceph/wip-12019
qa: use "sudo rmdir" to remove test data of multiple_rsync.sh

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-06-16 11:08:57 +01:00
Sébastien Han
d38cd63d26 doc: update openstack and rgw keystone
Update the OpenStack doc with more options, recommendations and best
practices.
Update the Keystone configuration for the Kilo release with Rados
Gateway.

Signed-off-by: Sébastien Han <seb@redhat.com>
2015-06-16 11:22:14 +02:00
Yan, Zheng
905c31e78b qa: use "sudo rmdir" to remove test data of multiple_rsync.sh
Fixes: #12019
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-06-16 15:06:22 +08:00
Sage Weil
81605bdd1d Merge pull request #4959 from ceph/wip-crush-compat
Add crush_compat.h to eliminate ad hoc diff between kernel and userspace

Reviewed-by: Sage Weil <sage@redhat.com>
2015-06-15 12:40:14 -07:00
Haomai Wang
ce86b0a27d doc/messenger: Add doc for ceph_perf_server/client
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-06-16 00:54:37 +08:00
Kefu Chai
80e29f19f1 Merge pull request #4956 from oritwas/fix-cmake-2
cmake: add missing RadosDump.cc, RadosImport.cc and PoolDump.cc

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-06-16 00:28:58 +08:00
Jevon Qiao
2e7c8e7f5e libcephfs: add ceph_p{read,write}v
Fix comments raised by John Spray

Signed-off-by: Jevon Qiao <qiaojianfeng@unitedstack.com>
2015-06-15 23:59:12 +08:00
Ilya Dryomov
69316a9387 crush: add crush_compat.h
Move all the cruft that is necessary to compile shared files both in
kernel and userspace into a new crush_compat.h.  Also add a stub for
div64_s64() and limits for linux fixed width types.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2015-06-15 18:13:40 +03:00
Ilya Dryomov
1db1abc832 crush: eliminate ad hoc diff between kernel and userspace
- map->choose_tries is not in the kernel
- 64-bit/64-bit in the kernel needs a special helper for 32-bit
  architectures, crush_compat.h provides a stub
- INT64_MIN is not in the kernel, crush_compat.h provides S64_MIN
- use dprintk inside DEBUG_INDEP sections

No functional changes.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2015-06-15 18:13:40 +03:00
Kefu Chai
c1761c0f57 Merge pull request #4826 from xinxinsh/wip-fix
os/DBObjectMap:move iterator to first record of object otherwise iter->valid is always false

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-06-15 22:48:14 +08:00
John Spray
fb71bd9d1e mds: add dirfrag split/merge asok commands
Analogous to those from the old-style mds tell.  Also
add an 'ls' that gives you the frags in the same format
that frag_t::parse expects them, so that it's a bit
less obscure to use.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-15 14:17:18 +01:00
Ilya Dryomov
ecee227b61 crush: shared files should use kernel-doc
This reverts mapper.c hunks of 830752a528 ("doc: fix doxygen
warnings").  It is shared with the kernel and uses kernel-doc for
in-code documentation.  If doxygen warnings are an issue, we should
probably just exclude the 7 shared files in Doxyfile - we don't have
@file in these files or EXTRACT_ALL/EXTRACT_STATIC in Doxyfile, which
means these files are essentially skipped as there is no C++ stuff in
them.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2015-06-15 14:26:51 +03:00
Ilya Dryomov
9fde186411 crush: fix style issues in shared files
Fix some recently introduced style issues in crush_ln_table.h,
crush.[ch], hash.[ch], and mapper.[ch].  These files are shared with
the kernel, so we need to at least not introduce anything new -
checkpatch is pretty unhappy as it is.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2015-06-15 14:26:51 +03:00
Ilya Dryomov
9a8ed8b11c crush: move safe arithmetic functions to buider.c
Given that crush_{addition,multiplication}_is_unsafe() are only used
for compiling maps, they have no business in crush.c which is shared
with the kernel.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2015-06-15 14:26:51 +03:00
Jevon Qiao
efd46d10fe libcephfs: add test for ceph_p{read,write}v
Add test in src/test/libcephfs/test.cc for ceph_preadv and ceph_pwritev interfaces.

Signed-off-by: Jevon Qiao <qiaojianfeng@unitedstack.com>
2015-06-15 19:16:27 +08:00
Orit Wasserman
6ef40d7c9e cmake: add missing RadosDump.cc, RadosImport.cc and PoolDump.cc
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2015-06-15 11:39:17 +02:00
Jevon Qiao
f6bf6c2a96 libcephfs: add ceph_p{read,write}v
Add interfaces in libcephfs to enable users to read/write data via iovec structure.

Signed-off-by: Jevon Qiao <qiaojianfeng@unitedstack.com>
2015-06-15 10:15:45 +08:00
xinxin shu
05e95f75d0 objectstore/store_test.cc : add tests for DBObjectMap::get_keys
Signed-off-by: xinxin shu <xinxin.shu@intel.com>
2015-06-15 02:46:39 +08:00
xinxin shu
ce5ba43d69 os/DBObjectMap : fix recurcive lock in get_keys
1. get_keys obtain header lock of oid
2. get iterator with get_iterator(oid), in get_iterator, it also want to get header lock of oid

Signed-off-by: xinxin shu <xinxin.shu@intel.com>
2015-06-15 02:45:42 +08:00
xinxin shu
440ef3a230 os/DBOjectMap : iter->valid is always false if we do not initialize the iterator with init(), seek_to_first will initialize this iterator
Signed-off-by: xinxin shu <xinxin.shu@intel.com>
2015-06-15 02:45:27 +08:00
Kefu Chai
ac4477926f Merge pull request #4690 from branch-predictor/wip-radosbench-memjuggle
tools: improve the performance of rados and rest_bench

Don't delete, recreate and re-fill buffers in rados bench. Fixes the high CPU usage by rados bench on fast SSDs 
and ramdisks/memstore.

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-15 00:03:45 +08:00
Sage Weil
a756a32d09 Merge pull request #4950 from SUSE/wip-osd-spelling
osd_types.{cc,h}: fix three typos in comments

Reviewed-by: Sage Weil <sage@redhat.com>
2015-06-13 11:59:39 -07:00
Nathan Cutler
724c139cca osd_types.{cc,h}: fix three typos in comments
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2015-06-13 20:36:09 +02:00
Haomai Wang
e7c91c729e Merge pull request #4758 from xinxinsh/wip-kv-dump-transaction
dump keyvaluestore transaction to a file

Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
Reviewed-by: Varada Kari <varada.kari@sandisk.com>
2015-06-13 22:49:44 +08:00
Loic Dachary
aa8a56391d Merge pull request #4940 from swamireddy/wip-v094-mailmap
mailmap: Yuri Weinstein affiliation

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-13 11:26:43 +02:00
Yehuda Sadeh
df4d4b42ea Merge pull request #4947 from oritwas/fix-cmake
cmake: Remove rados_sync.cc, rados_import.cc and rados_export.cc deleted files

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-06-12 18:45:46 -07:00
Orit Wasserman
f620a8a648 Remove rados_sync.cc, rados_import.cc and rados_export.cc deleted files
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2015-06-13 03:25:20 +02:00
Michal Jarzabek
55d9747e81 mon: add 'PGs' column to 'ceph osd df'
Fixes: #11882

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2015-06-12 16:00:51 -04:00
Yehuda Sadeh
69989ffa3c Merge pull request #4752 from wuxingyi/wip-11749
rgw: fix data corruption when race condition

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-06-12 11:19:50 -07:00
Yehuda Sadeh
21f850eb68 Merge pull request #4900 from abhidixit/trans_id
Transaction Id added in response for S3 and Swift requests

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-06-12 10:17:31 -07:00
Swami Reddy
45392a2de2 mailmap: Yuri Weinstein affiliation
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
2015-06-12 20:19:58 +05:30