Joao Eduardo Luis
504c6ce957
doc: Add Paxos call chain to doc/mon/
...
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2012-05-29 18:34:27 -07:00
Joao Eduardo Luis
05469b2ba6
mon: add some info on can_mark_out function
...
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2012-05-29 18:34:27 -07:00
Joao Eduardo Luis
15a30d920a
mon: Do some aesthetic reformatting on the Elector class.
...
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2012-05-29 18:34:27 -07:00
Joao Eduardo Luis
8c95e8bc38
mon: add doxygen-format comments to the Elector class.
...
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2012-05-29 18:34:27 -07:00
Joao Eduardo Luis
1816856e52
mon: Do some aesthetic reformatting on the Paxos class.
...
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2012-05-29 18:34:27 -07:00
Joao Eduardo Luis
28a64fdbab
mon: add doxygen-format comments to the Monitor class.
...
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2012-05-29 18:34:27 -07:00
Joao Eduardo Luis
c5015ef349
mon: add doxygen-format comments to the PaxosService class.
...
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2012-05-29 18:34:27 -07:00
Joao Eduardo Luis
7064a9c0ad
mon: add doxygen-format comments to the Paxos class.
...
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2012-05-29 18:34:26 -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
Dan Mick
8c1c882999
rbd.py: Fix seemingly-random segfaults
...
Avoid resetting Image.closed until image is successfully opened.
Fixes : #2475
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2012-05-23 19:35:05 -07:00
Dan Mick
2f963fa7e8
librados: Remove errant sha1
...
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2012-05-23 19:33:41 -07:00
Dan Mick
6e46de3703
rbd.py doc: Fix markup on :class: references
...
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2012-05-23 19:33:19 -07:00
Sage Weil
9453413c49
Merge branch 'osd-mkfs'
...
Reviewed-by: Sam Just <sam.just@inktank.com>
2012-05-23 16:42:49 -07:00
Sage Weil
b5e7fdd3d7
Merge remote-tracking branch 'gh/wip-mon-auth'
...
Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
2012-05-23 16:41:57 -07:00
Sage Weil
fbae60315d
Merge branch 'stable'
2012-05-23 16:41:14 -07:00
Sage Weil
7805978c25
filestore: make read_fsid() out arg be a pointer
...
As per style guide.
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-23 16:31:43 -07:00
Sage Weil
386139bb81
filestore: more informative fsid mkfs debug output
...
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-23 16:31:43 -07:00
Sage Weil
c96aa62d84
osd: verify fsid whoami to match on repeat mkfs
...
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-23 16:31:43 -07:00
Sage Weil
5bf5e91fd1
osd: require cluster fsid for mkfs
...
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-23 16:31:43 -07:00
Sage Weil
a980d018f0
osd: do not clobber existing key with --mkkey
...
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-23 16:31:43 -07:00
Sage Weil
c18e4d80a1
filestore: mkfs: do not clobber exisiting journal if it has matching fsid
...
If the journal is for *this* fs, do not clobber. If it appears invalid in
any way, initialize it.
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-23 16:31:43 -07:00
Sage Weil
a074d0b5c3
filejournal: add check() method
...
Check if a journal appears to be valid, where valid means the header is
intact and has a matching fsid.
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-23 16:31:42 -07:00
Sage Weil
c498827f04
filestore: drop useless mkjournal error check
...
We don't care!
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-23 16:31:42 -07:00
Sage Weil
b04b73d473
filestore: mkfs: less noise about leveldb creation
...
and make it clear that we didn't necessarily create it; it may have already
been there.
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-23 16:31:42 -07:00
Sage Weil
598dea1241
filestore: mkfs: only create snap_0 if we created current_op_seq
...
We only need to create snap_0 if we just created current_op_seq and this is
a brand-new dir.
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-23 16:31:42 -07:00
Sage Weil
ec7bf5640f
filestore: fix misplaced #endif
...
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-23 16:31:42 -07:00
John
09192d6597
doc/api/s3/bucketops.rst Corrected heading.
...
doc/install/chef.rst Added Sam's edits to the Chef install.
Signed-off-by: John <john@admin-host.(none)>
2012-05-23 16:12:06 -07:00