Adam Crume
10b0db3b53
osd: Adding const to methods in OSDMap
...
Signed-off-by: Adam Crume <adamcrume@gmail.com>
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-31 14:20:59 -07:00
Yehuda Sadeh
8609caffd9
vstart.sh: initialize keyring even if not using cephx
...
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2012-05-31 11:38:37 -07:00
Yehuda Sadeh
e929d54da3
Merge branch 'master' of ssh://github.com/ceph/ceph
2012-05-31 11:37:52 -07:00
Sage Weil
640eec9cd0
Merge remote branch 'gh/wip-admin'
...
Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
2012-05-30 20:38:22 -07:00
Dan Mick
c80bd9daea
librbd: Simplify timing init
...
Remove possibility of set_start_time before set_ictx error
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2012-05-30 16:48:37 -07:00
Dan Mick
04e66b4201
librbd: Add latency (elapsed-time) stats for rbd operations
...
Fixes : #2408
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2012-05-30 16:18:49 -07:00
Yehuda Sadeh
767664dcb8
rgw: put_bucket_info does not override attrs
...
This fixes #2487 . When writing bucket info we just
wrote the object content, and were overriding any
attrs that object contained (that is -- corrupted
the ACLs).
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2012-05-30 16:22:51 -07:00
Yehuda Sadeh
d8df1e9913
rgw: return default policy if policy attr is broken
...
In case the policy attr on object/bucket is broken
return a default policy, in which the owner is set
as the bucket owner.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2012-05-30 16:22:51 -07:00
Sage Weil
a24145fcbf
log: add missing .cc file
...
Signed-off-by: Sage Weil <sage@newdream.net>
2012-05-30 15:35:30 -07:00
Sage Weil
52187c3eac
log: uninline SubsystemMap mutators
...
This lets you do something like
p g_ceph_context->_conf->subsys.set_log_level(ceph_subsys_mon, 20)
from gdb.
Signed-off-by: Sage Weil <sage@newdream.net>
2012-05-30 15:15:50 -07:00
Sage Weil
a6f8fe352e
filestore: fix my broken ifdef flow
...
Signed-off-by: Sage Weil <sage@newdream.net>
2012-05-30 15:06:19 -07:00
John Wilkins
188d171805
doc: ceph.conf cleanup for cephx authentication.
...
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-05-30 14:41:42 -07:00
John Wilkins
695f92d8ee
doc: fix broken link.
...
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-05-30 14:40:08 -07:00
John Wilkins
d05d98ce80
doc: Added -a to service ceph stop.
...
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-05-30 14:29:51 -07:00
John Wilkins
cb5c6b5db6
doc: Consolidated mkcephfs deployment files.
...
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-05-30 14:29:10 -07:00
Sage Weil
dd1d388061
osd: fix null dereference
...
The pg arg is optional!
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-30 14:28:46 -07:00
John Wilkins
a3f4d595f1
doc: Added pools and authentication.
...
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-05-30 13:48:04 -07:00
Sage Weil
a167213a9e
mon: fix reweight_by_utilization waiting
...
Propose if we changed something, but not if we don't.
Signed-off-by: Sage Weil <sage@newdream.net>
2012-05-30 11:53:37 -07:00
Sage Weil
519fadbc96
osd: fix rewewight_by_utilization
...
Update the incremental, not the in-memory OSDMap!
Fixes : #2454
Signed-off-by: Sage Weil <sage@newdream.net>
2012-05-30 11:53:35 -07:00
Sage Weil
07498d6623
filestore: log about syncfs(2) etc support
...
Fixes : #2479
Signed-off-by: Sage Weil <sage@newdream.net>
2012-05-30 11:14:26 -07:00
Sage Weil
2b856ace21
Merge remote-tracking branch 'gh/stable'
2012-05-30 11:02:36 -07:00
John Wilkins
6dd93b9a97
doc: Updated authentication with header canonicalization.
...
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-05-30 10:14:30 -07:00
Sage Weil
e9588f0c82
Merge remote-tracking branch 'gh/wip-2349'
...
Reviewed-by: Sage Weil <sage@newdream.net>
2012-05-30 10:05:01 -07:00
Joao Eduardo Luis
26ecf608c5
workloadgen: Fix the statistics output and a bug triggered by coll destruction
...
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2012-05-30 09:30:16 -07:00
Sage Weil
f685f4d8df
filestore: initialize dummy xattr buffer
...
Shut up valgrind.
Signed-off-by: Sage Weil <sage@newdream.net>
2012-05-30 09:13:48 -07:00
Sage Weil
5842dcdadb
osd: fix misdirected op check
...
The sense of this check was wrong from the get-go, back in a5d99add
. Fix
it. This may be silencing a lot of misdirected op noise!
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-29 20:41:38 -07:00
Sage Weil
b46b815a5d
test_filestore_workloadgen: less noise
...
Signed-off-by: Sage Weil <sage@newdream.net>
2012-05-29 16:52:40 -07:00
Sage Weil
92fec42364
test_filestore_workloadgen: write zeros, not random bytes
...
The random byte generation is sufficiently slow that it skews the results.
Zeros are good enough!
Signed-off-by: Sage Weil <sage@newdream.net>
2012-05-29 16:52:40 -07:00
Sage Weil
bb0c7c6a44
admin_socket: fix unittest
...
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-29 16:31:39 -07:00
Sage Weil
29e6f8c5a4
log: add log flush, dump_recent, reopen admin socket commands
...
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-29 16:31:39 -07:00
Sage Weil
4e2846b44c
config: add 'set_config <var> <val>' admin socket command
...
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-29 16:31:39 -07:00
Eleanor Cawthon
6849f82eca
rados.cc: added listomap and getomap commands
...
Signed-off-by: Eleanor Cawthon <eleanor.cawthon@inktank.com>
2012-05-29 13:33:15 -07:00
Sage Weil
a3f8137631
config: add 'show_config' admin socket command
...
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-29 12:07:07 -07:00
Sage Weil
ab8f6b1b6e
admin_socket: initialize explicitly on startup; disallow changes
...
There is an annoying dependency between the config lock and the admin
socket lock due to the fact that we initialize (or reinitialize) the socket
via a config observer.
Instead, explicitly initialize on startup. Do not allow the admin socket
location to be changed at runtime.
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-29 12:07:07 -07:00
Samuel Just
f953c4c0b0
librados.h: update rados_object_list_next documentation for key/locator
...
*entry and *key don't need to be freed, and are only valid until the
next call to rados_objects_list_*.
Signed-off-by: Samuel Just <sam.just@inktank.com>
2012-05-29 11:23:20 -07:00
Sage Weil
1277a465b1
cephcontext: generalize admin socket hook
...
We'll process non-perfcounter commands too.
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-29 10:09:31 -07:00
John Wilkins
73e29b658d
doc: needed carriage returns between headings, code tag and syntax.
...
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-05-25 16:15:14 -07:00
John Wilkins
d33f4fb627
doc: removed redundant install.
...
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-05-25 16:03:48 -07:00
John Wilkins
68874afaaa
doc: Filled in descriptions for object operations.
...
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-05-25 16:03:02 -07:00
Sage Weil
e868b44b39
ceph.spec.in: buildrequires libuuid-devel
...
Reported-by: Guido Winkelmann <guido-ceph@thisisnotatest.de>
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-25 09:29:08 -07:00
Sage Weil
5eda9b7048
ceph.spec.in: drop unnecessary rmdirs
...
This hunk was inadvertantly included in a330c64
.
Reported-by: Guido Winkelmann <guido-ceph@thisisnotatest.de>
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-25 09:28:07 -07:00
John Wilkins
6601ef9510
doc: Restored install for dev/unstable packages.
...
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-05-24 16:54:15 -07:00
Sage Weil
ba5406235f
filestore: make SNAP_DESTROY ioctl check more informative
...
Tell user about user_subvol_rm_allowed mount option.
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-24 15:01:39 -07:00
Sage Weil
07c9eda2b1
filestore: fix btrfs subvol ioctl tests
...
Create a temp subvol that *we own* to test snaps against. Otherwise, we
won't be able to remove them if we weren't the owner of the source subvol
we were snapshotting when we are not root.
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-24 14:53:30 -07:00
Sage Weil
bea1e03135
filestore: verify that op_seq is nonzero
...
If we get zero from commit_op_seq something is very wrong, and we should
not continue. Broken mkfs or something deleted commit_op_seq file.
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-24 14:07:36 -07:00
Sage Weil
18b0d65750
vstart.sh: wipe out btrfs subvols in osd dirs
...
For testing on btrfs.
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-24 14:05:27 -07:00
Sage Weil
0f38d756ab
filestore: fix initial btrfs snap creation (on mkfs)
...
Create the snap_1 snap of current *after* we write the op_seq. Otherwise
we will mistakingly believe the snapshot is of op seq 0.
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-24 14:05:09 -07:00
Yehuda Sadeh
3ae84eec2d
rgw: replace dump_format() with dump_int()
...
Cleanup, fixes issue #2469 .
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2012-05-24 13:07:03 -07:00
Josh Durgin
ca79f45a33
Merge branch 'stable'
2012-05-24 09:47:41 -07:00
Josh Durgin
9a9418ebfd
librados, ObjectCacher: include limits.h for INT_MAX
...
This was required to build on CentOS 6.2. I'm not sure why it worked
without it on Debian.
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2012-05-24 09:45:45 -07:00