Commit Graph

19653 Commits

Author SHA1 Message Date
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
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
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
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
Yehuda Sadeh
bf2028fc51 rgw: replace all bad use of formatter->dump_format()
This fixes #2465. We should never ever use the dumped value
as the format. Never.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2012-05-23 16:09:34 -07:00
John
3956cb8f19 doc/api/s3 <-chipping away at objectops and clean up. Added Copy Object.
doc/source <-fixed a typo, updates for installing on precise, rm $ from cmds
doc/start  <-replaced clone link with tarball link. Link to Ceph Source Code.


Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-05-23 15:44:11 -07:00