Commit Graph

34929 Commits

Author SHA1 Message Date
John Wilkins
c2443b9584 doc: Provided additional detail on daemon-specific caps syntax.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-09-02 11:38:16 -07:00
John Wilkins
8569b93cba doc: Updated Keyring settings from comments and ceph-deploy defaults.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-09-02 11:37:33 -07:00
John Wilkins
cef1299379 doc: Added links. Clarified namespace comments. Added limitations.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-08-25 11:04:36 -07:00
John Wilkins
d817a6a336 doc: Minor changes.
Removed arch-related comments.
Added links to relevant docs.
Moved limitations to user management.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-08-25 11:03:42 -07:00
John Wilkins
5db51d6f2a doc: Added a few comments and links to other relevant docs.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-08-25 11:02:27 -07:00
John Wilkins
5374386ee2 doc: Added user management link to quick start.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-08-13 20:36:15 -07:00
John Wilkins
5e8eae725f doc: Removed cephx intro. Moved details to user management, config, and architecture.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-08-13 20:30:04 -07:00
John Wilkins
3aa3e96b10 doc: Removed cephx guide. Replaced by user management.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-08-13 20:29:08 -07:00
John Wilkins
aac6aa2a42 doc: Removed auth intro and auth docs and added user management to index.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-08-13 20:28:43 -07:00
John Wilkins
4c651b7d0a doc: Restructured auth configuration reference.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-08-13 20:28:10 -07:00
John Wilkins
3faf37a308 doc: Put architectural details of authentication in to architecture doc.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-08-13 20:27:31 -07:00
John Wilkins
118ae72609 doc: Created a new User Management doc to replace authentication.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-08-13 20:27:00 -07:00
Samuel Just
0f6956b3f4 Merge remote-tracking branch 'upstream/next' 2014-08-13 14:11:12 -07:00
Samuel Just
e74ad5f8b6 Merge pull request #2252 from ceph/wip-9087
test/system/systest_runnable.cc: debugging on start and end

Reviewed-by: Sage Weil <sage@redhat.com>
2014-08-13 14:10:45 -07:00
Sage Weil
473f4bd395 Merge remote-tracking branch 'gh/next' 2014-08-13 14:10:31 -07:00
Samuel Just
b2c1fa8609 test/system/systest_runnable.cc: debugging on start and end
Signed-off-by: Samuel Just <sam.just@inktank.com>
2014-08-13 14:08:27 -07:00
Sage Weil
239401db7b mon: fix divide by zero when pg_num adjusted and no osds
Fixes: #9052
Backport: firefly, dumpling
Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-13 13:31:16 -07:00
Sage Weil
c5687b1310 mon: fix potential divide by zero on can_mark_{down,out}
Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-13 13:31:16 -07:00
Sage Weil
f81d2b0eaa mon: fix divide by zero when pg_num adjusted and no osds
Fixes: #9101
Backport: firefly, dumpling
Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-13 13:15:36 -07:00
Sage Weil
8a647f7d40 mon: fix potential divide by zero on can_mark_{down,out}
Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-13 13:15:19 -07:00
Sage Weil
b3fd96121f Merge pull request #2236 from ceph/wip-9055
ceph_test_rados_api_tier: fix cache pool cleanup during test

Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-08-13 12:54:40 -07:00
Sage Weil
14f73e037a Merge pull request #2222 from ceph/wip-9029
mds: Make min/max UID configurable for who is allowed to create a snapsh...

Reviewed-by: Sage Weil <sage@redhat.com>
2014-08-13 12:40:58 -07:00
Wido den Hollander
5ed9f4eeae mds: Revert from mds_mksnap_ setting to mds_snap_ settings 2014-08-13 21:07:59 +02:00
Samuel Just
561208af4b Merge pull request #2249 from ceph/wip-9096
osd: fix require_same_peer_instance from fast_dispatch

Reviewed-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Loic Dachary <loic@dachary.org>
2014-08-13 10:48:32 -07:00
Sage Weil
5be56ff86d osd/ReplicatedPG: only do agent mode calculations for positive values
After a split we can get negative values here.  Only do the arithmetic if
we have a valid (positive) value that won't through the floating point
unit for a loop.

Fixes: #9082
Tested-by: Karan Singh <karan.singh@csc.fi>
Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-13 10:34:53 -07:00
Sage Weil
7b3714ce7a osd: fix some line wrapping
Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-13 09:38:07 -07:00
Sage Weil
df945a900a osd: fix require_same_peer_instance from fast_dispatch
The mark-down of old peers needs to take the session_dispatch_lock in order
to safely clear the Session ref cycle.  However, for fast dispatch callers,
that lock is already held.  Pass a flag down from the callers indicating
whether we need to take the additional lock.

Fixes: #9096
Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-13 08:30:25 -07:00
Sage Weil
3d7e2b357a osd: inline require_osd_up_peer
There is only one caller.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-13 08:20:42 -07:00
Sage Weil
0479db8c2b Merge pull request #2233 from majianpeng/fix1
os/chain_xattr: Remove all old xattr entry when overwrite the xattr.

Reviewed-by: Sage Weil <sage@redhat.com>
2014-08-12 21:22:25 -07:00
Sage Weil
3da1c711ef Merge pull request #2230 from ceph/wip-fsx-flatten
test_librbd_fsx: also flatten as part of randomize_parent_overlap

Reviewed-by: Sage Weil <sage@redhat.com>
2014-08-12 21:17:12 -07:00
Sage Weil
3bd1b33122 Merge pull request #2234 from kevincox/net-docs
doc: Initial network docs.

Reviewed-by: Sage Weil <sage@redhat.com>
2014-08-12 21:14:10 -07:00
Sage Weil
b06d1b0a60 Merge pull request #2237 from ceph/wip-8560
mon: instrument paxos

Reviewed-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-08-12 21:06:16 -07:00
Sage Weil
b09b8563d3 mon/Paxos: add perfcounters for most paxos operations
I'm focusing primarily on the ones that result in IO here.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-12 21:05:40 -07:00
Sage Weil
128aaa509b Merge pull request #2242 from majianpeng/fix4
utime: Because class Clock didn't exist,so remove the declaration in class utime_t

Reviewed-by: Sage Weil <sage@redhat.com>
2014-08-12 21:01:09 -07:00
Samuel Just
ea90d9f46b Revert "ReplicatedPG: do not pass cop into C_Copyfrom"
The ref was introduced in 589b639af7
and is actually necessary to keep the buffers around.

This reverts commit 300b5e8ecb.
2014-08-12 16:34:30 -07:00
Samuel Just
300b5e8ecb ReplicatedPG: do not pass cop into C_Copyfrom
We do not know when the objecter will finally let go of this Context.  Thus, we
cannot know whether it will happen before the flush, at which point the
object_context held by the cop must have been released.

Also, we simply don't need it, process_copy_chunk alrady works in terms of the
tid!

Fixes: #8894
Reviewed-by: Sage Weil <sage@redhat.com>
Signed-off-by: Samuel Just <sam.just@inktank.com>
2014-08-12 16:21:00 -07:00
Sage Weil
bb121e416d Merge pull request #2246 from ceph/wip-9064
ReplicatedPG::maybe_handle_cache: do not skip promote for write_ordered

Reviewed-by: Sage Weil <sage@redhat.com>
2014-08-12 15:50:59 -07:00
Samuel Just
24aeca9c43 ReplicatedPG::maybe_handle_cache: do not skip promote for write_ordered
We cannot redirect a RW ordered read.

Fixes: #9064
Introduced: 0ed3adc1e0
Signed-off-by: Samuel Just <sam.just@inktank.com>
2014-08-12 15:25:03 -07:00
Sage Weil
7bd67fa1ae Merge pull request #2245 from dachary/wip-9085-isa-link
erasure-code: isa plugin must link with ErasureCode.cc

Reviewed-by: Sage Weil <sage@redhat.com>
2014-08-12 14:37:28 -07:00
Loic Dachary
984f6148cc erasure-code: isa plugin must link with ErasureCode.cc
Otherwise it will not get the methods it needs. A test is added to check
the plugin loads as expected, from the command line. The test is not run
if the isa plugin is not found, which happens on platforms that are not
supported.

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-08-12 23:07:50 +02:00
Sage Weil
afa176e7fe Merge pull request #2239 from ceph/wip-8912
librbd: fix error path cleanup for opening an image

Reviewed-by: Sage Weil <sage@redhat.com>
2014-08-12 12:41:31 -07:00
Sage Weil
41e44611ad doc/changelog: v0.67.10 notes
Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-12 12:36:47 -07:00
Sage Weil
ce7cd60a44 Merge branch 'wip-8860'
Reviewed-by: Sage Weil <sage@redhat.com>
2014-08-12 12:22:31 -07:00
Alfredo Deza
44ed1885fb init-ceph: conditionally update after argparsing
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-08-12 12:22:13 -07:00
Sage Weil
350b512406 doc/release-notes: v0.67.10
Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-12 11:30:48 -07:00
Sage Weil
e3e4883081 Merge remote-tracking branch 'gh/next'
Conflicts:
	PendingReleaseNotes
2014-08-12 09:35:08 -07:00
Loic Dachary
7e7afafeb3 Merge pull request #2243 from ceph/wip-log-client
common/LogClient: fix sending dup log items

Reviewed-by: Loic Dachary <loic@dachary.org>
2014-08-12 17:08:37 +02:00
Sage Weil
057c6808be common/LogClient: fix sending dup log items
We need to skip even the most recently sent item in order to get to the
ones we haven't sent yet.

Fixes: #9080
Backport: firefly, dumpling
Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-12 07:05:34 -07:00
Loic Dachary
95fbce22c5 Merge pull request #2232 from dachary/wip-9044-use-ruleset
erasure-code: ErasureCodeJerasure::create_ruleset must return a ruleset

Reviewed-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
Reviewed-by: Ma Jianpeng <jianpeng.ma@intel.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2014-08-12 15:00:02 +02:00
Ma Jianpeng
71e827f0f2 utime: Because class Clock didn't exist,so remove the declaration in class utime_t.
Signed-off-by: Ma Jianpeng <jianpeng.ma@intel.com>
2014-08-12 18:16:05 +08:00