]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
11 years agoRadosModel: RollBack dirties the object
Samuel Just [Wed, 15 Jan 2014 19:17:57 +0000 (11:17 -0800)]
RadosModel: RollBack dirties the object

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoRadosModel: undirty with update_object_undirty
Samuel Just [Tue, 14 Jan 2014 21:43:22 +0000 (13:43 -0800)]
RadosModel: undirty with update_object_undirty

Otherwise it doesn't behave properly with snapshots since
update_object_version doesn't add another snapshot entry.

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoReplicatedPG::trim_object: remove unused int r; declaration
Samuel Just [Tue, 14 Jan 2014 03:28:35 +0000 (19:28 -0800)]
ReplicatedPG::trim_object: remove unused int r; declaration

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agocommon/hobject: print shard as unsigned, not as char
Samuel Just [Sun, 8 Dec 2013 06:18:24 +0000 (22:18 -0800)]
common/hobject: print shard as unsigned, not as char

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoReplicatedPG::_process_copy_chunk: use append
Samuel Just [Fri, 13 Dec 2013 21:14:52 +0000 (13:14 -0800)]
ReplicatedPG::_process_copy_chunk: use append

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoReplicatedPG: fill in mod_desc for hitset repops
Samuel Just [Mon, 13 Jan 2014 00:26:51 +0000 (16:26 -0800)]
ReplicatedPG: fill in mod_desc for hitset repops

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoReplicatedPG: use append for write and writefull
Samuel Just [Wed, 15 Jan 2014 17:21:57 +0000 (09:21 -0800)]
ReplicatedPG: use append for write and writefull

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoReplicatedPG: fill in mod_desc in finish_copyfrom
Samuel Just [Wed, 15 Jan 2014 17:21:30 +0000 (09:21 -0800)]
ReplicatedPG: fill in mod_desc in finish_copyfrom

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoReplicatedPG::finish_copyfrom: check new_obs.exists, not obs.exists
Samuel Just [Sat, 7 Dec 2013 23:10:26 +0000 (15:10 -0800)]
ReplicatedPG::finish_copyfrom: check new_obs.exists, not obs.exists

If the transaction previously created the object, the stat update
will have already happened.

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoReplicatedPG: handle removing the old object in finish_copy_op
Samuel Just [Sat, 7 Dec 2013 22:52:49 +0000 (14:52 -0800)]
ReplicatedPG: handle removing the old object in finish_copy_op

do_osd_ops will need to either copy the old version out of the
way or simply delete it depending on mod_desc.  Thus, defer
handling filling that part in until we finish the copy op.

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoReplicatedPG: EOPNOTSUPP on ec_pool if there are omaps in the COPY_GET
Samuel Just [Sat, 7 Dec 2013 22:43:22 +0000 (14:43 -0800)]
ReplicatedPG: EOPNOTSUPP on ec_pool if there are omaps in the COPY_GET

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoReplicatedPG: make COPY_GET async read friendly
Samuel Just [Sat, 7 Dec 2013 21:09:52 +0000 (13:09 -0800)]
ReplicatedPG: make COPY_GET async read friendly

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoReplicatedPG: requeue in_progress_async_reads on_change
Samuel Just [Thu, 2 Jan 2014 15:34:16 +0000 (07:34 -0800)]
ReplicatedPG: requeue in_progress_async_reads on_change

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoReplicatedPG: support async reads on ec pools
Samuel Just [Fri, 6 Dec 2013 21:54:04 +0000 (13:54 -0800)]
ReplicatedPG: support async reads on ec pools

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agosrc/: add CEPH_OSD_OP_READ_SYNC
Samuel Just [Fri, 6 Dec 2013 21:51:24 +0000 (13:51 -0800)]
src/: add CEPH_OSD_OP_READ_SYNC

EC pools won't support SYNC reads.  This means that TMAP and friends
along with reads from an object class will not be supported.

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoReplicatedPG: use pgbackend->objects_read_sync() as appropriate
Samuel Just [Fri, 6 Dec 2013 19:50:29 +0000 (11:50 -0800)]
ReplicatedPG: use pgbackend->objects_read_sync() as appropriate

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoosd/: add sync/async read methods to PGBackend
Samuel Just [Fri, 6 Dec 2013 19:44:02 +0000 (11:44 -0800)]
osd/: add sync/async read methods to PGBackend

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoObjectStore: _collection_move_rename needs to increment ops
Samuel Just [Fri, 6 Dec 2013 01:08:28 +0000 (17:08 -0800)]
ObjectStore: _collection_move_rename needs to increment ops

Bugfix.

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoPGLog,PG: reset can_rollback_to when we get a log entry without a transaction
Samuel Just [Thu, 9 Jan 2014 03:22:21 +0000 (19:22 -0800)]
PGLog,PG: reset can_rollback_to when we get a log entry without a transaction

We cannot rollback past an entry which we didn't actually
apply locally.

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoPGLog: we cannot rollback past a recovered object entry
Samuel Just [Tue, 10 Dec 2013 18:50:59 +0000 (10:50 -0800)]
PGLog: we cannot rollback past a recovered object entry

We don't recover the older versions, so we can't do a rollback.
In general, this is ok since we had enough copies to recover it
in the first place.

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoPGLog: create interface allowing interface user to cleanup/rollback
Samuel Just [Mon, 9 Dec 2013 03:36:51 +0000 (19:36 -0800)]
PGLog: create interface allowing interface user to cleanup/rollback

We need to be able to allow the PGLog interface user to provide
logic for rolling back and trimming log entries.  To that end,
serveral PGLog methods now take a LogEntryHander.

In PGLog::merge_old_entry, if prior_version > info.log_tail and
the object is not missing, we must have rolled back the prior
log entry.  Thus, we don't skip the entry.

To simplify the code, _merge_old_entry has been split out as
a const helper.  This way, proc_replica_log can be reexpressed
as merging the divergent replica log entries with the fully
merged authoritative log.

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoReplicatedPG: Fill in rollback info for log events
Samuel Just [Wed, 4 Dec 2013 00:14:55 +0000 (16:14 -0800)]
ReplicatedPG: Fill in rollback info for log events

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoosd/: introduce xattr caching for ec pools
Samuel Just [Mon, 25 Nov 2013 23:33:57 +0000 (15:33 -0800)]
osd/: introduce xattr caching for ec pools

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoPGBackend,ReplicatedBackend: add support for rolling back log entries
Samuel Just [Wed, 4 Dec 2013 00:25:07 +0000 (16:25 -0800)]
PGBackend,ReplicatedBackend: add support for rolling back log entries

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoosd_types: add a can_rollback_to line to pg_log_t
Samuel Just [Wed, 4 Dec 2013 00:24:40 +0000 (16:24 -0800)]
osd_types: add a can_rollback_to line to pg_log_t

This allows us to determine how far back the log can be rolled.

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoosd_types: add ObjectModDesc into pg_log_entry_t
Samuel Just [Wed, 4 Dec 2013 00:23:50 +0000 (16:23 -0800)]
osd_types: add ObjectModDesc into pg_log_entry_t

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoosd_types: ObjectModDesc
Samuel Just [Wed, 4 Dec 2013 00:22:53 +0000 (16:22 -0800)]
osd_types: ObjectModDesc

Contains information needed to roll back a pg_log_entry_t.

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoosd/: move client op handling into ReplicatedBackend
Samuel Just [Thu, 21 Nov 2013 00:17:36 +0000 (16:17 -0800)]
osd/: move client op handling into ReplicatedBackend

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoPGBackend: allow queue_transaction to specify an op
Samuel Just [Fri, 15 Nov 2013 22:34:55 +0000 (14:34 -0800)]
PGBackend: allow queue_transaction to specify an op

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoReplicatedPG: factor out should_send_op
Samuel Just [Mon, 14 Oct 2013 17:50:03 +0000 (10:50 -0700)]
ReplicatedPG: factor out should_send_op

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoReplicatedPG: split out op_applied_replica
Samuel Just [Sat, 12 Oct 2013 01:00:53 +0000 (18:00 -0700)]
ReplicatedPG: split out op_applied_replica

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoPG/ReplicatedPG: move snap map management into append_log
Samuel Just [Fri, 11 Oct 2013 00:12:48 +0000 (17:12 -0700)]
PG/ReplicatedPG: move snap map management into append_log

Both the replica and the primary should use the same append_log
mechanism to update the snap map.

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoReplicatedBackend: implement RPGTransaction
Samuel Just [Thu, 10 Oct 2013 23:12:10 +0000 (16:12 -0700)]
ReplicatedBackend: implement RPGTransaction

RPGTransaction is essentially a wrapped ObjectStore::Transaction.
The coll_t argument is elided, tempness is instead encoded in the
hobject.  RPGTransaction tracks which temp objects are created and
cleared so we can update the ReplicatedBackend tracking and possibly
create the temp collection as needed.

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agohobject_t/ReplicatedPG: tempness is now an hobject thing
Samuel Just [Thu, 10 Oct 2013 23:10:36 +0000 (16:10 -0700)]
hobject_t/ReplicatedPG: tempness is now an hobject thing

PGBackend implmentations will have complete control over the temp
collection.  Rather than specifying the collection when sending
ops into the PGBackend, hobjects themselves will be temp or not.

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoPGBackend: add PGTransaction
Samuel Just [Thu, 10 Oct 2013 23:08:53 +0000 (16:08 -0700)]
PGBackend: add PGTransaction

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoReplicatedBackend: update the collection_list mechanisms to skip stashed objects
Samuel Just [Wed, 4 Dec 2013 20:09:22 +0000 (12:09 -0800)]
ReplicatedBackend: update the collection_list mechanisms to skip stashed objects

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agotest/osd/: verify length of buffer returned in read
Samuel Just [Sun, 8 Dec 2013 03:46:54 +0000 (19:46 -0800)]
test/osd/: verify length of buffer returned in read

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agotest/osd/TestRados.cc: skip 0 weight ops
Samuel Just [Fri, 6 Dec 2013 19:02:04 +0000 (11:02 -0800)]
test/osd/TestRados.cc: skip 0 weight ops

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agotest/osd: add append support to WriteOp
Samuel Just [Thu, 5 Dec 2013 02:23:17 +0000 (18:23 -0800)]
test/osd: add append support to WriteOp

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agotest/osd: adapt RadosModel to not do omap ops on ec_pools
Samuel Just [Thu, 5 Dec 2013 02:42:49 +0000 (18:42 -0800)]
test/osd: adapt RadosModel to not do omap ops on ec_pools

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agotest/osd: restructure Object/RadosModel in prep for append
Samuel Just [Thu, 5 Dec 2013 00:06:17 +0000 (16:06 -0800)]
test/osd: restructure Object/RadosModel in prep for append

Attribute handling no longer has special support in ContentsGenerator.
The most recent operation information is now stored in a special
attr rather than at the beginning of the object.  ObjectDesc layers
include their own ContentsGenerators to allow more flexibility.

Also, writes truncate to the new object size rather than simply
causing reads to stop at that object size.

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agotest/osd/Object: create encoders for ContDesc
Samuel Just [Wed, 4 Dec 2013 22:34:13 +0000 (14:34 -0800)]
test/osd/Object: create encoders for ContDesc

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agosrc/test/osd: remove tmap test
Samuel Just [Wed, 4 Dec 2013 22:37:54 +0000 (14:37 -0800)]
src/test/osd: remove tmap test

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoPGLog: allow for empty pg log in update_range if log_tail == eversion_t()
Samuel Just [Mon, 9 Dec 2013 17:09:45 +0000 (09:09 -0800)]
PGLog: allow for empty pg log in update_range if log_tail == eversion_t()

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agocommon: add option to disable filestore sharded object check
Samuel Just [Thu, 5 Dec 2013 21:57:44 +0000 (13:57 -0800)]
common: add option to disable filestore sharded object check

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoFileStore::lfn_link: handle link within a collection
Samuel Just [Thu, 5 Dec 2013 22:55:18 +0000 (14:55 -0800)]
FileStore::lfn_link: handle link within a collection

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoPG: prefer older last_update for ec_pool
Samuel Just [Sat, 7 Dec 2013 04:51:28 +0000 (20:51 -0800)]
PG: prefer older last_update for ec_pool

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoOSDMonitor: add debug_fake_ec_pool
Samuel Just [Fri, 22 Nov 2013 19:20:23 +0000 (11:20 -0800)]
OSDMonitor: add debug_fake_ec_pool

This flag will cause ReplicatedPG to act as though the
pool were actually an EC pool in that operations will
be restricted to operations which can be locally rolled
back thereby allowing us to test the ReplicatedPG local
log rollback mechanisms independent of EC.  It will also
cause ReplicatedPG to use the async read mechanism on
the PGBackend implementation once it is implemented.

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoPGLog::rewind_divergent_log: we can rewind to tail, fix assert
Samuel Just [Fri, 13 Dec 2013 20:43:00 +0000 (12:43 -0800)]
PGLog::rewind_divergent_log: we can rewind to tail, fix assert

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoPGLog: don't move up log.tail
Samuel Just [Sat, 7 Dec 2013 21:19:49 +0000 (13:19 -0800)]
PGLog: don't move up log.tail

Moving up log.tail unnecessarily risks backfilling
a replica after a split.  Also, it disrupts the
property that replicas from the most recent interval
which performed writes must have overlapping logs.

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoReplicatedBackend: remove pushing entry for each object as it completes
Samuel Just [Thu, 2 Jan 2014 15:20:18 +0000 (07:20 -0800)]
ReplicatedBackend: remove pushing entry for each object as it completes

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoFileStore::_collection_move_rename: remove source before closing guard
Samuel Just [Sun, 8 Dec 2013 22:44:48 +0000 (14:44 -0800)]
FileStore::_collection_move_rename: remove source before closing guard

Fixes a bug in _collection_move_rename replays.

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoReplicatedBackend.h: don't need to be active for pushes
Samuel Just [Tue, 15 Oct 2013 00:54:17 +0000 (17:54 -0700)]
ReplicatedBackend.h: don't need to be active for pushes

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoObjectStore: improve name of the queue_transaction which cleans up the transaction
Samuel Just [Tue, 15 Oct 2013 02:13:19 +0000 (19:13 -0700)]
ObjectStore: improve name of the queue_transaction which cleans up the transaction

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agohobject: admit that gen_t is actually version_t
Samuel Just [Fri, 22 Nov 2013 00:33:23 +0000 (16:33 -0800)]
hobject: admit that gen_t is actually version_t

Signed-off-by: Samuel Just <sam.just@inktank.com>
11 years agoMerge pull request #1079 from ceph/wip-tier-bits
Gregory Farnum [Wed, 22 Jan 2014 21:44:46 +0000 (13:44 -0800)]
Merge pull request #1079 from ceph/wip-tier-bits

osd: a few tiering fixes

Reviewed-by: Greg Farnum <greg@inktank.com>
11 years agoMerge pull request #1126 from ceph/wip-osdmapenc-fix
Sage Weil [Wed, 22 Jan 2014 16:20:08 +0000 (08:20 -0800)]
Merge pull request #1126 from ceph/wip-osdmapenc-fix

MOSDMap: reencode maps if target doesn't have OSDMAP_ENC

Reviewed-by: Sage Weil <sage@inktank.com>
11 years agoMOSDMap: reencode maps if target doesn't have OSDMAP_ENC 1126/head
Ilya Dryomov [Wed, 22 Jan 2014 15:33:39 +0000 (17:33 +0200)]
MOSDMap: reencode maps if target doesn't have OSDMAP_ENC

Reencode both full and incremental maps if target doesn't know how to
decode OSDMAP_ENC maps (CEPH_FEATURE_OSDMAP_ENC bit is not set).  This
fixes a compatibility bug that was introduced in 3d7c69fb0986 ("OSDMap:
add a CEPH_FEATURE_OSDMAP_ENC feature, and use new encoding").

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
11 years agoremoving rgw_tests.sh
tamil [Wed, 22 Jan 2014 02:44:57 +0000 (18:44 -0800)]
removing rgw_tests.sh

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
11 years agoMerge branch 'master' of github.com:ceph/ceph
tamil [Wed, 22 Jan 2014 01:50:22 +0000 (17:50 -0800)]
Merge branch 'master' of github.com:ceph/ceph

11 years agomodified the port to 7280 in the script instead of the default 80
tamil [Wed, 22 Jan 2014 01:50:00 +0000 (17:50 -0800)]
modified the port to 7280 in the script instead of the default 80

Signed-off-by: tamil <tamil@tamil-VirtualBox.(none)>
11 years agoMerge pull request #1124 from ceph/wip-cache-mode-fix
Sage Weil [Wed, 22 Jan 2014 01:30:34 +0000 (17:30 -0800)]
Merge pull request #1124 from ceph/wip-cache-mode-fix

mon/MonCommands: 'invalidate+forward' -> 'forward'

Reviewed-by: Sage Weil <sage@inktank.com>
11 years agoscript for rgw bucket quota testing
tamil [Tue, 21 Jan 2014 23:56:37 +0000 (15:56 -0800)]
script for rgw bucket quota testing

Signed-off-by: tamil <tamil@tamil-VirtualBox.(none)>
11 years agomon/MonCommands: 'invalidate+forward' -> 'forward' 1124/head
Ilya Dryomov [Tue, 21 Jan 2014 22:27:09 +0000 (00:27 +0200)]
mon/MonCommands: 'invalidate+forward' -> 'forward'

Commit 4e439857a694 introduced invalidate+forward cache mode, commit
81279e3bb6e0 renamed it to forward, but missed the CLI.  Fix it.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
11 years agodoc: Fixed end string from '' to `` to stop warnings. Enforced 80 char line.
John Wilkins [Tue, 21 Jan 2014 19:51:15 +0000 (11:51 -0800)]
doc: Fixed end string from '' to `` to stop warnings. Enforced 80 char line.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
11 years agoMerge pull request #1120 from xylv/wip-op-process-latency-squashed
Sage Weil [Tue, 21 Jan 2014 05:34:09 +0000 (21:34 -0800)]
Merge pull request #1120 from xylv/wip-op-process-latency-squashed

osd: Add op_process_latency in perf counter

Reviewed-by: Sage Weil <sage@inktank.com>
11 years agoosd: Add op_process_latency in perf counter 1120/head
Ray Lv [Tue, 21 Jan 2014 03:05:26 +0000 (11:05 +0800)]
osd: Add op_process_latency in perf counter

Fixes: #7167
Signed-off-by: Ray Lv <xiangyulv@gmail.com>
11 years agoMerge pull request #1117 from jcsp/wip-7187
Sage Weil [Mon, 20 Jan 2014 20:07:09 +0000 (12:07 -0800)]
Merge pull request #1117 from jcsp/wip-7187

Fix #7187: Include all summary items in JSON health output

Backport: emperor, dumpling
Reviewed-by: Sage Weil <sage@inktank.com>
11 years agoFix #7187: Include all summary items in JSON health output 1117/head
John Spray [Mon, 20 Jan 2014 11:08:27 +0000 (11:08 +0000)]
Fix #7187: Include all summary items in JSON health output

Signed-off-by: John Spray <john.spray@inktank.com>
11 years agoMerge pull request #1112 from kazhang/wip-7180
Sage Weil [Sun, 19 Jan 2014 20:00:07 +0000 (12:00 -0800)]
Merge pull request #1112 from kazhang/wip-7180

Fix #7180 in ceph_rest_api

Reviewed-by: Sage Weil <sage@inktank.com>
11 years agoMissing a key for perm 'w' in permmap (src/pybin/ceph_rest_api.py:277) 1112/head
Kai Zhang [Sat, 18 Jan 2014 20:17:10 +0000 (12:17 -0800)]
Missing a key for perm 'w' in permmap (src/pybin/ceph_rest_api.py:277)
It leads to a 500 error when getting mds help info via rest api.
Changed "w" to "rw" in MonCommands.h

Fixes: #7180
Signed-off-by: Kai Zhang <kazhang2@cisco.com>
11 years agoMerge pull request #1111 from ceph/wip-osdmap-7177
Sage Weil [Sun, 19 Jan 2014 05:06:09 +0000 (21:06 -0800)]
Merge pull request #1111 from ceph/wip-osdmap-7177

OSDMap: Populate primary_temp values a little more carefully

Reviewed-by: Sage Weil <sage@inktank.com>
11 years agoOSDMap: Populate primary_temp values a little more carefully 1111/head
Greg Farnum [Sat, 18 Jan 2014 01:23:33 +0000 (17:23 -0800)]
OSDMap: Populate primary_temp values a little more carefully

In _get_temp_osds(), we populate temp_pg from the list in the OSDMap,
but we also skip anybody in the list who's down. We need to account
for those skips when setting the primary. It's easy enough to do -- just
look at the output pg_temp list instead of the OSDMap's starting one.

Fixes: #7177
Signed-off-by: Greg Farnum <greg@inktank.com>
11 years agofixed the syntax for test maxmds=2
tamil [Fri, 17 Jan 2014 23:56:36 +0000 (15:56 -0800)]
fixed the syntax for test maxmds=2

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
11 years agofix for the test maxmds=2
tamil [Fri, 17 Jan 2014 23:41:48 +0000 (15:41 -0800)]
fix for the test maxmds=2

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
11 years agodoc: Fixed ruleset typo.
John Wilkins [Fri, 17 Jan 2014 21:33:48 +0000 (13:33 -0800)]
doc: Fixed ruleset typo.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
11 years agoMerge pull request #1106 from ceph/wip-rgw-contention
Yehuda Sadeh [Fri, 17 Jan 2014 21:17:48 +0000 (13:17 -0800)]
Merge pull request #1106 from ceph/wip-rgw-contention

Wip rgw contention

Reviewed-by: Sage Weil <sage@inktank.com>
11 years agolibrados: use rwlock for lookup pool, cache results 1106/head
Yehuda Sadeh [Thu, 5 Dec 2013 07:55:59 +0000 (23:55 -0800)]
librados: use rwlock for lookup pool, cache results

Use rwlock to read cahed results, only use regular lock if
results are not cached.
Invalidate cache on new osdmap.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
11 years agorgw: add .h file to Makefile rule
Yehuda Sadeh [Fri, 17 Jan 2014 20:34:29 +0000 (12:34 -0800)]
rgw: add .h file to Makefile rule

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
11 years agoMerge pull request #1082 from dachary/wip-ceph-disk
Sage Weil [Fri, 17 Jan 2014 19:59:00 +0000 (11:59 -0800)]
Merge pull request #1082 from dachary/wip-ceph-disk

ceph-disk: larger timeout in the test script

Reviewed-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #1088 from christian-marie/wip-c-atomic-writes
Sage Weil [Fri, 17 Jan 2014 19:47:26 +0000 (11:47 -0800)]
Merge pull request #1088 from christian-marie/wip-c-atomic-writes

librados: Add C API coverage for atomic write operations

Reviewed-by: Sage Weil <sage@inktank.com>
11 years agodoc: Added default-placement to list of placement targets. Added SSL commentary.
John Wilkins [Fri, 17 Jan 2014 19:23:40 +0000 (11:23 -0800)]
doc: Added default-placement to list of placement targets. Added SSL commentary.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
11 years agodoc: Added additional comment about port number.
John Wilkins [Fri, 17 Jan 2014 19:22:39 +0000 (11:22 -0800)]
doc: Added additional comment about port number.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
11 years agoMerge pull request #1092 from ceph/wip-rgw-loadgen
Yehuda Sadeh [Fri, 17 Jan 2014 18:24:18 +0000 (10:24 -0800)]
Merge pull request #1092 from ceph/wip-rgw-loadgen

Wip rgw loadgen

Reviewed-by: Sage Weil <sage@inktank.com>
11 years agorgw: loadgen, configurable num of objs, buckets 1092/head
Yehuda Sadeh [Fri, 20 Dec 2013 20:58:15 +0000 (12:58 -0800)]
rgw: loadgen, configurable num of objs, buckets

also fix request draining

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
11 years agorgw: loadgen shutdown, error out on failures
Yehuda Sadeh [Thu, 19 Dec 2013 22:49:18 +0000 (14:49 -0800)]
rgw: loadgen shutdown, error out on failures

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
11 years agorgw: sign loadgen requests
Yehuda Sadeh [Thu, 19 Dec 2013 01:03:21 +0000 (17:03 -0800)]
rgw: sign loadgen requests

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
11 years agorgw: loadgen frontend read uid, init access key
Yehuda Sadeh [Tue, 17 Dec 2013 01:05:18 +0000 (17:05 -0800)]
rgw: loadgen frontend read uid, init access key

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
11 years agorgw: add a load generation frontend
Yehuda Sadeh [Mon, 16 Dec 2013 23:30:57 +0000 (15:30 -0800)]
rgw: add a load generation frontend

Still missing some pieces, but already generates requests.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
11 years agoMerge pull request #1107 from xylv/wip-osd-crash-with-leveldb-cache-set
Sage Weil [Fri, 17 Jan 2014 17:58:42 +0000 (09:58 -0800)]
Merge pull request #1107 from xylv/wip-osd-crash-with-leveldb-cache-set

osd: OSD failed to start with osd_leveldb_cache_size > 0

Reviewed-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #1109 from ceph/wip-rbd-mount_timeout
Sage Weil [Fri, 17 Jan 2014 17:36:17 +0000 (09:36 -0800)]
Merge pull request #1109 from ceph/wip-rbd-mount_timeout

rbd: expose mount_timeout map option

Reviewed-by: Sage Weil <sage@inktank.com>
11 years agoFixes: #7172 1107/head
Ray Lv [Fri, 17 Jan 2014 12:42:54 +0000 (20:42 +0800)]
Fixes: #7172
To ensure LevelDBStore::db is destroyed before dependent LevelDBStore::db_cache and LevelDBStore::filterpolicy.

Signed-off-by: Signed-off-by: Ray Lv <xiangyulv@gmail.com>
11 years agorbd: expose mount_timeout map option 1109/head
Ilya Dryomov [Fri, 17 Jan 2014 09:49:40 +0000 (11:49 +0200)]
rbd: expose mount_timeout map option

Expose mount_timeout map option.  (I missed it in commit 9b7364d2450c,
which added -o / --options option and among other options exposed
osdkeepalive and osd_idle_ttl timeouts.)

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
11 years agoPendingReleaseNotes: note ceph -s fix
Sage Weil [Fri, 17 Jan 2014 06:44:26 +0000 (22:44 -0800)]
PendingReleaseNotes: note ceph -s fix

See 790dda9c0b75fa5a59ce6187b6131dad54d6d3fe.

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #1104 from concubidated/master
Sage Weil [Fri, 17 Jan 2014 06:42:39 +0000 (22:42 -0800)]
Merge pull request #1104 from concubidated/master

osd: OSDMap: fix output from ceph status --format=json for num_in_osds

Reviewed-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #1097 from ceph/fix-configure-rerunning
Sage Weil [Fri, 17 Jan 2014 06:33:50 +0000 (22:33 -0800)]
Merge pull request #1097 from ceph/fix-configure-rerunning

avoid re-running configure after initial 'make' invocation

This appears to pass the gitbuilders (and the multiple runs of configure have been irritating me for ages). Yay!

Reviewed-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #1103 from ceph/wip-7073
Josh Durgin [Fri, 17 Jan 2014 04:35:33 +0000 (20:35 -0800)]
Merge pull request #1103 from ceph/wip-7073

rgw: use configurable prime number for gc hash

Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
11 years agodoc: Removed Calxeda example.
John Wilkins [Fri, 17 Jan 2014 01:00:38 +0000 (17:00 -0800)]
doc: Removed Calxeda example.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
11 years agodoc: Removed saucy salamander reference.
John Wilkins [Fri, 17 Jan 2014 00:57:16 +0000 (16:57 -0800)]
doc: Removed saucy salamander reference.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
11 years agodoc: Added host resolution commentary.
John Wilkins [Fri, 17 Jan 2014 00:54:25 +0000 (16:54 -0800)]
doc: Added host resolution commentary.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>