Commit Graph

10860 Commits

Author SHA1 Message Date
Thomas Mueller f725f20385 debian: move utils rbd,rados,csyn to ceph-client-tools
Signed-off-by: Thomas Mueller <thomas@chaschperli.ch>
Signed-off-by: Sage Weil <sage@newdream.net>
2010-08-02 13:26:30 -07:00
Thomas Mueller c61a6c32f3 debian: move mount.ceph to ceph-client-tools
Signed-off-by: Thomas Mueller <thomas@chaschperli.ch>
Signed-off-by: Sage Weil <sage@newdream.net>
2010-08-02 13:26:27 -07:00
Sage Weil 3fc47c2e35 Merge branch 'testing' into unstable 2010-08-02 13:26:23 -07:00
Sage Weil 9ccf9cb6c5 debian: move fuse-utils dep to ceph-fuse
Reported-by: Thomas Mueller <thomas@chaschperli.ch>
Signed-off-by: Sage Weil <sage@newdream.net>
2010-08-02 13:26:09 -07:00
Christian Brunner baa69ad7ce cclass: fix .so loading file
The only thing I've found, is that the *.so files are included in the -devel
rpm. This leads to the fact that the 'find' in cclass doesn't return any
files. I'd suggest the attached change in the script.

Christian

Signed-off-by: Sage Weil <sage@newdream.net>
2010-08-02 13:23:55 -07:00
Sage Weil 9bfb8da9f9 osd: send latest osdmap when we stop sending heartbeats to peer
Otherwise, they may still expect them, and may mark us down.
2010-08-02 13:23:55 -07:00
Sage Weil 4a7c3553a7 osd: avoid most of handle_osd_map if there are no new maps in message
We don't want to take the time to flush things to disk and shut down all
the worker threads if there is nothing new in the osdmap update (as is
usually the case).

Signed-off-by: Sage Weil <sage@newdream.net>
2010-08-02 13:23:55 -07:00
Sage Weil 025bce64f4 osd: send heartbeat request from update_heartbeat_peers
This keeps our from_stamps in a consistent state, and sends the hb request
sooner rather than later.

Signed-off-by: Sage Weil <sage@newdream.net>
2010-08-02 13:14:52 -07:00
Sage Weil 30cdc3dde5 mon: drop redundant pg_temp mappings 2010-08-02 13:13:06 -07:00
Sage Weil 90a2f2010e mon: make backward-compat mon id's start at '0', not 'a'
Signed-off-by: Sage Weil <sage@newdream.net>
2010-08-02 13:13:06 -07:00
Sage Weil 88c17f423a osd: add asserts when indexing pg log by reqid
This should help catch callers that submit dup entries with the same
request id, causing other problems down the line.
2010-08-02 12:32:06 -07:00
Sage Weil 2136ee7636 mds: make mislinked dentry during replay workaround tolerate directories, too
This should probably all go away when the original bug is fixed!
2010-08-02 09:57:30 -07:00
Sage Weil 67236ae746 move logrotate conf out of debian/ to fix ceph.spec 2010-08-02 09:15:34 -07:00
Wido den Hollander 1d22196426 auth: fix cast 2010-07-31 09:14:21 -07:00
Wido den Hollander e3721638a2 rgw: Support a loglevel of 0 2010-07-30 17:14:37 -07:00
Sage Weil 309f065254 cauthtool: correct man page sample of minimal fs client caps 2010-07-30 16:35:59 -07:00
Yehuda Sadeh 7153244734 rgw: fix setting acls on the bucket 2010-07-30 16:12:43 -07:00
Sage Weil b502be7a8d move mkcephfs to /sbin 2010-07-30 12:06:10 -07:00
Sage Weil 7465b5e37d debian: more cleanups
https://code.launchpad.net/~clint-fewbar/review-new-branches/ceph-new-pkg/+merge/31303
2010-07-30 12:05:55 -07:00
Sage Weil 8b8fd7e9c2 auth: define AES iv in common header
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-30 10:24:45 -07:00
Thomas Mueller 325b41a3da add files to .gitignore
add generated files to gitignore.

Signed-off-by: Thomas Mueller <thomas@chaschperli.ch>
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-30 09:19:03 -07:00
Thomas Mueller bcbad88de1 redirect stdout to /dev/null when reloading
the reload command prints to stdout. example:

# service ceph reload
=== mon.0 ===
Reloading Ceph mon0 on hoe001...kill -1 22197...done
=== osd.0 ===
Reloading Ceph osd0 on hoe001...kill -1 22263...done

"properly" configured systems will send the output by mail to
the administrator - this is not desired in case of successfull
reloading.

Signed-off-by: Thomas Mueller <thomas@chaschperli.ch>
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-30 09:18:54 -07:00
Sage Weil b72c1bb6e9 monclient: use default port if not specified via -m
Reported-by: Thomas Mueller <thomas@chaschperli.ch>
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-29 15:49:27 -07:00
Sage Weil 728c7669bd mon: we support MONNAMES feature 2010-07-29 13:32:27 -07:00
Sage Weil 9052986fd3 Merge branch 'unstable' into mon-remove
Conflicts:
	src/cmon.cc
	src/include/ceph_fs.h
	src/mon/MonClient.cc
	src/mon/Monitor.cc
2010-07-29 13:24:08 -07:00
Sage Weil 11dc1af176 mon: fix signed/unsigned compile warning 2010-07-29 11:37:17 -07:00
Sage Weil 719aa186dc debian: add update_pbuilder.sh script; don't do it during build 2010-07-29 11:32:19 -07:00
Sage Weil f3ac22ab17 bump unstable version to v0.22~rc 2010-07-29 09:38:50 -07:00
Sage Weil 090436f56a v0.21 2010-07-29 09:37:16 -07:00
Yehuda Sadeh ea2ce9d4b5 cclass.in: fix libdir definition 2010-07-29 09:37:16 -07:00
Thomas Mueller fd4029cb0a debian/ceph.logrotate: enhance postrotate for "service" util
[ The following text is in the "UTF-8" character set. ]
    [ Your display is set for the "iso-8859-1" character set.  ]
    [ Some characters may be displayed incorrectly. ]

invoke-rc.d is debian specific.

run "service ceph reload" if invoke-rc.d fails.

Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-29 09:29:31 -07:00
Sage Weil 6db8975607 mon: trim old logm states
Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-29 09:17:03 -07:00
Thomas Mueller e1a9768545 debian: ceph-cfuse: move ceph from Recommends to Suggests
on a standalone fuse client ceph serverside is not needed. if it's
"Recommended" the default behaviour is to install it too. Move it to "Suggests"
that it's not installed by default if one installs just ceph-fuse.

from debian policy:
Suggests:
This is used to declare that one package may be more useful with one or more
others. Using this field tells the packaging system and the user that the listed
packages are related to this one and can perhaps enhance its usefulness, but
that installing this one without them is perfectly reasonable.

- Thomas

Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-29 09:14:11 -07:00
Thomas Mueller 183984e110 ceph.spec.in: create /var/log/ceph/stat dir
the logrotate config expects a var/log/ceph/stat dir - create it.

Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-29 09:14:11 -07:00
Sage Weil ce07f280c7 ceph.spec.in: rbdtool -> rbd
Reported-by: markn1
2010-07-28 21:04:36 -07:00
Sage Weil b0616f8516 debian: drop gcc, g++ build deps 2010-07-28 16:28:37 -07:00
Sage Weil 9c6ae54c30 release: drop wildcard 2010-07-28 16:25:46 -07:00
Sage Weil 487f0e8550 debian: remove gcc/g++ build-depends
(as per Clint Byrum)
2010-07-28 16:25:46 -07:00
Sage Weil 58181fe584 debian: add trailing newline 2010-07-28 16:25:46 -07:00
Sage Weil 39a3db6be8 debian: fix debhelper depend version
dh_lintian was introduced in 6.0.7
2010-07-28 16:25:46 -07:00
Sage Weil 07d880ea57 debian: update to latest standards version 2010-07-28 16:25:46 -07:00
Sage Weil 47688a433d debian: fix weak-library-dev-dependency
E: ceph source: weak-library-dev-dependency librados1-dev on librados1
E: ceph source: weak-library-dev-dependency libceph1-dev on libceph1
2010-07-28 16:25:46 -07:00
Sage Weil 3ed08a330a check_version: don't globber .git_version if we're not in a git repo
namely, when you extract the release tarball!
2010-07-28 15:41:31 -07:00
Sage Weil 8b0bf8e1c1 filestore: add option to disable use of btrfs clone range ioctl 2010-07-28 15:00:54 -07:00
Sage Weil eb1f58743a filestore: fix fallback clone_range implementation on short files
If we read less data from the source, don't loop forever... return -ERANGE
instead.
2010-07-28 14:57:11 -07:00
Sage Weil 43d28dbc7b release: put .git_version in release tarball 2010-07-28 13:57:43 -07:00
Greg Farnum 9b8e2b4f76 pgmon: Remove creating_pgs which are from deleted pools. 2010-07-28 13:37:14 -07:00
Sage Weil 425e052e4b osd: drop broken (and useless) PG::merge_log assert
The assert should be olog.backlog, not log.backlog.  But it's the same
condition as the if guard that's 3 lines up, making it pretty useless.
Just drop it.
2010-07-28 12:47:21 -07:00
Greg Farnum 05a18e20b7 mds: handle this log replay error better:
Log it to the central log so it gets noticed, and
delete the "wrong inode" instead of just unlinking it, to prevent later crashiness.

Should at least band-aid over #312.
2010-07-28 11:55:12 -07:00
Yehuda Sadeh b01cc38fe4 rgw: set default log level to 20 2010-07-28 11:41:36 -07:00