Commit Graph

22098 Commits

Author SHA1 Message Date
John Wilkins
138262f683 doc: fixed some inccorrect syntax.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-06 09:13:54 -08:00
John Wilkins
15b3d98fc4 doc: Minor edits and added reference to Cephx intro.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-05 11:02:55 -08:00
Samuel Just
bad0114503 PG: use remove_object_with_snap_hardlinks for divergent objects
Otherwise, we end up leaving snap hardlinks in the snapshot
index directories.  This eventually results in an EEXIST error
when we attempt to re-link the clone into place during
recovery.

Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2012-11-05 10:48:16 -08:00
Sage Weil
699e54dfeb rbd: stripe count is not measured in bytes
Signed-off-by: Sage Weil <sage@inktank.com>
2012-11-05 09:57:39 -08:00
Noah Watkins
72a710ac47 client: return EBADF for invalid file desc
Adds get_filehandle to Client which resolves a file descriptor or
returns NULL if the file descriptor is invalid. Libcephfs calls that
accept a file descriptor are changed to return -EBADF when
get_filehandle returns NULL.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2012-11-04 07:14:50 -08:00
Noah Watkins
132fb3413c doc: describe Hadoop configuration options
Start a document describing Ceph integration with Hadoop, and adds a
description of configuration options that the CephFileSystem shim will
accept.
2012-11-04 06:19:29 -08:00
Sage Weil
004a1fcf8c Merge branch 'wip-reorg' 2012-11-04 05:06:34 -08:00
Sage Weil
92604ce4af Merge branch 'wip-msgr-ports'
Reviewed-by: Greg Farnum <greg@inktank.com>
2012-11-04 05:06:18 -08:00
Sage Weil
7483d1f990 msg/Accepter: use derr
Signed-off-by: Sage Weil <sage@inktank.com>
2012-11-04 05:04:42 -08:00
Sage Weil
769bac89fd msgr: change port range from 6800-6900 -> 6800-7100
This allows more OSDs per host.

Signed-off-by: Sage Weil <sage@inktank.com>
2012-11-04 05:04:42 -08:00
Sage Weil
623553d2b8 msgr: make bind port range configurable
Signed-off-by: Sage Weil <sage@inktank.com>
2012-11-04 05:04:42 -08:00
Sage Weil
49bd8ab57c librados: move misc tests into test/librados/ dir
Signed-off-by: Sage Weil <sage@inktank.com>
2012-11-04 04:45:12 -08:00
Sage Weil
5893dd52a9 librados: test/rados-api/* -> test/librados/*
Signed-off-by: Sage Weil <sage@inktank.com>
2012-11-04 04:45:11 -08:00
Sam Lang
6f7a632aaa client: Support for fchown
Implement fchown in libcephfs and client,
which is needed by the samba vfs module.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
2012-11-04 04:25:31 -08:00
Sage Weil
e4aa6d7ad7 cls_lock: reorg test_cls_lock
Signed-off-by: Sage Weil <sage@inktank.com>
2012-11-04 03:54:35 -08:00
Sage Weil
0eedc78e56 cls_rgw: reorg test_cls_rgw
Signed-off-by: Sage Weil <sage@inktank.com>
2012-11-04 03:52:57 -08:00
Sage Weil
a1402b5d94 fix cls_rbd reorg 2012-11-04 03:50:09 -08:00
Sage Weil
ddf096b55b librbd: reorg rbd tests
Signed-off-by: Sage Weil <sage@inktank.com>
2012-11-04 03:47:10 -08:00
Sage Weil
b749323bee cls_rbd: move into new location
Be consistent!  Make an example of ourselves!

Signed-off-by: Sage Weil <sage@inktank.com>
2012-11-04 03:43:55 -08:00
Sage Weil
bcefc0e80a msg/Pipe: fix leak of AuthSessionHandler
Init ptr in ctor, delete in dtor.

Reported-by: Yan, Zheng <yan.zheng@intel.com>
Signed-off-by: Sage Weil <sage@inktank.com>
2012-11-04 01:10:49 -08:00
Sage Weil
2daad206ee Merge branch 'wip-mds' 2012-11-04 01:02:43 -07:00
John Wilkins
f67e79a2fc Merge branch 'master' of https://github.com/ceph/ceph 2012-11-03 12:12:24 -07:00
John Wilkins
4bff87da9a doc: Added qemu caching section.
fixes: #3332

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-03 12:12:11 -07:00
John Wilkins
f171aba74d doc: Added Commandline Usage and a few fixes.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-03 12:10:23 -07:00
tamil
c51e1f9b64 test script for s3 tests
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2012-11-02 11:32:43 -07:00
John Wilkins
bc4e6b9a13 doc: Changed term "kernel object" to "kernel module". Added hyperlink to cephx.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-01 15:56:04 -07:00
John Wilkins
019fee8224 doc: Improved the landing page for RBD.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-01 15:30:39 -07:00
John Wilkins
536d7644f2 doc: Clarified text and added reference back to main RBD pages. Added sidebar.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-01 15:30:00 -07:00
John Wilkins
2b2ac13714 doc: Changed RBD to librbd cache for accuracy.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-01 15:29:06 -07:00
John Wilkins
a01b112d71 doc: changed --user to --id, and fixed a typo.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-01 12:55:18 -07:00
Alex Elder
a7551e4d99 run_xfstests.sh: add optional iteration count
This adds a "-c <count>" option to the run_xfstests.sh script so
the full set of tests can be repeated more than once without having
to go through the setup process each time.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Reviewed-by: Dan Mick <dan.mick@inktank.com>
2012-11-01 13:55:48 -05:00
John Wilkins
dfc57c4fa5 doc: minor edits to the index.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-01 10:43:24 -07:00
John Wilkins
968b315a09 doc: Added layering to the snapshot section.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-11-01 10:41:38 -07:00
Sage Weil
15ada1c7b2 doc: update notes on new rpm-based platforms
Signed-off-by: Sage Weil <sage@inktank.com>
2012-10-31 22:10:43 -07:00
Sage Weil
45005d3def doc: fix os-recommendations table
Signed-off-by: Sage Weil <sage@inktank.com>
2012-10-31 21:27:51 -07:00
John Wilkins
2d52d7c907 doc: Index entry for OS Recommendations
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-10-31 21:25:46 -07:00
Sage Weil
049e7fbe7b doc: update os-recommendations
Signed-off-by: Sage Weil <sage@inktank.com>
2012-10-31 21:24:56 -07:00
Sage Weil
651cbb540e Merge branch 'next' 2012-10-31 17:14:44 -07:00
Sage Weil
c435d314ca ceph-disk-activate: avoid duplicating mounts if already activated
If the given device is already mounted at the target location, do not
mount --move it again and create a bunch of dup entries in the /etc/mtab
and kernel mount table.

Signed-off-by: Sage Weil <sage@inktank.com>
2012-10-31 17:14:31 -07:00
Mike Ryan
3f08e96cc0 PG: requeue snap_trimmer after scrub finishes
Previously the snap_trimmer would continuously requeue itself until the
end of scrub. This degrades performance and fills up logs for No Good
Reason.

Signed-off-by: Mike Ryan <mike.ryan@inktank.com>
2012-10-31 15:42:03 -07:00
Mike Ryan
1bb65373df PG: requeue snap_trimmer after scrub finishes
Previously the snap_trimmer would continuously requeue itself until the
end of scrub. This degrades performance and fills up logs for No Good
Reason.

Signed-off-by: Mike Ryan <mike.ryan@inktank.com>
2012-10-31 15:34:46 -07:00
John Wilkins
310796a9dd doc: tiny syntax fix.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-10-31 14:12:21 -07:00
John Wilkins
eac443e0f8 doc: Added internal anchor references.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-10-31 14:11:50 -07:00
John Wilkins
3c034ae1fa doc: using remote copy
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2012-10-31 14:11:12 -07:00
Samuel Just
2857a7f49b Merge remote-tracking branch 'upstream/wip_dep_fix'
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2012-10-31 11:37:21 -07:00
Samuel Just
1351e76c8e README: add libboost-program-options-dev
Signed-off-by: Samuel Just <sam.just@inktank.com>
2012-10-31 11:36:06 -07:00
Samuel Just
6bbe7db79d configure.ac: add program_options header check
Signed-off-by: Samuel Just <sam.just@inktank.com>
2012-10-31 10:27:33 -07:00
Samuel Just
fd4b839d04 Merge branch 'wip_journal_perf' 2012-10-30 13:31:45 -07:00
Samuel Just
9608a88b32 ReplicatedPG: actually delay op for backfill_pos
3f952afe5d neglected to
actually delay the op in ReplicatedPG::do_op.

Signed-off-by: Samuel Just <sam.just@inktank.com>
2012-10-30 13:31:10 -07:00
Samuel Just
550ef509ed Finisher: add perf counter for queue len
Signed-off-by: Samuel Just <sam.just@inktank.com>
2012-10-30 13:31:10 -07:00