]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
12 years agomds: ESessions more modernization for dencoder
Greg Farnum [Mon, 4 Feb 2013 00:07:44 +0000 (16:07 -0800)]
mds: ESessions more modernization for dencoder

Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: ESessions now uses modern encoding
Greg Farnum [Fri, 25 Jan 2013 01:54:21 +0000 (17:54 -0800)]
mds: ESessions now uses modern encoding

To facilitate this (since it had no versioning previously), it
gets a new encoding number and LogEvent::decode() sets a switch
if it's the old encoding.

Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: ESession more modernization for dencoder
Greg Farnum [Sun, 3 Feb 2013 23:45:31 +0000 (15:45 -0800)]
mds: ESession more modernization for dencoder

Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: ESession event now uses modern encoding
Greg Farnum [Fri, 18 Jan 2013 20:59:35 +0000 (12:59 -0800)]
mds: ESession event now uses modern encoding

Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: EResetJournal modernization for dencoder
Greg Farnum [Sun, 3 Feb 2013 23:45:12 +0000 (15:45 -0800)]
mds: EResetJournal modernization for dencoder

Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: EResetJournal event now uses modern encoding
Greg Farnum [Fri, 18 Jan 2013 20:57:49 +0000 (12:57 -0800)]
mds: EResetJournal event now uses modern encoding

Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: EOpen event now uses modern encoding
Greg Farnum [Fri, 18 Jan 2013 20:56:54 +0000 (12:56 -0800)]
mds: EOpen event now uses modern encoding

Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agoMDS: EMetaBlob more modernization for encoder
Greg Farnum [Sun, 3 Feb 2013 05:17:21 +0000 (21:17 -0800)]
MDS: EMetaBlob more modernization for encoder

Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agoMDS: EMetaBlob::dirlump more modernization for encoder
Greg Farnum [Fri, 1 Feb 2013 23:51:59 +0000 (15:51 -0800)]
MDS: EMetaBlob::dirlump more modernization for encoder

Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: EMetaBlob::nullbit modernization for dencoder
Greg Farnum [Fri, 1 Feb 2013 23:50:01 +0000 (15:50 -0800)]
mds: EMetaBlob::nullbit modernization for dencoder

And set defaults in the default constructor.

Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: EMetaBlob::remotebit more modernization for dencoder
Greg Farnum [Fri, 1 Feb 2013 20:52:01 +0000 (12:52 -0800)]
mds: EMetaBlob::remotebit more modernization for dencoder

And set defaults for the default constructor.

Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: EMetaBlob::full_bit more modernization for dencoder
Greg Farnum [Fri, 1 Feb 2013 04:31:13 +0000 (20:31 -0800)]
mds: EMetaBlob::full_bit more modernization for dencoder

While we're doing so, make the frag stream operator const!

Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: EMetaBlob and its sub-parts use modern encoding now
Greg Farnum [Fri, 18 Jan 2013 20:51:52 +0000 (12:51 -0800)]
mds: EMetaBlob and its sub-parts use modern encoding now

Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: EImportStart event uses modern encoding
Greg Farnum [Thu, 31 Jan 2013 22:04:22 +0000 (14:04 -0800)]
mds: EImportStart event uses modern encoding

Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: EImportFinish event uses modern encoding
Greg Farnum [Thu, 31 Jan 2013 21:53:10 +0000 (13:53 -0800)]
mds: EImportFinish event uses modern encoding

Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: EFragment event uses modern encoding
Greg Farnum [Thu, 31 Jan 2013 21:44:37 +0000 (13:44 -0800)]
mds: EFragment event uses modern encoding

Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: remove unused EString event
Greg Farnum [Tue, 22 Jan 2013 16:13:55 +0000 (08:13 -0800)]
mds: remove unused EString event

While we're at it, #include LogEvent.h from each of
the log events, some of which didn't include it previously!

Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: EExport event uses modern encoding
Greg Farnum [Thu, 31 Jan 2013 21:23:31 +0000 (13:23 -0800)]
mds: EExport event uses modern encoding

Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: ECommitted now uses modern encoding
Greg Farnum [Tue, 5 Feb 2013 19:39:14 +0000 (11:39 -0800)]
mds: ECommitted now uses modern encoding

Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agoSnapServer: use modern encoding for server_state
Greg Farnum [Fri, 18 Jan 2013 02:01:37 +0000 (18:01 -0800)]
SnapServer: use modern encoding for server_state

Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agoInoTable: use modern encoding for encode_state and decode_state
Greg Farnum [Fri, 18 Jan 2013 00:49:33 +0000 (16:49 -0800)]
InoTable: use modern encoding for encode_state and decode_state

Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agoCInode: use modern encoding for encode_export/decode_import
Greg Farnum [Fri, 18 Jan 2013 00:22:59 +0000 (16:22 -0800)]
CInode: use modern encoding for encode_export/decode_import

Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agoCInode: use modern encoding for encode_store
Greg Farnum [Fri, 18 Jan 2013 00:15:49 +0000 (16:15 -0800)]
CInode: use modern encoding for encode_store

Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agoAnchorServer: use modern encoding for server state
Greg Farnum [Tue, 5 Feb 2013 19:38:25 +0000 (11:38 -0800)]
AnchorServer: use modern encoding for server state

Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agoDecayCounter: use modern encoding
Sage Weil [Tue, 25 Sep 2012 17:48:09 +0000 (10:48 -0700)]
DecayCounter: use modern encoding

Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: old_rstat_t now uses modern encoding
Greg Farnum [Wed, 16 Jan 2013 01:33:57 +0000 (17:33 -0800)]
mds: old_rstat_t now uses modern encoding

Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: Capability (and sub-structs) now uses modern encoding
Greg Farnum [Tue, 5 Feb 2013 19:37:55 +0000 (11:37 -0800)]
mds: Capability (and sub-structs) now uses modern encoding

Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: uninline Capability encoders
Sage Weil [Fri, 21 Sep 2012 15:53:21 +0000 (08:53 -0700)]
mds: uninline Capability encoders

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agomds: build dencoder with more stuff
Greg Farnum [Tue, 5 Feb 2013 19:30:39 +0000 (11:30 -0800)]
mds: build dencoder with more stuff

Add libosdc and perfglue/disabled_heap_profiler to the
dencoder, because those are required for the MDS stuff
we're about to start putting in. *sigh*

Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agoMDSMap: mds_info_t now uses modern encoding
Greg Farnum [Thu, 31 Jan 2013 21:14:27 +0000 (13:14 -0800)]
MDSMap: mds_info_t now uses modern encoding

We have to update the older-style MDSMap encodings to generate
the previous versions for clients as well.

Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: MDSMap now uses modern encoding
Greg Farnum [Thu, 31 Jan 2013 19:36:30 +0000 (11:36 -0800)]
mds: MDSMap now uses modern encoding

Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: move conditional MDSMap encoding into single encode method
Greg Farnum [Tue, 15 Jan 2013 21:10:42 +0000 (13:10 -0800)]
mds: move conditional MDSMap encoding into single encode method

Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomdsmap: uninline encode/decode
Greg Farnum [Tue, 15 Jan 2013 20:56:17 +0000 (12:56 -0800)]
mdsmap: uninline encode/decode

Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: modernize SimpleLock on-wire encoding
Greg Farnum [Thu, 17 Jan 2013 00:51:17 +0000 (16:51 -0800)]
mds: modernize SimpleLock on-wire encoding

This is a wire protocol change.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agomds: mds_table_pending_t now uses modern encoding
Greg Farnum [Thu, 17 Jan 2013 00:50:29 +0000 (16:50 -0800)]
mds: mds_table_pending_t now uses modern encoding

Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: rename MDSTableServer::_pending to mds_table_pending_t
Greg Farnum [Wed, 16 Jan 2013 23:56:05 +0000 (15:56 -0800)]
mds: rename MDSTableServer::_pending to mds_table_pending_t

And move it from MDSTableServer into mdstypes.cc, so we can use it
in ceph-dencoder more gracefully (coming up next!).

Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: MDSCacheObjectInfo now uses modern encoding
Sage Weil [Tue, 25 Sep 2012 17:51:04 +0000 (10:51 -0700)]
mds: MDSCacheObjectInfo now uses modern encoding

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agomds: string_snap_t now uses modern encoding
Greg Farnum [Thu, 17 Jan 2013 18:31:48 +0000 (10:31 -0800)]
mds: string_snap_t now uses modern encoding

Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: session_info_t now uses modern encoding
Greg Farnum [Thu, 17 Jan 2013 18:31:22 +0000 (10:31 -0800)]
mds: session_info_t now uses modern encoding

Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: move durable Session bits into session_info_t
Greg Farnum [Wed, 16 Jan 2013 01:27:25 +0000 (17:27 -0800)]
mds: move durable Session bits into session_info_t

This keeps the on-disk structure explicitly separate from the in-memory
functional stuff.

Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: fnode_t now uses modern encoding
Greg Farnum [Thu, 17 Jan 2013 18:30:49 +0000 (10:30 -0800)]
mds: fnode_t now uses modern encoding

Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: old_inode_t now uses modern encoding
Greg Farnum [Thu, 31 Jan 2013 19:24:35 +0000 (11:24 -0800)]
mds: old_inode_t now uses modern encoding

Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agoremove common/types.cc
Greg Farnum [Tue, 15 Jan 2013 20:36:17 +0000 (12:36 -0800)]
remove common/types.cc

It no longer has a purpose; the functions it used to host are now
implemented in mds/mdstypes.cc and more properly belong there
anyway.

Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: inode_t now uses modern encoding
Greg Farnum [Thu, 31 Jan 2013 19:16:30 +0000 (11:16 -0800)]
mds: inode_t now uses modern encoding

And we move implementations and the dumper into mdstypes.cc (from
mdstypes.h and common/types.cc).

Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: fold byte_range_t into client_writeable_range_t
Greg Farnum [Thu, 31 Jan 2013 19:00:36 +0000 (11:00 -0800)]
mds: fold byte_range_t into client_writeable_range_t

As part of this, fold byte_range_t into it as a sub-struct
and eliminate its free-standing functions (it's too small
to live alone).

Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: client_writeable_range_t now uses modern encoding
Greg Farnum [Thu, 17 Jan 2013 18:28:15 +0000 (10:28 -0800)]
mds: client_writeable_range_t now uses modern encoding

Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: nest_info_t now uses modern encoding
Greg Farnum [Thu, 17 Jan 2013 18:27:49 +0000 (10:27 -0800)]
mds: nest_info_t now uses modern encoding

Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: rename struct default_file_layout to file_layout_policy_t
Greg Farnum [Tue, 5 Feb 2013 21:25:41 +0000 (13:25 -0800)]
mds: rename struct default_file_layout to file_layout_policy_t

Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: frag_info_t now uses modern encoding
Greg Farnum [Thu, 17 Jan 2013 18:23:41 +0000 (10:23 -0800)]
mds: frag_info_t now uses modern encoding

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agomds: default_file_layout now uses modern encoding
Greg Farnum [Thu, 17 Jan 2013 18:23:16 +0000 (10:23 -0800)]
mds: default_file_layout now uses modern encoding

And move implementations into mdstypes.cc from CInode and common/types.
mdstypes.cc sadly lives in libcommon; as several of the types we're going
to put there are needed for Messages and similar things.

Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: inode_back{trace,pointer}_t now uses modern encoding
Greg Farnum [Thu, 17 Jan 2013 18:04:08 +0000 (10:04 -0800)]
mds: inode_back{trace,pointer}_t now uses modern encoding

Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: move SnapRealm into its own h/cc files
Sage Weil [Wed, 19 Sep 2012 01:35:53 +0000 (18:35 -0700)]
mds: move SnapRealm into its own h/cc files

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoclient: rename client/SnapRealm files to avoid automake build conflict
Greg Farnum [Wed, 16 Jan 2013 01:48:46 +0000 (17:48 -0800)]
client: rename client/SnapRealm files to avoid automake build conflict

We are about to move the MDS' SnapRealm into its own files, which conflicts.
The MDS is more important, so it wins the "SnapRealm" filename and we
move the client stuff to ClientSnapRealm.[h|cc].

Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: SnapInfo, snaplink_t, sr_t now use modern encoding
Greg Farnum [Thu, 17 Jan 2013 18:03:19 +0000 (10:03 -0800)]
mds: SnapInfo, snaplink_t, sr_t now use modern encoding

This commit doesn't enable the dencoder integration due
to some build and compile issues, but we'll turn it
on later.

Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Greg Farnum <greg@inktank.com>
12 years ago mds: Anchor now uses modern encoding
Greg Farnum [Wed, 16 Jan 2013 01:44:30 +0000 (17:44 -0800)]
 mds: Anchor now uses modern encoding

Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agomds: add CEPH_FEATURE_MDSENC feature bit
Greg Farnum [Tue, 15 Jan 2013 21:04:23 +0000 (13:04 -0800)]
mds: add CEPH_FEATURE_MDSENC feature bit

This will cover the MDS cluster on upgrade, and determine which encoding
of the MDSMap they use for clients.

Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agoosd: remove DecayCounter header
Greg Farnum [Thu, 17 Jan 2013 22:36:02 +0000 (14:36 -0800)]
osd: remove DecayCounter header

Neither the OSD nor the PG makes any use of this.

Signed-off-by: Greg Farnum <greg@inktank.com>
12 years agoMerge pull request #39 from dachary/master
Gregory Farnum [Tue, 5 Feb 2013 19:13:49 +0000 (11:13 -0800)]
Merge pull request #39 from dachary/master

Relax Throttle::_reset_max conditions and associated unit tests

12 years agoRelax Throttle::_reset_max conditions and associated unit tests 39/head
Loic Dachary [Sun, 20 Jan 2013 11:35:10 +0000 (11:35 +0000)]
Relax Throttle::_reset_max conditions and associated unit tests

Removes a condition in Throttle::_reset_max by which the waiting queue is only
Signal()ed if the new maximum is lower than the current maximum.
There is no evidence of a use case where such a restriction would be
useful. In addition waking up a thread when the maximum increases
gives it a chance to immediately continue the suspended process
instead of waiting for the next put().

Create a new test file covering 100% of src/Throttle.{cc,h} lines of code.
The following methods are tested:

* Throttle::Throttle with and without a maximum
* Throttle::~Throttle when each pending Cond is deleted
* Throttle::take
* Throttle::get when updating the maximum ( lower or higher ),
  when going to sleep waiting for the count to lower under
  the maximum, when going to sleep because another thread is
  already asleep waiting
* Throttle::get_or_fail when there is no maximum,
  when requesting a count that is larger than the maximum, either
  when the current value is under the maximum or above the maximum.
* Throttle::wait when used to reset the maximum and wake up
  another thread asleep waiting

All asserts checking the arguments sanity are exercised ( negative argument
for Throttle::take etc. ).
Adds the LGPLv2+ licensing terms to COPYING along with the others.
Adds a Contributors section to the AUTHORS file.

Notes:
Testing asserts outputs verbose error messages that should be silenced
but it does not seem possible.

Signed-off-by: Loic Dachary <loic@dachary.org>
12 years agoos: default to 'journal aio = true'
Sage Weil [Tue, 5 Feb 2013 18:29:11 +0000 (10:29 -0800)]
os: default to 'journal aio = true'

Hooray, testing indicates this is a win!

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoMerge pull request #36 from cmello/master
Gregory Farnum [Tue, 5 Feb 2013 18:20:18 +0000 (10:20 -0800)]
Merge pull request #36 from cmello/master

libexpat dependency

12 years agoMerge pull request #38 from alram/master
John Wilkins [Tue, 5 Feb 2013 17:57:32 +0000 (09:57 -0800)]
Merge pull request #38 from alram/master

Fixes in ./docs/radosgw/config.rst

12 years agoEdit endpoint-create in ./doc/radosgw/config.rst 38/head
Alexandre Marangone [Tue, 5 Feb 2013 05:20:07 +0000 (21:20 -0800)]
Edit endpoint-create in ./doc/radosgw/config.rst

internalurl and adminurl are mandatory. Typo in publicurl.

12 years agoEdit rgw keystone url in ./doc/radosgw/config.rst
Alexandre Marangone [Tue, 5 Feb 2013 05:14:54 +0000 (21:14 -0800)]
Edit rgw keystone url in ./doc/radosgw/config.rst

Won't work with the public port, it needs to be the admin port.

12 years agoNote on host in ./doc/radosgw/config.rst
Alexandre Marangone [Tue, 5 Feb 2013 05:09:37 +0000 (21:09 -0800)]
Note on host in ./doc/radosgw/config.rst

Some people have configured host with a FQDN or an IP
which prevents /etc/init.d/radosgw start to launch the daemon.

12 years agodoc: Updated to note bobtail supports RGW + Keystone.
John Wilkins [Tue, 5 Feb 2013 00:42:03 +0000 (16:42 -0800)]
doc: Updated to note bobtail supports RGW + Keystone.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
12 years agocli test: add pg deep-scrub option to test
Gary Lowell [Mon, 4 Feb 2013 22:14:45 +0000 (14:14 -0800)]
cli test: add pg deep-scrub option to test

Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
12 years agoAdd "pg deep-scrub..." missing from ceph usage output
David Zafman [Mon, 4 Feb 2013 19:45:49 +0000 (11:45 -0800)]
Add "pg deep-scrub..." missing from ceph usage output

Signed-off-by: David Zafman <david.zafman@inktank.com>
Reviewed-by: Samuel Just <sam.just@inktank.com>
12 years agorgw: fix setting of NULL to string
Yehuda Sadeh [Fri, 1 Feb 2013 18:56:11 +0000 (10:56 -0800)]
rgw: fix setting of NULL to string

Fixes: #3777
s->env->get() returns char * and not string and can return NULL.
Also, remove some old unused code.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
12 years agoxattr_bench.cc: remove twice included <time.h>
Danny Al-Gaaf [Mon, 4 Feb 2013 16:54:09 +0000 (17:54 +0100)]
xattr_bench.cc: remove twice included <time.h>

Cleanup includes, remove twice included <time.h>.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agoceph-filestore-dump.cc: remove twice included <iostream>
Danny Al-Gaaf [Mon, 4 Feb 2013 16:54:08 +0000 (17:54 +0100)]
ceph-filestore-dump.cc: remove twice included <iostream>

Cleanup includes, remove twice included <iostream>.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agotestmsgr.cc: remove twice included <sys/stat.h>
Danny Al-Gaaf [Mon, 4 Feb 2013 16:54:07 +0000 (17:54 +0100)]
testmsgr.cc: remove twice included <sys/stat.h>

Cleanup includes, remove twice included <sys/stat.h>.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agoperf_counters.cc: remove twice included header files
Danny Al-Gaaf [Mon, 4 Feb 2013 16:54:06 +0000 (17:54 +0100)]
perf_counters.cc: remove twice included header files

Cleanup includes, remove twice included "global/global_init.h" and
"common/ceph_context.h".

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agotestxattr.cc: remove twice included <iostream>
Danny Al-Gaaf [Mon, 4 Feb 2013 16:54:05 +0000 (17:54 +0100)]
testxattr.cc: remove twice included <iostream>

Cleanup includes, remove twice included <iostream>.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agoworkload_generator.cc: remove twice included "common/debug.h"
Danny Al-Gaaf [Mon, 4 Feb 2013 16:54:04 +0000 (17:54 +0100)]
workload_generator.cc: remove twice included "common/debug.h"

Cleanup includes, remove twice included "common/debug.h"

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agotest_idempotent.cc: remove twice included "os/FileStore.h"
Danny Al-Gaaf [Mon, 4 Feb 2013 16:54:03 +0000 (17:54 +0100)]
test_idempotent.cc: remove twice included "os/FileStore.h"

Cleanup includes, remove twice included "os/FileStore.h".

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agotp_bench.cc: remove twice included <iostream>
Danny Al-Gaaf [Mon, 4 Feb 2013 16:54:02 +0000 (17:54 +0100)]
tp_bench.cc: remove twice included <iostream>

Cleanup includes, remove twice included <iostream>.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agosmall_io_bench*.cc: remove twice included <iostream>
Danny Al-Gaaf [Mon, 4 Feb 2013 16:54:01 +0000 (17:54 +0100)]
small_io_bench*.cc: remove twice included <iostream>

Cleanup includes, remove twice included <iostream>.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agoMDS.cc: remove twice included common/errno.h
Danny Al-Gaaf [Mon, 4 Feb 2013 16:54:00 +0000 (17:54 +0100)]
MDS.cc: remove twice included common/errno.h

Cleanup includes, remove twice included common/errno.h.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agomon: enforce reweight be between 0..1
Sage Weil [Mon, 4 Feb 2013 17:14:39 +0000 (09:14 -0800)]
mon: enforce reweight be between 0..1

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Joao Luis <joao.luis@inktank.com>
12 years agoqa: smalliobenchrbd workunit
Sage Weil [Sun, 3 Feb 2013 17:28:22 +0000 (09:28 -0800)]
qa: smalliobenchrbd workunit

Run a bunch of parallel smalliobenchrbd processes.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoMerge remote-tracking branch 'gh/wip-rbd-bench'
Sage Weil [Sun, 3 Feb 2013 16:59:48 +0000 (08:59 -0800)]
Merge remote-tracking branch 'gh/wip-rbd-bench'

Conflicts:
ceph.spec.in
debian/ceph-test.install
src/.gitignore

12 years agoMerge branch 'wip-rpm-update3'
Gary Lowell [Sat, 2 Feb 2013 07:26:21 +0000 (23:26 -0800)]
Merge branch 'wip-rpm-update3'

Patches to ceph.spec.in and addition of rbd-fuse package.

12 years agoMerge branch 'master' of https://github.com/ceph/ceph
John Wilkins [Fri, 1 Feb 2013 19:31:10 +0000 (11:31 -0800)]
Merge branch 'master' of https://github.com/ceph/ceph

12 years agodoc: Minor edits.
John Wilkins [Fri, 1 Feb 2013 19:30:30 +0000 (11:30 -0800)]
doc: Minor edits.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
12 years agorgw: key indexes are only link to user info
Yehuda Sadeh [Thu, 13 Dec 2012 23:52:34 +0000 (15:52 -0800)]
rgw: key indexes are only link to user info

Instead of keeping multiple copies of the user info,
we just treat the key index as a pointer to the actual
user info (indexed by uid). This helps with two issues:
first, it scales better as we don't need to update the
entire set of keys whenever we make any change. Second,
it helps with the uid index atomicity.
One point to keep in mind is that both the links and the
info can be cached, so effect on performance is minimal.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Reviewed-by: caleb miles <caleb.miles@inktank.com>
12 years agoBuild: Add -n to files and description for rbd-fuse in ceph.sepc.in
Gary Lowell [Fri, 1 Feb 2013 05:51:44 +0000 (21:51 -0800)]
Build:  Add -n to files and description for rbd-fuse in ceph.sepc.in

Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
12 years agoMakefile: Install new rdb-fuse.8 man page
Gary Lowell [Fri, 1 Feb 2013 05:04:49 +0000 (21:04 -0800)]
Makefile:  Install new rdb-fuse.8 man page

Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
12 years agobuild: Add new rbd-fuse package
Gary Lowell [Fri, 1 Feb 2013 04:35:26 +0000 (20:35 -0800)]
build:  Add new rbd-fuse package

rdb-fuse is a new facility to map ceph rdb images to files.

Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
12 years agoRevert "Don't install rbd-fuse binary"
Danny Al-Gaaf [Wed, 30 Jan 2013 18:00:40 +0000 (19:00 +0100)]
Revert "Don't install rbd-fuse binary"

This reverts commit 35e5d74e5c5786bc91df5dc10b5c08c77305df4e.

-> fix build instead

12 years agorbd-fuse: quick and dirty manpage
Dan Mick [Fri, 1 Feb 2013 02:43:29 +0000 (18:43 -0800)]
rbd-fuse: quick and dirty manpage

Signed-off-by: Dan Mick <dan.mick@inktank.com>
12 years agorbd-fuse: quick and dirty manpage
Dan Mick [Fri, 1 Feb 2013 02:43:29 +0000 (18:43 -0800)]
rbd-fuse: quick and dirty manpage

Signed-off-by: Dan Mick <dan.mick@inktank.com>
12 years agoceph-filestore-dump.cc: don't use po::value<string>()->required()
Danny Al-Gaaf [Thu, 31 Jan 2013 14:41:19 +0000 (15:41 +0100)]
ceph-filestore-dump.cc: don't use po::value<string>()->required()

Don't use po::value<string>()->required() since this breaks build on
RHEL/CentOs6. Check if the options are set as in the code of other
ceph parts.

Move some checks up in the code to validate options as soon
as possible. Remove printing 'help' twice, and check it first.

Fix type description.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Signed-off-by: David Zafman <david.zafman@inktank.com>
12 years agodoc: Added more detail to SSD section. Links to performance blogs.
John Wilkins [Fri, 1 Feb 2013 00:34:02 +0000 (16:34 -0800)]
doc: Added more detail to SSD section. Links to performance blogs.

fixes: #3960

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
12 years agoMerge pull request #37 from alram/master
Yehuda Sadeh [Fri, 1 Feb 2013 00:19:28 +0000 (16:19 -0800)]
Merge pull request #37 from alram/master

Add important note in doc/radosgw/config.rst

12 years agoAdd important note in doc/radosgw/config.rst 37/head
Alexandre Marangone [Thu, 31 Jan 2013 23:58:15 +0000 (15:58 -0800)]
Add important note in doc/radosgw/config.rst

For CentOS and similar, FastCgiWrapper is turned on by default.
This causes Apache to spawn radosgw processes.

12 years agoceph-filestore-dump.cc: don't use po::value<string>()->required()
Danny Al-Gaaf [Thu, 31 Jan 2013 14:41:19 +0000 (15:41 +0100)]
ceph-filestore-dump.cc: don't use po::value<string>()->required()

Don't use po::value<string>()->required() since this breaks build on
RHEL/CentOs6. Check if the options are set as in the code of other
ceph parts.

Move some checks up in the code to validate options as soon
as possible. Remove printing 'help' twice, and check it first.

Fix type description.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Signed-off-by: David Zafman <david.zafman@inktank.com>
12 years agoceph.spec.in: fix file section for ceph-resource-agents
Danny Al-Gaaf [Wed, 30 Jan 2013 18:00:45 +0000 (19:00 +0100)]
ceph.spec.in: fix file section for ceph-resource-agents

Create needed dirs (/usr/lib/ocf/resource.d/ceph) for the ceph-resource-agents
subpackage.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agoceph.spec.in: extend fix for libedit-devel on special SUSE versions
Danny Al-Gaaf [Wed, 30 Jan 2013 18:00:44 +0000 (19:00 +0100)]
ceph.spec.in: extend fix for libedit-devel on special SUSE versions

Extend fix for libedit-devel on special SUSE versions, use ncurses
also on src/ocf/Makefile and src/java/Makefile

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agoceph.spec.in: don't move libcephfs_jni files around
Danny Al-Gaaf [Wed, 30 Jan 2013 18:00:43 +0000 (19:00 +0100)]
ceph.spec.in: don't move libcephfs_jni files around

Don't move libcephfs_jni files around from %{_libdir} to /usr/lib/jni/
in the buildroot. They should be placed in %{_libdir} as all libs.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>