]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Valentin [Thu, 18 Jun 2015 14:44:58 +0000 (16:44 +0200)]
doc: Fixed the picture on page http://ceph.com/docs/master/cephfs/
Fixes: #9174
Signed-off-by Valentin Thomas <valentin.arshanes.thomas@gmail.com>
Gregory Farnum [Thu, 18 Jun 2015 10:09:56 +0000 (11:09 +0100)]
Merge pull request #4931 from yuyuyu101/wip-perf-msgr
PerfMsgr: A tool to benchmark messenger module
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Kefu Chai [Thu, 18 Jun 2015 06:59:23 +0000 (14:59 +0800)]
Merge pull request #4994 from liewegas/wip-mon-fixes
mon: fix warning, and get_bucket_utilization
Reviewed-by: Kefu Chai <kchai@redhat.com>
Josh Durgin [Thu, 18 Jun 2015 03:52:49 +0000 (20:52 -0700)]
Merge pull request #3566 from majianpeng/librbd-cache-iohint
Librbd cache iohint
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Thu, 18 Jun 2015 03:16:06 +0000 (20:16 -0700)]
Merge branch 'next'
Josh Durgin [Thu, 18 Jun 2015 03:15:25 +0000 (20:15 -0700)]
Merge remote-tracking branch 'origin/wip-11579' into next
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Thu, 18 Jun 2015 01:23:11 +0000 (18:23 -0700)]
Merge branch 'next'
Jason Dillaman [Tue, 9 Jun 2015 17:20:54 +0000 (13:20 -0400)]
librbd: flush operations need to acquire owner lock
Cache writeback operations will expect the owner lock to be held.
Fixes: #11938
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Thu, 18 Jun 2015 01:15:14 +0000 (18:15 -0700)]
Merge pull request #4990 from ilc/f22-build
Fix the build on Fedora 22.
Reviewed-by: Sage Weil <sage@redhat.com>
Josh Durgin [Thu, 18 Jun 2015 01:02:31 +0000 (18:02 -0700)]
Merge branch 'next'
Josh Durgin [Thu, 18 Jun 2015 01:01:20 +0000 (18:01 -0700)]
Merge remote-tracking branch 'origin/wip-11537' into next
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Loic Dachary [Wed, 17 Jun 2015 22:04:09 +0000 (00:04 +0200)]
Merge pull request #4992 from maxime1992/master
doc: Change the type of list in doc
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Sage Weil [Wed, 17 Jun 2015 18:57:19 +0000 (11:57 -0700)]
mon/OSDMonitor: fix get_bucket_utilization return value
Broken in
cc5f144a51d10f30e71b96c888a8d2a125e7c9b1 .
Signed-off-by: Sage Weil <sage@redhat.com>
Ira Cooper [Wed, 17 Jun 2015 16:45:29 +0000 (12:45 -0400)]
configure.ac: Fix JUnit 4 detection on Fedora 22.
This allows the build to detect JUnit 4 on Fedora 22, by adding
junit.jar as a valid jar name for JUnit 4.
Signed-off-by: Ira Cooper <ira@samba.org>
Maxime ROBERT [Wed, 17 Jun 2015 16:12:08 +0000 (18:12 +0200)]
doc: Change the type of list in doc
Fixes: #12061.
Signed-off-by: Maxime ROBERT <maxime.robert1992@gmail.com>
Loic Dachary [Wed, 17 Jun 2015 16:25:30 +0000 (18:25 +0200)]
Merge pull request #4975 from mikulely/master
Fix typos in librados example code
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Jiaying Ren [Wed, 17 Jun 2015 02:49:10 +0000 (10:49 +0800)]
Fix typos in librados example code
Signed-off-by: Jiaying Ren <mikulely@gmail.com>
Loic Dachary [Wed, 17 Jun 2015 15:40:59 +0000 (17:40 +0200)]
Merge pull request #4985 from yannick-ad/master
doc: replace a sentence by another
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Loic Dachary [Wed, 17 Jun 2015 15:38:06 +0000 (17:38 +0200)]
Merge pull request #4979 from GaelFG/patch-1
doc: Fixes the description of the purpose of a cache pool
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Loic Dachary [Wed, 17 Jun 2015 15:36:42 +0000 (17:36 +0200)]
Merge pull request #4984 from LucasFantinel/master
doc: Wrong restriction for a daemon's ID
Reviewed-by: Loic Dachary <ldachary@redhat.com>
yannick-ad [Wed, 17 Jun 2015 12:36:01 +0000 (14:36 +0200)]
doc: replace a sentence by another
Fixes: #12060
Signed-off-by: Yannick Atchy-Dalama <yannick.atchy.dalama@gmail.com>
Gaël Fenet-Garde [Wed, 17 Jun 2015 10:03:24 +0000 (12:03 +0200)]
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>
unknown [Wed, 17 Jun 2015 12:54:21 +0000 (14:54 +0200)]
doc: Wrong restriction for a daemon's ID
Fixes: #12058
Signed-off-by: Fantinel Lucas <lucas.fantinel@gmail.com>
branto1 [Wed, 17 Jun 2015 14:16:26 +0000 (16:16 +0200)]
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.
branto1 [Wed, 17 Jun 2015 14:13:10 +0000 (16:13 +0200)]
Merge pull request #4974 from SUSE/wip_ceph_spec_buildep_python_sphinx
We need this in master to make fedora and rhel7 builds work.
Owen Synge [Tue, 16 Jun 2015 22:03:28 +0000 (00:03 +0200)]
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>
Josh Durgin [Wed, 17 Jun 2015 06:40:26 +0000 (23:40 -0700)]
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>
Yehuda Sadeh [Tue, 16 Jun 2015 21:11:38 +0000 (14:11 -0700)]
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>
Owen Synge [Tue, 16 Jun 2015 20:38:02 +0000 (22:38 +0200)]
Bug fix for man file packaging.
Always compile and install man pages when making rpm.
Signed-off-by: Owen Synge <osynge@suse.com>
Samuel Just [Tue, 16 Jun 2015 20:27:22 +0000 (13:27 -0700)]
Merge pull request #4833 from liewegas/wip-11500
allow very small cursh weights for osds
Reviewed-by: Samuel Just <sjust@redhat.com>
Loic Dachary [Tue, 16 Jun 2015 20:09:10 +0000 (22:09 +0200)]
Merge pull request #4971 from theanalyst/doc/pgp-num
doc: explain about pgp num
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Alfredo Deza [Tue, 16 Jun 2015 19:33:32 +0000 (15:33 -0400)]
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>
Vikhyat Umrao [Sat, 13 Jun 2015 04:55:45 +0000 (10:25 +0530)]
[rbd] support G/T units in rbd create/resize
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
Abhishek Lekshmanan [Tue, 16 Jun 2015 17:06:54 +0000 (22:36 +0530)]
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>
Owen Synge [Mon, 8 Jun 2015 20:16:06 +0000 (22:16 +0200)]
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>
Sage Weil [Tue, 16 Jun 2015 15:32:32 +0000 (08:32 -0700)]
Merge pull request #4967 from ceph/wip-tarball-11758
qa: update to newer Linux tarball
Greg Farnum [Tue, 16 Jun 2015 15:13:41 +0000 (08:13 -0700)]
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>
Kefu Chai [Tue, 16 Jun 2015 14:06:17 +0000 (22:06 +0800)]
doc: sync ceph-deploy's man page with the code
Signed-off-by: Kefu Chai <kchai@redhat.com>
Gregory Farnum [Tue, 16 Jun 2015 10:08:57 +0000 (11:08 +0100)]
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>
Yan, Zheng [Tue, 16 Jun 2015 01:40:35 +0000 (09:40 +0800)]
qa: use "sudo rmdir" to remove test data of multiple_rsync.sh
Fixes: #12019
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Sage Weil [Mon, 15 Jun 2015 19:40:14 +0000 (12:40 -0700)]
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>
Haomai Wang [Mon, 15 Jun 2015 16:54:37 +0000 (00:54 +0800)]
doc/messenger: Add doc for ceph_perf_server/client
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
Kefu Chai [Mon, 15 Jun 2015 16:28:58 +0000 (00:28 +0800)]
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>
Ilya Dryomov [Fri, 12 Jun 2015 15:48:46 +0000 (18:48 +0300)]
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>
Ilya Dryomov [Thu, 11 Jun 2015 13:03:01 +0000 (16:03 +0300)]
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>
Kefu Chai [Mon, 15 Jun 2015 14:48:14 +0000 (22:48 +0800)]
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>
Ilya Dryomov [Thu, 11 Jun 2015 13:02:56 +0000 (16:02 +0300)]
crush: shared files should use kernel-doc
This reverts mapper.c hunks of
830752a52841 ("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>
Ilya Dryomov [Thu, 11 Jun 2015 12:41:55 +0000 (15:41 +0300)]
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>
Ilya Dryomov [Thu, 11 Jun 2015 09:45:56 +0000 (12:45 +0300)]
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>
Orit Wasserman [Mon, 15 Jun 2015 09:39:17 +0000 (11:39 +0200)]
cmake: add missing RadosDump.cc, RadosImport.cc and PoolDump.cc
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
xinxin shu [Wed, 3 Jun 2015 22:56:26 +0000 (06:56 +0800)]
objectstore/store_test.cc : add tests for DBObjectMap::get_keys
Signed-off-by: xinxin shu <xinxin.shu@intel.com>
xinxin shu [Wed, 3 Jun 2015 22:51:39 +0000 (06:51 +0800)]
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>
xinxin shu [Mon, 1 Jun 2015 06:28:32 +0000 (14:28 +0800)]
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>
Kefu Chai [Sun, 14 Jun 2015 16:03:45 +0000 (00:03 +0800)]
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>
Sage Weil [Sat, 13 Jun 2015 18:59:39 +0000 (11:59 -0700)]
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>
Nathan Cutler [Sat, 13 Jun 2015 18:36:09 +0000 (20:36 +0200)]
osd_types.{cc,h}: fix three typos in comments
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Haomai Wang [Sat, 13 Jun 2015 14:49:44 +0000 (22:49 +0800)]
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>
Loic Dachary [Sat, 13 Jun 2015 09:26:43 +0000 (11:26 +0200)]
Merge pull request #4940 from swamireddy/wip-v094-mailmap
mailmap: Yuri Weinstein affiliation
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Yehuda Sadeh [Sat, 13 Jun 2015 01:45:46 +0000 (18:45 -0700)]
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>
Orit Wasserman [Sat, 13 Jun 2015 01:21:40 +0000 (03:21 +0200)]
Remove rados_sync.cc, rados_import.cc and rados_export.cc deleted files
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Michal Jarzabek [Wed, 10 Jun 2015 20:47:58 +0000 (21:47 +0100)]
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>
Yehuda Sadeh [Fri, 12 Jun 2015 18:19:50 +0000 (11:19 -0700)]
Merge pull request #4752 from wuxingyi/wip-11749
rgw: fix data corruption when race condition
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 12 Jun 2015 17:17:31 +0000 (10:17 -0700)]
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>
Swami Reddy [Fri, 12 Jun 2015 14:17:45 +0000 (19:47 +0530)]
mailmap: Yuri Weinstein affiliation
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
Kefu Chai [Fri, 12 Jun 2015 01:19:51 +0000 (09:19 +0800)]
Merge pull request #4726 from tchaikov/wip-11680-check-empty-crushmap
mon: check new crush for unknown name/type
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Loic Dachary [Thu, 11 Jun 2015 22:35:21 +0000 (00:35 +0200)]
Merge pull request #4932 from dzafman/wip-cot-import
test, tools: Improve ceph-objectstore-tool import error handling and …
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Sage Weil [Thu, 11 Jun 2015 20:54:07 +0000 (13:54 -0700)]
Merge pull request #4933 from dachary/wip-releases
doc: add v0.94.2 to the release timeline
Reviewed-by: Sage Weil <sage@redhat.com>
Loic Dachary [Thu, 11 Jun 2015 20:35:25 +0000 (22:35 +0200)]
doc: add v0.94.2 to the release timeline
Signed-off-by: Loic Dachary <ldachary@redhat.com>
David Zafman [Thu, 11 Jun 2015 19:57:10 +0000 (12:57 -0700)]
test, tools: Improve ceph-objectstore-tool import error handling and add tests
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Thu, 11 Jun 2015 17:56:56 +0000 (10:56 -0700)]
Merge pull request #4926 from dzafman/wip-omaptool
ceph-osdomap-tool: Fix argument handling
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Haomai Wang [Thu, 11 Jun 2015 17:04:54 +0000 (01:04 +0800)]
PerfMsgr: Add usage helper info
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
Sage Weil [Thu, 11 Jun 2015 17:01:07 +0000 (10:01 -0700)]
Merge pull request #4914 from liewegas/wip-mon-pg-by-osd
mon: fix pg_by_osd in PGMap
Reviewed-by: Kefu Chai <kchai@redhat.com>
Haomai Wang [Thu, 11 Jun 2015 17:00:12 +0000 (01:00 +0800)]
PerfMsgr: Make Server worker threads configurable
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
Haomai Wang [Thu, 11 Jun 2015 16:32:02 +0000 (00:32 +0800)]
PerfMsgr: Add tips for running ceph_perf_msgr
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
Haomai Wang [Thu, 11 Jun 2015 16:27:31 +0000 (00:27 +0800)]
debian, rpm: Add ceph_perf_msgr_* to build file
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
Haomai Wang [Thu, 11 Jun 2015 08:36:04 +0000 (16:36 +0800)]
PerfMsgr: Add messenger perf tools
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
Yan, Zheng [Thu, 11 Jun 2015 13:28:11 +0000 (21:28 +0800)]
Merge pull request #4930 from ceph/wip-11959
qa: use "sudo cp" in multiple_rsync.sh
John Spray [Thu, 11 Jun 2015 10:11:44 +0000 (11:11 +0100)]
qa: use "sudo cp" in multiple_rsync.sh
VirtualBox has some files with weird
permissions in its /usr/lib, which was
tripping up this usually-safe operation
when run as an unprivileged user.
Fixes: #11959
Signed-off-by: John Spray <john.spray@redhat.com>
Kefu Chai [Thu, 11 Jun 2015 08:42:36 +0000 (16:42 +0800)]
Merge pull request #4921 from dachary/wip-11952-test-ceph-disk
tests: ceph-disk tests need to install pip > 6.1
Reviewed-by: Kefu Chai <kchai@redhat.com>
David Zafman [Fri, 10 Oct 2014 23:58:50 +0000 (16:58 -0700)]
ceph-osdomap-tool: Fix argument handling
Signed-off-by: David Zafman <dzafman@redhat.com>
Sage Weil [Thu, 11 Jun 2015 00:41:27 +0000 (17:41 -0700)]
mon/PGMap: fix pgmap stat adjustment during map_pg_creates()
PGMonitor::map_pg_creates() is the only caller that passes sumonly=true,
which is necessary to avoid modifying creating_pgs while it is iterating
over it. However, everything else we *do* want to update--especially the
osd counts.
Rename the arg and skip only the creating bit.
Signed-off-by: Sage Weil <sage@redhat.com>
David Zafman [Wed, 10 Jun 2015 23:57:15 +0000 (16:57 -0700)]
Merge pull request #4863 from ceph/wip-9964-nosharding
rados import/export (minus pgls sharding)
Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
David Zafman [Wed, 10 Jun 2015 21:46:24 +0000 (14:46 -0700)]
test: Add --dry-run and --no-overwrite testing of rados import
Signed-off-by: David Zafman <dzafman@redhat.com>
John Spray [Wed, 10 Jun 2015 12:10:08 +0000 (13:10 +0100)]
tools/rados: dry-run/no-overwrite args for import
These were supported by the old objectstoretool
hook into RadosImport: wire them up here too.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 10 Jun 2015 11:26:46 +0000 (12:26 +0100)]
tools: better error message in objectstoretool
...for the case where someone exports a pool
with "rados export" and then tries to import
it into a PG.
Signed-off-by: John Spray <john.spray@redhat.com>
David Zafman [Fri, 5 Jun 2015 23:08:19 +0000 (16:08 -0700)]
test: Switch ceph-objectstore-tool import-rados to rados import
Signed-off-by: David Zafman <dzafman@redhat.com>
John Spray [Thu, 4 Jun 2015 13:13:24 +0000 (14:13 +0100)]
tools: remove objectstoretool's rados-import
Same functionality now exposed as "rados import".
This removes objectstoretool's librados dependency.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 4 Jun 2015 12:57:41 +0000 (13:57 +0100)]
tools: remove old rados_sync code
This is the code that used to sit behind the
old import/export commands that have been
disabled for some time.
Replaced by the new import/export commands.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 23 Mar 2015 13:20:35 +0000 (13:20 +0000)]
tools: implement rados import/export
New PoolDump (export) class to dump pool contents
in format compatible with ceph-objectstore-tool,
and wire up RadosImport class (import).
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 28 Apr 2015 14:45:53 +0000 (15:45 +0100)]
tools: refactor RadosImport to pass ioctx
Callers from rados.cc will already have an ioctx,
whereas objectstoretool passes in a pool name.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 28 Apr 2015 11:58:51 +0000 (12:58 +0100)]
tools: remove RadosDump::debug in favour of dout
This attribute was a hangover from objectstore-tool
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 20 Apr 2015 16:59:39 +0000 (17:59 +0100)]
tools: add support for pool exports in RadosImport
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 20 Apr 2015 16:28:15 +0000 (17:28 +0100)]
tools: clean up errors in ceph-objectstore-tool
We use negative error codes everywhere else, should
use them here too. Also add a couple of strategically
placed prints.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Fri, 17 Apr 2015 20:23:23 +0000 (21:23 +0100)]
tools: refactor objectstore tool
...to expose the definitions of the object dump
format (RadosDump) for use in rados import/export.
The serialized->RADOS code is now RadosImport, and
the serialized->ObjectStore code is ObjectStoreTool.
This is a step toward #9964, which should use the
same on serialization format as the existing
objectstore-tool dumps.
Signed-off-by: John Spray <john.spray@redhat.com>
Sage Weil [Wed, 10 Jun 2015 19:59:54 +0000 (12:59 -0700)]
Merge pull request #4922 from dachary/wip-releases
doc: add v9.0.1 to the release timeline
Reviewed-by: Sage Weil <sage@redhat.com>
Loic Dachary [Wed, 10 Jun 2015 19:50:07 +0000 (21:50 +0200)]
doc: add v9.0.1 to the release timeline
Signed-off-by: Loic Dachary <ldachary@redhat.com>
Sage Weil [Wed, 10 Jun 2015 19:48:41 +0000 (12:48 -0700)]
doc/release-notes: v0.94.2
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 10 Jun 2015 19:42:17 +0000 (12:42 -0700)]
doc/release-notes: v9.0.1
Signed-off-by: Sage Weil <sage@redhat.com>
Loic Dachary [Wed, 10 Jun 2015 19:00:42 +0000 (21:00 +0200)]
tests: ceph-disk tests need to install pip > 6.1
Otherwise it will not be able to use the wheelhouse.
http://tracker.ceph.com/issues/11952 Fixes: #11952
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Wed, 10 Jun 2015 18:28:05 +0000 (20:28 +0200)]
Merge pull request #4915 from ceph/wip-cot-list
tools: For ec pools list objects in all shards if the pgid doesn't sp…
Reviewed-by: Loic Dachary <ldachary@redhat.com>