]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
12 years agoMerge pull request #108 from ceph/wip-refuse-last-mon-remove
Sage Weil [Thu, 14 Mar 2013 18:38:21 +0000 (11:38 -0700)]
Merge pull request #108 from ceph/wip-refuse-last-mon-remove

mon: refuse "mon remove" if only one mon left

Reviewed-by: Sage Weil <sage@inktank.com>
12 years agomon: refuse "mon remove" if only one mon left 108/head
Dan Mick [Thu, 14 Mar 2013 18:02:12 +0000 (11:02 -0700)]
mon: refuse "mon remove" if only one mon left

Fixes: #4439
Signed-off-by: Dan Mick <dan.mick@inktank.com>
12 years agoosd: data loss: low space handling
David Zafman [Wed, 13 Mar 2013 03:49:25 +0000 (20:49 -0700)]
osd: data loss: low space handling

Add check whether to allow writing ops based on failsafe full percentage
Check for failsafe nearfull warning or full error message every heartbeat
Use clock to limit messages to every 30 secs (osd_op_complaint_time)

Feature: #4197

Signed-off-by: David Zafman <david.zafman@inktank.com>
Reviewed-by: Samuel Just <sam.just@inktank.com>
12 years agoSimplify may_write()
David Zafman [Tue, 12 Mar 2013 23:47:36 +0000 (16:47 -0700)]
Simplify may_write()

CEPH_MDS_OP_CREATE has CEPH_MDS_OP_WRITE bit set so already checked

Signed-off-by: David Zafman <david.zafman@inktank.com>
Reviewed-by: Samuel Just <sam.just@inktank.com>
12 years agoMerge branch 'wip_omap_snaps'
Samuel Just [Thu, 14 Mar 2013 02:59:39 +0000 (19:59 -0700)]
Merge branch 'wip_omap_snaps'

Reviewed-by: Greg Farnum <greg@inktank.com>
12 years agoOSD: remove snap_mapper entries in RemoveWQ
Samuel Just [Wed, 6 Mar 2013 22:55:28 +0000 (14:55 -0800)]
OSD: remove snap_mapper entries in RemoveWQ

This is a somewhat ugly hack for now until we implement
pg resurrection.

Signed-off-by: Samuel Just <sam.just@inktank.com>
12 years agoPG: check and repair snap_mapper entries during scrub
Samuel Just [Mon, 4 Mar 2013 20:37:46 +0000 (12:37 -0800)]
PG: check and repair snap_mapper entries during scrub

Signed-off-by: Samuel Just <sam.just@inktank.com>
12 years agoOSD,PG: add upgrade procedure for snap_mapper
Samuel Just [Mon, 4 Mar 2013 19:16:05 +0000 (11:16 -0800)]
OSD,PG: add upgrade procedure for snap_mapper

Also, sub_op_modify transactions currently carry the operations
for creating snap links in the shipped transaction.  To handle
ops shipped by unenlightened osds, transactions can now be
tagged with a tolerate_collection_add_enoent flag.

Signed-off-by: Samuel Just <sam.just@inktank.com>
12 years agoosd/: Integrate SnapMapper with OSD
Samuel Just [Tue, 5 Mar 2013 22:34:47 +0000 (14:34 -0800)]
osd/: Integrate SnapMapper with OSD

- SnapTrimmer now uses SnapMapper to get the next object to trim
- Entries for a snap are implicitely removed from SnapMapper when
the last object is trimmed, so no need for the adjust_local_snaps
logic.
- Scrub now compares the object_info snaps set on the object attr
with the version stored in the SnapMapper.

Signed-off-by: Samuel Just <sam.just@inktank.com>
12 years agoMakefile: add SnapMapper to osd
Samuel Just [Wed, 27 Feb 2013 23:17:47 +0000 (15:17 -0800)]
Makefile: add SnapMapper to osd

Signed-off-by: Samuel Just <sam.just@inktank.com>
12 years agotest/: add tests for map_cacher
Samuel Just [Wed, 27 Feb 2013 22:38:33 +0000 (14:38 -0800)]
test/: add tests for map_cacher

Signed-off-by: Samuel Just <sam.just@inktank.com>
12 years agoosd/: add SnapMapper
Samuel Just [Tue, 12 Mar 2013 23:28:19 +0000 (16:28 -0700)]
osd/: add SnapMapper

Signed-off-by: Samuel Just <sam.just@inktank.com>
12 years agocommon/: add map_cacher
Samuel Just [Wed, 27 Feb 2013 22:37:33 +0000 (14:37 -0800)]
common/: add map_cacher

Signed-off-by: Samuel Just <sam.just@inktank.com>
12 years agocommon/shared_ptr.hpp: add get_next and expose VPtr and WeakVPtr types
Samuel Just [Wed, 27 Feb 2013 21:41:23 +0000 (13:41 -0800)]
common/shared_ptr.hpp: add get_next and expose VPtr and WeakVPtr types

Signed-off-by: Samuel Just <sam.just@inktank.com>
12 years agofilestore: add debug option to verify split results
Samuel Just [Sat, 9 Mar 2013 06:14:37 +0000 (22:14 -0800)]
filestore: add debug option to verify split results

Signed-off-by: Samuel Just <sam.just@inktank.com>
12 years agoDBObjectMap, hobject: add helpers for pgid bit matching
Samuel Just [Sat, 2 Mar 2013 00:04:04 +0000 (16:04 -0800)]
DBObjectMap, hobject: add helpers for pgid bit matching

Create helpers in hobject for generating prefixes for a
pg as well as matching hobjects against a pgid/numpgs
combo.  Use these in HashIndex.cc.

Signed-off-by: Samuel Just <sam.just@inktank.com>
12 years agoObjectStore: add Context management to Transaction
Samuel Just [Sun, 3 Mar 2013 23:47:48 +0000 (15:47 -0800)]
ObjectStore: add Context management to Transaction

ObjectStore now appends passed contexts in queue_transaction
to the Transaction contexts and uses that to pass into
the virtual queue_transactions.

Signed-off-by: Samuel Just <sam.just@inktank.com>
12 years agoContext: allow C_Contexts to not have a cct, add list_to_context
Samuel Just [Thu, 28 Feb 2013 18:06:44 +0000 (10:06 -0800)]
Context: allow C_Contexts to not have a cct, add list_to_context

This will simplify the SnapMapper implementation.

Signed-off-by: Samuel Just <sam.just@inktank.com>
12 years agoObjectStore: move queue_transaction into ObjectStore
Samuel Just [Thu, 28 Feb 2013 17:56:49 +0000 (09:56 -0800)]
ObjectStore: move queue_transaction into ObjectStore

This will simplify the SnapMapper implementation.

Signed-off-by: Samuel Just <sam.just@inktank.com>
12 years agoosd_internals/snaps.rst: update description to reflect SnapMapper
Samuel Just [Fri, 1 Mar 2013 01:33:31 +0000 (17:33 -0800)]
osd_internals/snaps.rst: update description to reflect SnapMapper

Signed-off-by: Samuel Just <sam.just@inktank.com>
12 years agoosd_internals/snaps.rst: add a description of snaps and trimming
Samuel Just [Fri, 1 Mar 2013 01:16:19 +0000 (17:16 -0800)]
osd_internals/snaps.rst: add a description of snaps and trimming

Signed-off-by: Samuel Just <sam.just@inktank.com>
12 years agoPG::read_log: fix assert, split may introduce holes in the log
Samuel Just [Wed, 6 Mar 2013 01:43:39 +0000 (17:43 -0800)]
PG::read_log: fix assert, split may introduce holes in the log

Signed-off-by: Samuel Just <sam.just@inktank.com>
12 years agoOSD: add debugging to start_split and complete_split
Samuel Just [Sat, 9 Mar 2013 01:15:14 +0000 (17:15 -0800)]
OSD: add debugging to start_split and complete_split

Signed-off-by: Samuel Just <sam.just@inktank.com>
12 years agoPG: check_recovery_sources must happen even if not active
Samuel Just [Thu, 7 Mar 2013 20:53:51 +0000 (12:53 -0800)]
PG: check_recovery_sources must happen even if not active

missing_loc/missing_loc_sources also must be cleaned up
if a peer goes down during peering:

1) pg is in GetInfo, acting is [3,1]
2) we find object A on osd [0] in GetInfo
3) 0 goes down, no new peering interval since it is neither up nor
acting, but peer_missing[0] is removed.
4) pg goes active and try to pull A from 0 since missing_loc did not get
cleaned up.

Backport: bobtail
Fixes: #4371
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
12 years agoFileStore: fix reversed collection_empty return value
Samuel Just [Wed, 6 Mar 2013 00:06:20 +0000 (16:06 -0800)]
FileStore: fix reversed collection_empty return value

Backport: bobtail
Fixes: #4380
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
12 years agoHashIndex: _collection_list_partial must tolerate NULL next
Samuel Just [Tue, 5 Mar 2013 23:49:26 +0000 (15:49 -0800)]
HashIndex: _collection_list_partial must tolerate NULL next

Backport: bobtail
Fixes: #4379
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
12 years agoOSD: lock not needed in ~DeletingState()
Samuel Just [Tue, 5 Mar 2013 22:35:39 +0000 (14:35 -0800)]
OSD: lock not needed in ~DeletingState()

No further refs to the object can remain at this point.
Furthermore, the callbacks might lock mutexes of their
own.

Backport: bobtail
Fixes: #4378
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
12 years agoReplicatedPG: don't leak reservation on removal
Samuel Just [Sun, 10 Mar 2013 19:50:01 +0000 (12:50 -0700)]
ReplicatedPG: don't leak reservation on removal

Fixes: 4431
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
12 years agoMerge remote-tracking branch 'dalgaaf/wip-da-performance'
Sage Weil [Wed, 13 Mar 2013 23:46:47 +0000 (16:46 -0700)]
Merge remote-tracking branch 'dalgaaf/wip-da-performance'

Conflicts:
src/client/Client.cc

Reviewed-by: Sage Weil <sage@inktank.com>
12 years agoMerge branch 'wip-mds-con' 105/head
Sage Weil [Wed, 13 Mar 2013 23:38:38 +0000 (16:38 -0700)]
Merge branch 'wip-mds-con'

Reviewed-by: Greg Farnum <greg@inktank.com>
Tested-by: Noah Watkins <jayhawk@cs.ucsc.edu>
12 years agomds: log session resets more cleanly
Sage Weil [Wed, 13 Mar 2013 02:53:46 +0000 (19:53 -0700)]
mds: log session resets more cleanly

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agomds: use session con ref to mark down killing session
Sage Weil [Wed, 13 Mar 2013 02:44:42 +0000 (19:44 -0700)]
mds: use session con ref to mark down killing session

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agomds: mark con for closed session disposable
Sage Weil [Wed, 13 Mar 2013 02:44:20 +0000 (19:44 -0700)]
mds: mark con for closed session disposable

If there is a fault while delivering the message, close the con.  This will
clean up the Session state from memory.  If the client doesn't get the
CLOSED message, they will reconnect (from their perspective, it is still
a lossless connection) and get a remote_reset event telling them that the
session is gone.  The client code already handles this case properly.

Note that way back in 4ac45200f10e0409121948cea5226ca9e23bb5fb we removed
this because the client would reuse the same connection when it reopened
the session.  Now the client never does that; it will mark_down the con
as soon as it is closed and open a new one for a new session... which means
the MDS will get a remote_reset and close out the old session.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agomds: useless cleanup
Sage Weil [Wed, 13 Mar 2013 01:37:44 +0000 (18:37 -0700)]
mds: useless cleanup

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agomds: mark_down old sessions using con
Sage Weil [Wed, 13 Mar 2013 01:31:23 +0000 (18:31 -0700)]
mds: mark_down old sessions using con

Use the Connection ref to mark old client sessions down.  This is cleaner.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoMerge branch 'wip-4390-b'
Sage Weil [Wed, 13 Mar 2013 23:37:29 +0000 (16:37 -0700)]
Merge branch 'wip-4390-b'

Reviewed-by: Greg Farnum <greg@inktank.com>
12 years agoclient: fix kick_flushing_caps() args
Sage Weil [Wed, 13 Mar 2013 23:09:45 +0000 (16:09 -0700)]
client: fix kick_flushing_caps() args

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoclient: clean up useless MetaSession lookups
Sage Weil [Wed, 13 Mar 2013 23:08:50 +0000 (16:08 -0700)]
client: clean up useless MetaSession lookups

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoclient: fix trim_caps() args
Sage Weil [Wed, 13 Mar 2013 23:08:42 +0000 (16:08 -0700)]
client: fix trim_caps() args

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoclient: fix wake_inode_waiters() arg
Sage Weil [Wed, 13 Mar 2013 23:07:47 +0000 (16:07 -0700)]
client: fix wake_inode_waiters() arg

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoclient: validate/lookup mds session in each message handler
Sage Weil [Wed, 13 Mar 2013 23:06:02 +0000 (16:06 -0700)]
client: validate/lookup mds session in each message handler

For every message handler, look up the MetaSession by int mds and verify
that the Connection* matches properly.  If so, proceed; otherwise, discard
the message.

In the future, we probably want to link the MetaSession to the Connection's
priv field, but that can come later.

Clean up a bunch of submethods that take int mds while we're here.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoclient: fix remaining s->inst users to use s->con
Sage Weil [Wed, 13 Mar 2013 22:55:15 +0000 (15:55 -0700)]
client: fix remaining s->inst users to use s->con

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoclient: remove unused MetaSession::was_stale
Sage Weil [Wed, 13 Mar 2013 20:24:37 +0000 (13:24 -0700)]
client: remove unused MetaSession::was_stale

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoclient: only signal session waiters on open and close
Sage Weil [Wed, 13 Mar 2013 20:21:34 +0000 (13:21 -0700)]
client: only signal session waiters on open and close

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoclient: use Connection* in MetaSession instead of the inst/addr
Sage Weil [Fri, 8 Mar 2013 21:47:03 +0000 (13:47 -0800)]
client: use Connection* in MetaSession instead of the inst/addr

This moves us to a cleaner API, and makes the session lifetime explicit
and clean.  Yay!

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoclient: use session->inst where possible
Sage Weil [Fri, 8 Mar 2013 21:42:58 +0000 (13:42 -0800)]
client: use session->inst where possible

Removing remaining lookups up the mds inst in the MDSMap.  Instead, use
the MetaSession inst field.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoclient: drop unused release_lease()
Sage Weil [Fri, 8 Mar 2013 21:41:15 +0000 (13:41 -0800)]
client: drop unused release_lease()

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoclient: pass session to send_reconnect and resend_unsafe_requests
Sage Weil [Fri, 8 Mar 2013 21:32:51 +0000 (13:32 -0800)]
client: pass session to send_reconnect and resend_unsafe_requests

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoclient: switch kick_requests and send_request to take a session *
Sage Weil [Fri, 8 Mar 2013 21:17:52 +0000 (13:17 -0800)]
client: switch kick_requests and send_request to take a session *

More cleanup!

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoclient: handle ESTALE redirection in make_request(), not reply handler
Sage Weil [Fri, 8 Mar 2013 21:17:23 +0000 (13:17 -0800)]
client: handle ESTALE redirection in make_request(), not reply handler

Resending the request in the reply handler is a bit fugly and throws a
small wrench into moving to a MetaSession*-based approach.  Check for
the case(s) where we *do* return ESTALE explicitly and fall through.
Otherwise, kick the caller and let them retry.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoclient: fix up _closed_mds_session
Sage Weil [Fri, 8 Mar 2013 21:05:22 +0000 (13:05 -0800)]
client: fix up _closed_mds_session

Drop useless arg.  Simplify callers.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoclient: use helper for _close_mds_session()
Sage Weil [Fri, 8 Mar 2013 21:01:56 +0000 (13:01 -0800)]
client: use helper for _close_mds_session()

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agomds: flush log when we hit xlock during path traversal
Sage Weil [Fri, 8 Mar 2013 20:57:58 +0000 (12:57 -0800)]
mds: flush log when we hit xlock during path traversal

This ensures we don't stall out waiting for a lock state to change.

This fixes ~4-5 second stalls easily reproducible and visible with
ceph-fuse and 'dbench 1'.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoclient: instantiate MetaSession for opening connections
Sage Weil [Fri, 8 Mar 2013 20:56:54 +0000 (12:56 -0800)]
client: instantiate MetaSession for opening connections

The previous kludge where a waiting_for_session key indicated that we
had an open in progress was... kludgey.

Introduce some helpers to do the session creation/open.

Move the waiting list to be a session member, and clean up associated
code.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoclient: pass around MetaSession* instead of int mds
Sage Weil [Fri, 8 Mar 2013 20:09:03 +0000 (12:09 -0800)]
client: pass around MetaSession* instead of int mds

This is mostly just shuffling argument types around.  In a few cases we
now assert that the session actually exists; these would have also been
problematic before when we call get_inst() on bad addrs or something, or
silently ignored bugs.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoclient: check for mds state before sending messages
Sage Weil [Fri, 8 Mar 2013 18:54:14 +0000 (10:54 -0800)]
client: check for mds state before sending messages

This fixes some callers, not all.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agomon: increase max_global_id before we hit the wall
Sage Weil [Wed, 13 Mar 2013 20:13:12 +0000 (13:13 -0700)]
mon: increase max_global_id before we hit the wall

Bump the max before we run out of IDs to allocate.  This avoids a stall in
authentication every N new clients.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Joao Luis <joao.luis@inktank.com>
12 years agoMerge branch 'next'
Sage Weil [Wed, 13 Mar 2013 22:39:01 +0000 (15:39 -0700)]
Merge branch 'next'

12 years agomon: simplify assign_global_id()
Sage Weil [Wed, 13 Mar 2013 20:11:42 +0000 (13:11 -0700)]
mon: simplify assign_global_id()

Simplify the logic a bit so it is easier to follow.

Small behavior change: we will successfully allocate and return a gid that
== the max when we can't bump it.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agomon: AuthMonitor: don't return global_id right away if we're increasing it
Joao Eduardo Luis [Mon, 11 Mar 2013 23:06:19 +0000 (23:06 +0000)]
mon: AuthMonitor: don't return global_id right away if we're increasing it

This only happens on the Leader and leads to duplicate global_ids.

Fixes: #4285
Signed-off-by: Joao Luis <joao.luis@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
12 years agomon: Paxos: only finish a queued proposal if there's actually *any*
Joao Eduardo Luis [Tue, 12 Mar 2013 12:37:01 +0000 (12:37 +0000)]
mon: Paxos: only finish a queued proposal if there's actually *any*

When proposing an older value learned during recovery, we don't create
a queued proposal -- we go straight through Paxos.  Therefore, when
finishing a proposal, we must be sure that we have a proposal in the queue
before dereferencing it, otherwise we will segfault.

Fixes: #4250
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
12 years agoauth: assert if auth_debug = true and secret_id == 0
Sage Weil [Wed, 13 Mar 2013 20:40:47 +0000 (13:40 -0700)]
auth: assert if auth_debug = true and secret_id == 0

Hunting #4282.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agolibcephfs_jni.cc: prefer prefix ++operator for iterators 104/head
Danny Al-Gaaf [Wed, 13 Mar 2013 18:09:39 +0000 (19:09 +0100)]
libcephfs_jni.cc: prefer prefix ++operator for iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agodupstore.cc: prefer prefix ++operator for iterators
Danny Al-Gaaf [Wed, 13 Mar 2013 18:08:19 +0000 (19:08 +0100)]
dupstore.cc: prefer prefix ++operator for iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agocrushtool.cc: prefer prefix ++operator for iterators
Danny Al-Gaaf [Wed, 13 Mar 2013 18:07:45 +0000 (19:07 +0100)]
crushtool.cc: prefer prefix ++operator for iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agolibcephfs_jni.cc: fix indention
Danny Al-Gaaf [Wed, 13 Mar 2013 18:06:56 +0000 (19:06 +0100)]
libcephfs_jni.cc: fix indention

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agodoc: Added libvirt config comments for discard granularity.
John Wilkins [Wed, 13 Mar 2013 17:57:23 +0000 (10:57 -0700)]
doc: Added libvirt config comments for discard granularity.

fixes: #4395

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
12 years agorgw: set up curl with CURL_NOSIGNAL
Yehuda Sadeh [Tue, 12 Mar 2013 19:56:01 +0000 (12:56 -0700)]
rgw: set up curl with CURL_NOSIGNAL

Fixes: #4425
Backport: bobtail
Apparently, libcurl needs that in order to be thread safe. Side
effect is that if libcurl is not compiled with c-ares support,
domain name lookups are not going to time out.
Issue affected keystone.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
12 years agosrc/crush/CrushTester.{cc,h}: prefer prefix ++operator for iterators
Danny Al-Gaaf [Wed, 13 Mar 2013 17:40:44 +0000 (18:40 +0100)]
src/crush/CrushTester.{cc,h}: prefer prefix ++operator for iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agocommon/pick_address.cc: prefer prefix ++operator for iterators
Danny Al-Gaaf [Wed, 13 Mar 2013 17:40:06 +0000 (18:40 +0100)]
common/pick_address.cc: prefer prefix ++operator for iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agocommon/buffer.cc: prefer prefix ++operator for iterators
Danny Al-Gaaf [Wed, 13 Mar 2013 17:39:26 +0000 (18:39 +0100)]
common/buffer.cc: prefer prefix ++operator for iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agocommon/WorkQueue.cc: prefer prefix ++operator for iterators
Danny Al-Gaaf [Wed, 13 Mar 2013 17:09:30 +0000 (18:09 +0100)]
common/WorkQueue.cc: prefer prefix ++operator for iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agoLogEntry.h: prefer prefix ++operator for iterators
Danny Al-Gaaf [Wed, 13 Mar 2013 17:09:00 +0000 (18:09 +0100)]
LogEntry.h: prefer prefix ++operator for iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agocommon/LogClient.cc: : prefer prefix ++operator for iterators
Danny Al-Gaaf [Wed, 13 Mar 2013 17:08:31 +0000 (18:08 +0100)]
common/LogClient.cc: : prefer prefix ++operator for iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agoclient/SyntheticClient.cc: prefer prefix ++operator for iterators
Danny Al-Gaaf [Wed, 13 Mar 2013 17:07:51 +0000 (18:07 +0100)]
client/SyntheticClient.cc: prefer prefix ++operator for iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agoosd/osd_types.h: prefer prefix --/++operator for iterators
Danny Al-Gaaf [Wed, 13 Mar 2013 16:56:30 +0000 (17:56 +0100)]
osd/osd_types.h: prefer prefix --/++operator for iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agoosd/PG.h: prefer prefix ++operator for iterators
Danny Al-Gaaf [Wed, 13 Mar 2013 16:56:06 +0000 (17:56 +0100)]
osd/PG.h: prefer prefix ++operator for iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agoosd/OSD.h: prefer prefix ++operator for iterators
Danny Al-Gaaf [Wed, 13 Mar 2013 16:55:42 +0000 (17:55 +0100)]
osd/OSD.h: prefer prefix ++operator for iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agoclient/Client.cc: prefer prefix ++operator for iterators
Danny Al-Gaaf [Wed, 13 Mar 2013 16:55:04 +0000 (17:55 +0100)]
client/Client.cc: prefer prefix ++operator for iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agoceph_syn.cc: prefer prefix ++operator for iterators
Danny Al-Gaaf [Wed, 13 Mar 2013 16:54:39 +0000 (17:54 +0100)]
ceph_syn.cc: prefer prefix ++operator for iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agomon/Session.h: prefer prefix --operator for iterators
Danny Al-Gaaf [Wed, 13 Mar 2013 16:20:17 +0000 (17:20 +0100)]
mon/Session.h: prefer prefix --operator for iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agomon/Session.h: prefer prefix ++operator for iterators
Danny Al-Gaaf [Wed, 13 Mar 2013 16:19:23 +0000 (17:19 +0100)]
mon/Session.h: prefer prefix ++operator for iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agomds/SnapRealm.h: prefer prefix ++operator for iterators
Danny Al-Gaaf [Wed, 13 Mar 2013 16:18:56 +0000 (17:18 +0100)]
mds/SnapRealm.h: prefer prefix ++operator for iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agomds/SessionMap.h: prefer prefix ++operator for iterators
Danny Al-Gaaf [Wed, 13 Mar 2013 16:18:31 +0000 (17:18 +0100)]
mds/SessionMap.h: prefer prefix ++operator for iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agomds/MDSMap.h: prefer prefix ++operator for iterators
Danny Al-Gaaf [Wed, 13 Mar 2013 16:18:05 +0000 (17:18 +0100)]
mds/MDSMap.h: prefer prefix ++operator for iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agomds/CInode.h: prefer prefix ++operator for iterators
Danny Al-Gaaf [Wed, 13 Mar 2013 16:17:28 +0000 (17:17 +0100)]
mds/CInode.h: prefer prefix ++operator for iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agomsg/Messenger.h: prefer prefix ++operator for iterators
Danny Al-Gaaf [Wed, 13 Mar 2013 15:59:40 +0000 (16:59 +0100)]
msg/Messenger.h: prefer prefix ++operator for iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agoMonMap.h: prefer prefix ++operator for iterators
Danny Al-Gaaf [Wed, 13 Mar 2013 15:58:40 +0000 (16:58 +0100)]
MonMap.h: prefer prefix ++operator for iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agobuffer.h: prefer prefix ++operator for iterators
Danny Al-Gaaf [Wed, 13 Mar 2013 15:58:05 +0000 (16:58 +0100)]
buffer.h: prefer prefix ++operator for iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agotypes.h: prefer prefix ++operator for iterators
Danny Al-Gaaf [Wed, 13 Mar 2013 15:47:32 +0000 (16:47 +0100)]
types.h: prefer prefix ++operator for iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agoauth/Crypto.cc prefer prefix ++operator for iterators
Danny Al-Gaaf [Wed, 13 Mar 2013 15:40:44 +0000 (16:40 +0100)]
auth/Crypto.cc prefer prefix ++operator for iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agodoc: Fixed syntax error.
John Wilkins [Wed, 13 Mar 2013 00:50:26 +0000 (17:50 -0700)]
doc: Fixed syntax error.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
12 years agodoc: Added tcp and bind settings and cleaned up syntax a bit.
John Wilkins [Wed, 13 Mar 2013 00:44:10 +0000 (17:44 -0700)]
doc: Added tcp and bind settings and cleaned up syntax a bit.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
12 years agodoc: Setting should use network not single IP.
John Wilkins [Tue, 12 Mar 2013 22:43:33 +0000 (15:43 -0700)]
doc: Setting should use network not single IP.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
12 years agodoc: Fixed usage and added note for copying keyring to client. Added hyperlinks.
John Wilkins [Tue, 12 Mar 2013 21:39:46 +0000 (14:39 -0700)]
doc: Fixed usage and added note for copying keyring to client. Added hyperlinks.

fixes: #4373

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
12 years agodoc: Addressed confusion with version numbering.
John Wilkins [Tue, 12 Mar 2013 21:25:44 +0000 (14:25 -0700)]
doc: Addressed confusion with version numbering.

fixes: #4411

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
12 years agodoc: Added troubleshooting entry for single OSD and single replica.
John Wilkins [Tue, 12 Mar 2013 21:15:51 +0000 (14:15 -0700)]
doc: Added troubleshooting entry for single OSD and single replica.

fixes: #3327

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
12 years agoMerge remote-tracking branch 'origin/wip-fix-librados-headers'
David Zafman [Tue, 12 Mar 2013 19:03:43 +0000 (12:03 -0700)]
Merge remote-tracking branch 'origin/wip-fix-librados-headers'

12 years agoMerge pull request #97 from Elbandi/master
Gary Lowell [Tue, 12 Mar 2013 18:15:00 +0000 (11:15 -0700)]
Merge pull request #97 from Elbandi/master

Fix FTBFS

Reviewed-by: Gary Lowell <gary.lowell@inktank.com>
12 years agoFix typo in ceph usage output
David Zafman [Tue, 12 Mar 2013 18:07:54 +0000 (11:07 -0700)]
Fix typo in ceph usage output

Signed-off-by: David Zafman <david.zafman@inktank.com>