]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Samuel Just [Sat, 29 Sep 2012 00:24:40 +0000 (17:24 -0700)]
OSD: queue ops based on message priority
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Mon, 1 Oct 2012 23:11:40 +0000 (16:11 -0700)]
OSD: use PrioritizedQueue for OpWQ
The OpWQ PriorityQueue replaces OSD::op_queue, PG::op_queue,
and PG::qlock. The syncronization is now done as part of the
usual WorkQueue syncronization pattern.
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Fri, 28 Sep 2012 18:50:59 +0000 (11:50 -0700)]
WorkQueue: Add WorkQueueVal for passing params by val
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Fri, 28 Sep 2012 18:50:30 +0000 (11:50 -0700)]
common: Add PriorititizedQueue
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Tue, 2 Oct 2012 23:34:50 +0000 (16:34 -0700)]
Pipe: we don't queue DispatchQueue codes on an actual pipe
The dispatch queue event codes are now queued directly and
won't end up in a real Pipe.
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Tue, 2 Oct 2012 20:33:11 +0000 (13:33 -0700)]
common: add RefCountedObj.cc with intrusive_ptr hooks
Signed-off-by: Samuel Just <sam.just@inktank.com>
Noah Watkins [Tue, 13 Nov 2012 17:39:20 +0000 (09:39 -0800)]
java: remove redundant src.dir
Previous wip-fix-javadocs had an oversight, redefining src.dir.
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Josh Durgin [Tue, 13 Nov 2012 16:14:09 +0000 (08:14 -0800)]
doc: reorder some openstack/rbd instructions
Move client creation to the section on setting up client auth, so you
don't skip it if you already have pools created.
Move CEPH_ARGS setting to the section on configuring OpenStack, since
it's a change for the OpenStack services, not purely ceph client
configuration.
A couple people were confused by the placement of these parts, and
they make more sense in these sections.
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Sage Weil [Tue, 13 Nov 2012 01:01:30 +0000 (17:01 -0800)]
Merge branch 'wip-client-asok'
Noah Watkins [Mon, 12 Nov 2012 23:49:38 +0000 (15:49 -0800)]
java: fix build.xml formatting
set noet ts=2 sw=2 sws=2
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Noah Watkins [Mon, 12 Nov 2012 23:44:06 +0000 (15:44 -0800)]
java: fix javadoc builds
Don't build JavaDoc for tests, and fix the missing src.dir variable.
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Sage Weil [Mon, 12 Nov 2012 23:40:08 +0000 (15:40 -0800)]
osdc/ObjectCacher: only return ENOENT if ObjectSet is flagged
The fs client can't handle ENOENT from the cache, but librbd wants it.
Also, the fs client will send down multiple ObjectExtents per io, but that
is incompatible with the ENOENT behavior.
Indicate which behavior we want via the ObjectSet, and update librbd to
explicitly ask for it. This fixes the fs client, which is currently
broken (it returns ENOENT on read).
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Mon, 12 Nov 2012 23:00:11 +0000 (15:00 -0800)]
client: unregister commands on shutdown
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 9 Nov 2012 20:02:17 +0000 (12:02 -0800)]
client: fix null dentry crash on dump_cache
Dentries can be NULL!
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 9 Nov 2012 20:01:50 +0000 (12:01 -0800)]
client: dump mds session info
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Mon, 12 Nov 2012 19:06:42 +0000 (11:06 -0800)]
client: add dump_cache asok command
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Mon, 12 Nov 2012 19:03:33 +0000 (11:03 -0800)]
common: dumpers for ceph_{file,dir}_layout
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 9 Nov 2012 04:37:56 +0000 (20:37 -0800)]
client: add mds_requests asok command
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Sat, 10 Nov 2012 09:46:33 +0000 (01:46 -0800)]
Makefile: fix hadoop lib build
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 9 Nov 2012 05:12:39 +0000 (21:12 -0800)]
Makefile: use libclient.la for libcephfs
Avoid building these files twice!
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Mon, 12 Nov 2012 23:03:12 +0000 (15:03 -0800)]
Merge branch 'next'
Sage Weil [Mon, 12 Nov 2012 23:02:51 +0000 (15:02 -0800)]
Merge branch 'wip-client-leaks' into next
Sage Weil [Mon, 12 Nov 2012 23:02:41 +0000 (15:02 -0800)]
client: fix null put in ~MetaSession
Signed-off-by: Sage Weil <sage@inktank.com>
Josh Durgin [Mon, 12 Nov 2012 21:59:36 +0000 (13:59 -0800)]
librbd: fix create existence checking
cda9e516b8bb09b8846814cc8d4ee2879a53b2d5 made us return 0 when the
image already existed, causing copy to erroneosly ignore an existing
image. Separate the case where we know the image exists from being
unable to tell whether it exists because of e.g. an authentication
problem.
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Josh Durgin [Mon, 12 Nov 2012 21:57:18 +0000 (13:57 -0800)]
librbd: debug when copy occurs
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Sage Weil [Mon, 12 Nov 2012 20:36:19 +0000 (12:36 -0800)]
Merge remote-tracking branch 'gh/wip-javadoc'
Sage Weil [Mon, 12 Nov 2012 20:30:14 +0000 (12:30 -0800)]
Merge remote-tracking branch 'gh/wip-librbd-remove-cleanup'
Sage Weil [Mon, 22 Oct 2012 18:29:38 +0000 (11:29 -0700)]
osd: add 'osd debug drop op probability'
This is meant to exercise the kclient's timeout and osd reconnect logic
by dropping some client requests on the floor.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Mon, 12 Nov 2012 20:01:07 +0000 (12:01 -0800)]
mon: require pgnum in 'ceph osd pool create <poolname> <pgnum> [<pgp_num>]' command
The default of 8 is virtually never the right answer. Require the initial
pg count to be explicitly provided.
Signed-off-by: Sage Weil <sage@inktank.com>
Josh Durgin [Thu, 8 Nov 2012 00:48:32 +0000 (16:48 -0800)]
librbd: return actual error when detecting format fails during creation
This bit a couple users today, when bad osd caps resulted in a very
confusing error message.
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Josh Durgin [Mon, 12 Nov 2012 18:41:30 +0000 (10:41 -0800)]
Merge remote branch 'origin/wip-rbd-read'
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Sage Weil [Mon, 12 Nov 2012 19:08:46 +0000 (11:08 -0800)]
Merge remote-tracking branch 'gh/wip-client-symlinks'
Reviewed-by: Sam Lang <sam.lang@inktank.com>
Noah Watkins [Wed, 7 Nov 2012 04:17:25 +0000 (20:17 -0800)]
java: add symlink/readlink tests
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Sage Weil [Mon, 12 Nov 2012 18:07:49 +0000 (10:07 -0800)]
test_libcephfs: fix, add symlink loop tests
The first test did
/a/b/file
/a/b/sym -> /a/b
and opened /a/b/sym/file, which is valid. Change it to
/a/b/file
/a/b/sym -> /a/b/sym
which is not.
Add another test that does
/a -> /b
/b -> /c
/c -> /a
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Mon, 12 Nov 2012 16:56:45 +0000 (08:56 -0800)]
debug: adjust default debug levels
Trim out most noise, keep things that are interesting.
Notably, we are logging each message sent and received, and we are logging
the filestore operations when they get queued. Those may still benefit
from being turned off in high IOPS environments.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Sat, 10 Nov 2012 10:40:33 +0000 (02:40 -0800)]
Merge branch 'next'
Sage Weil [Sat, 10 Nov 2012 10:38:26 +0000 (02:38 -0800)]
Merge branch 'wip-client-leaks' into next
Sage Weil [Sat, 10 Nov 2012 10:35:04 +0000 (02:35 -0800)]
client: simplify/fix symlink loop check
Checking that we visit a symlink isn't correct; for example, the below is
valid, and we visit /b twice.
/a/b -> c
/a/c/d -> /a/b
In order to do this "correctly", I think we would need to track the pairs
of paths and symlinks we are resolving. But, reading the man pages,
ELOOP is actually just defined as traversing more than MAXSYMLINKS syms.
(It appears to be 20 on my machine.)
Just do that instead.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Sat, 10 Nov 2012 10:14:02 +0000 (02:14 -0800)]
client: fix path_walk for directory symlinks
Signed-off-by: Sage Weil <sage@inktank.com>
Josh Durgin [Thu, 8 Nov 2012 02:19:07 +0000 (18:19 -0800)]
OSDMonitor: remove max_devices and max_osd interdependency
Higher max_osd than max_devices doesn't hurt anything (and is the
normal way to add more osds). Higher max_devices than max_osds are
filtered out of crush results since
e541c0f8d871172ec61962372efca943308e5fe ,
so they don't matter either.
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Sage Weil [Fri, 9 Nov 2012 13:28:12 +0000 (05:28 -0800)]
mds: re-try_set_loner() after doing evals in eval(CInode*, int mask)
Consider a case where current loner is A and wanted loner is B.
At the top of the function we try to set the loner, but that may fail
because we haven't processed the gathered caps yet for the previous
loner. In the body we do that and potentially drop the old loner, but we
do not try_set_loner() again on the desired loner.
Try after our drop. If it succeeds, loop through the eval's one more time
so that we can issue caps approriately.
This fixes a hang induced by a simple loop like:
while true ; do echo asdf >> mnt.a/foo ; tail mnt.b/foo ; done &
while true ; do ls mnt.a mnt.b ; done
(The second loop may not be necessary.)
Signed-off-by: Sage Weil <sage@inktank.com>
Dan Mick [Sat, 10 Nov 2012 03:35:12 +0000 (19:35 -0800)]
Merge branch 'next'
Pull in types.h fix
Dan Mick [Sat, 10 Nov 2012 03:17:56 +0000 (19:17 -0800)]
si_t was not properly converting values < 100KB
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Sage Weil [Sat, 10 Nov 2012 02:34:22 +0000 (18:34 -0800)]
osdc/ObjectCacher: only call flush callback if we transitions to clean
If we race with e.g. truncate and are in bh_write_commit but the oset
is already clean, we should not call the flush callback (again).
This is reproduced by:
- kludging slow osd replies into the code (e.g., 2 second delay)
- mount ceph-fuse with --client-oc-max-dirty-age 1
- dd if=/dev/zero of=mnt/foo count=1
sleep 1
truncate --size 0 mnt/foo
-> crash
Signed-off-by: Sage Weil <sage@inktank.com>
tamil [Sat, 10 Nov 2012 01:55:20 +0000 (17:55 -0800)]
cleaned up scripts
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
Sage Weil [Fri, 9 Nov 2012 18:25:48 +0000 (10:25 -0800)]
client: ensure we don't leak MClientReply
We are careful to clear this reference when processing it.
Add an assert here. There's no way we can get 2 quick replies because
of the kick-back below.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 9 Nov 2012 19:32:44 +0000 (11:32 -0800)]
ceph-fuse: fix leak of args
Also fix up the helper we use to have fewer sharp edges.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 9 Nov 2012 19:02:51 +0000 (11:02 -0800)]
osdc/ObjectCacher: fix leak on readahead
If we initiate io (success == false) but have no waiter, we need to
delete the OSDRead.
This affects libcephfs/ceph-fuse, but not librbd, which does no readahead.
Signed-off-by: Sage Weil <sage@inktank.com>
Gary Lowell [Fri, 9 Nov 2012 21:28:13 +0000 (13:28 -0800)]
ceph.spec.in: Build debuginfo subpackage.
This is a partial fix for bug 3471. Enable building of debuginfo package.
Some distributions enable this automatically by installing additional rpm
macros, on others it needs to be explicity added to the spec file.
Josh Durgin [Fri, 9 Nov 2012 20:17:24 +0000 (12:17 -0800)]
test: add cli test for missing args to rbd
This includes 'rbd mv foo', which used to crash
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Josh Durgin [Fri, 9 Nov 2012 20:11:18 +0000 (12:11 -0800)]
rbd: check for second argument to mv/rename
Without this check, 'rbd mv foo' crashed trying to use a NULL char* as
a string.
Reported-by: Andrey Korolyov <andrey@xdel.ru>
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Josh Durgin [Fri, 9 Nov 2012 20:11:18 +0000 (12:11 -0800)]
rbd: check for second argument to mv/rename
Without this check, 'rbd mv foo' crashed trying to use a NULL char* as
a string.
Reported-by: Andrey Korolyov <andrey@xdel.ru>
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Sam Lang [Fri, 9 Nov 2012 19:52:07 +0000 (13:52 -0600)]
Merge branch 'wip-java-test'
Joe Buck [Thu, 8 Nov 2012 18:09:24 +0000 (10:09 -0800)]
test.sh: Adding LD_LIBRARY_PATH so JUnit can find .so files.
Removing useless java.library.path references.
Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Noah Watkins <noahwatkins@gmail.com>
Samuel Just [Fri, 9 Nov 2012 19:24:42 +0000 (11:24 -0800)]
doc/cluster-ops/pools.rst: Added documentation for min_size
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Sage Weil [Fri, 9 Nov 2012 18:12:21 +0000 (10:12 -0800)]
client: fix SnapRealm leak
Start ref count at 0; get_snap_realm() will increment it after alloc.
Fix the ref drop order so that the xlist is empty.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 9 Nov 2012 18:09:53 +0000 (10:09 -0800)]
client: debug SnapRealm reference counting
Signed-off-by: Sage Weil <sage@inktank.com>
Noah Watkins [Fri, 9 Nov 2012 04:16:53 +0000 (20:16 -0800)]
vstart: allow minimum pool size of one
A minimum pool size of 2 was introduced by
13486857cf . This sets the
minimum to one so that basic vstart environments work.
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Reviewed-by: Samuel Just <sam.just@inktank.com>
Sage Weil [Fri, 9 Nov 2012 18:02:59 +0000 (10:02 -0800)]
client: fix leak of Cap
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 9 Nov 2012 18:01:48 +0000 (10:01 -0800)]
client: fix leak of session release msg on session close
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 9 Nov 2012 17:59:39 +0000 (09:59 -0800)]
client: only start invalidator thread if cb != NULL
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 9 Nov 2012 17:52:08 +0000 (09:52 -0800)]
ceph-fuse: deallocate messenger, g_ceph_context on stop
This lets us use valgrind to find leaks.
Signed-off-by: Sage Weil <sage@inktank.com>
Joao Eduardo Luis [Fri, 9 Nov 2012 17:18:19 +0000 (17:18 +0000)]
doc: add-or-rm-mons.rst: fix a formatting typo
(also forgot the John's reviewed-by on the last commit)
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
Reviewed-by: John Wilkins <john.wilkins@inktank.com>
Joao Eduardo Luis [Fri, 9 Nov 2012 03:14:36 +0000 (03:14 +0000)]
doc: add-or-rm-mons.rst: make paths clearer
Some users have been incurring into problems adding new monitors while
following these steps. Some of these problems are due to the meaning of
'{path}' being a bit ambiguous. This patch removes said ambiguity by
replacing '{path}' with '{tmp}', supposed to be a temporary directory
containing the files necessary to add the monitor (monmap and keyring).
Fixes: #3438 #3463
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
Sage Weil [Fri, 9 Nov 2012 14:49:59 +0000 (06:49 -0800)]
client: give get_caps() out-arg a less confusing name
No functional change.
Call this arg "have" and not "got", since we only take a ref on what we
need.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 9 Nov 2012 14:48:10 +0000 (06:48 -0800)]
client: do not gratuitously drop FILE_CACHE ref in _read()
The get_caps() had a confusing out-arg called "got" that is really what
caps we *have*; it only takes a ref on the *need* cap. We should only
put that one explicitly (CEPH_CAP_FILE_RD). The _write() method already
does this properly, but _read() did not.
Fixes: #3470
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 9 Nov 2012 14:06:42 +0000 (06:06 -0800)]
client: assert cap refs don't go negative
This is the root cause of #3470.
Signed-off-by: Sage Weil <sage@inktank.com>
Dan Mick [Fri, 9 Nov 2012 03:28:38 +0000 (19:28 -0800)]
Merge branch 'next'
Josh Durgin [Fri, 9 Nov 2012 01:25:45 +0000 (17:25 -0800)]
librbd: take parent lock when examining fields it protects
This hasn't actually caused any problems, I just noticed
while looking through the code.
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Samuel Just [Fri, 9 Nov 2012 01:07:21 +0000 (17:07 -0800)]
OSDMap.cc: Add pool name to OSDMap dump
Otherwise, we can't use ceph osd dump --format=json to map pool name
onto pool id.
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Dan Mick [Fri, 9 Nov 2012 01:13:29 +0000 (17:13 -0800)]
rbd: fix snap unprotect, which was succeeding while clones existed
1) use right snap id when forming parent spec to search for children
2) add test case for "unprotect with extant children"
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Josh Durgin [Fri, 9 Nov 2012 00:57:12 +0000 (16:57 -0800)]
librbd: no need to scan snapshots for parents during remove
At this point we already know no snapshots exist.
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
tamil [Fri, 9 Nov 2012 00:06:04 +0000 (16:06 -0800)]
script clean up
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
tamil [Thu, 8 Nov 2012 23:53:05 +0000 (15:53 -0800)]
Added a function get_cmd_op
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
Gary Lowell [Thu, 8 Nov 2012 20:43:24 +0000 (12:43 -0800)]
build: Add RPM release string generated from git describe.
Fix for bug 3451. Use the commit count and sha1 from git describe to
construct a release string for rpm packages.
John Wilkins [Thu, 8 Nov 2012 19:59:30 +0000 (11:59 -0800)]
Merge branch 'master' of https://github.com/ceph/ceph
John Wilkins [Thu, 8 Nov 2012 19:59:15 +0000 (11:59 -0800)]
doc: Clarified text to reflect requirement for majority, not odd number of monitors.
fixes: 3464
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
Sage Weil [Thu, 8 Nov 2012 19:45:01 +0000 (11:45 -0800)]
Merge remote-tracking branch 'gh/wip-fix-symlinks'
Conflicts:
qa/qa_scripts/load-bucket-1000-obj.pl
src/test/libcephfs/test.cc
Sage Weil [Thu, 8 Nov 2012 19:40:36 +0000 (11:40 -0800)]
Merge remote-tracking branch 'gh/wip-mds'
Gary Lowell [Wed, 7 Nov 2012 20:41:10 +0000 (12:41 -0800)]
ceph.spec.in: Remove ceph version requirement from ceph-fuse package.
The ceph-fuse rpm package now only requires ceph as a pre-req, not a specific
version.
caleb miles [Tue, 23 Oct 2012 17:36:53 +0000 (13:36 -0400)]
rgw_admin: do not throw error when start-date and end-date are not
passed to usage::trim()
Signed-off-by: caleb miles <caleb.miles@inktank.com>
Joe Buck [Tue, 6 Nov 2012 23:12:06 +0000 (15:12 -0800)]
libcephfs_jni.cc: mtime and atime are Long data types. Changing the accessor methods to
reflect this fact
Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Noah Watkins <noahwatkins@gmail.com>
Noah Watkins [Fri, 2 Nov 2012 19:52:38 +0000 (12:52 -0700)]
configure: fail when missing junit dependency
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Noah Watkins [Fri, 2 Nov 2012 16:09:37 +0000 (09:09 -0700)]
Makefile: include Java test suite artifacts
Automake has problems handling the naming convention used by Java for
inner classes (x$y.class).
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Noah Watkins [Fri, 2 Nov 2012 15:27:30 +0000 (08:27 -0700)]
Makefile: include Java unit test runner
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Noah Watkins [Fri, 2 Nov 2012 15:19:52 +0000 (08:19 -0700)]
Makefile: only add source files to EXTRA_DIST
Prevents a make dist on a built tree from including the compiled
bytecode files produced from compiling the Java tests.
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Noah Watkins [Fri, 2 Nov 2012 15:15:12 +0000 (08:15 -0700)]
Makefile: use real file for make target
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Noah Watkins [Fri, 2 Nov 2012 15:13:09 +0000 (08:13 -0700)]
Makefile: remove redundant EXTRA_DIST
Already set at the beginning of the Makefile.am
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Joe Buck [Fri, 2 Nov 2012 05:26:34 +0000 (22:26 -0700)]
Changing build.xml to produce a jar instead of class files Adding a
TestSuite class to run all tests
Remove the libcephfs-test.jar when running ant clean
Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Noah Watkins <noahwatkins@gmail.com>
Joe Buck [Fri, 2 Nov 2012 00:17:23 +0000 (17:17 -0700)]
Adding libcephfs-java.jar to .gitignore
Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Noah Watkins <noahwatkins@gmail.com>
Joe Buck [Fri, 2 Nov 2012 00:16:45 +0000 (17:16 -0700)]
Adding a simple workunit that executes one libcephfs-java test
Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Noah Watkins <noahwatkins@gmail.com>
Joe Buck [Fri, 2 Nov 2012 00:14:10 +0000 (17:14 -0700)]
Moving test java files into a proper heirarchy. Moving the compilation
of tests classes from build.xml to Makefile and editing configure.ac to
look for the junit4 jar in the default location of /usr/share/java. It
is still possible to build and run tests from build.xml as well as
Makefile.
Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Noah Watkins <noahwatkins@gmail.com>
Noah Watkins [Thu, 8 Nov 2012 15:50:38 +0000 (07:50 -0800)]
java: fix return type on JNI function
Return value of declaration was is a JNI specific jlong type, while a
the return type of the definition was long. g++ not happy.
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Sage Weil [Thu, 8 Nov 2012 14:56:37 +0000 (06:56 -0800)]
vstart.sh: allow shorter MON, OSD, MDS count env vars
This will save me some typing.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Thu, 8 Nov 2012 14:56:21 +0000 (06:56 -0800)]
osdmap: make flag names match
It's 'ceph osd set noup', so make the flag name 'noup', to avoid any
confusion.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Thu, 8 Nov 2012 14:55:58 +0000 (06:55 -0800)]
mon: make osdmap flags incur a health warning
This will ensure that users will see a health warning when, for instance,
NOUP or PAUSE[RD|WR|EXEC] flags are set.
Signed-off-by: Sage Weil <sage@inktank.com>
John Wilkins [Thu, 8 Nov 2012 06:42:41 +0000 (22:42 -0800)]
doc: Rewrote index for install section per new IA.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Thu, 8 Nov 2012 06:42:12 +0000 (22:42 -0800)]
doc: Removed source/index from top-level toc tree per new IA.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Thu, 8 Nov 2012 06:41:35 +0000 (22:41 -0800)]
doc: Moved doc/source files to doc/install per new IA.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Thu, 8 Nov 2012 06:19:19 +0000 (22:19 -0800)]
doc: Syntax cleanup for new IA. Fix tip. Clean up for generating keys.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>