]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
16 years agocconf: restructure, use common infrastructure
Yehuda Sadeh [Thu, 12 Mar 2009 17:48:24 +0000 (10:48 -0700)]
cconf: restructure, use common infrastructure

16 years agocmon: typo
Yehuda Sadeh [Thu, 12 Mar 2009 16:33:16 +0000 (09:33 -0700)]
cmon: typo

16 years agodrop dstart/dstop
Sage Weil [Thu, 12 Mar 2009 05:05:57 +0000 (22:05 -0700)]
drop dstart/dstop

16 years agoinitscript: get pid_file so stop/reload/etc work
Sage Weil [Thu, 12 Mar 2009 05:05:01 +0000 (22:05 -0700)]
initscript: get pid_file so stop/reload/etc work

16 years agovstart: fix mkmonfs call
Sage Weil [Thu, 12 Mar 2009 05:00:08 +0000 (22:00 -0700)]
vstart: fix mkmonfs call

16 years agoconfutils: initialize pointer to null
Sage Weil [Thu, 12 Mar 2009 04:57:09 +0000 (21:57 -0700)]
confutils: initialize pointer to null

16 years agoconf: parameter substitution work (not fully working)
Yehuda Sadeh [Thu, 12 Mar 2009 00:32:08 +0000 (17:32 -0700)]
conf: parameter substitution work (not fully working)

16 years agoconfig: clean up sample conf
Sage Weil [Wed, 11 Mar 2009 23:31:00 +0000 (16:31 -0700)]
config: clean up sample conf

16 years agomakefile: remove sample.cluster.conf
Sage Weil [Wed, 11 Mar 2009 23:28:52 +0000 (16:28 -0700)]
makefile: remove sample.cluster.conf

16 years agocconf: added $num to substitution variables
Yehuda Sadeh [Wed, 11 Mar 2009 23:30:15 +0000 (16:30 -0700)]
cconf: added $num to substitution variables

16 years agocconf: can use substitution variables
Yehuda Sadeh [Wed, 11 Mar 2009 23:28:54 +0000 (16:28 -0700)]
cconf: can use substitution variables

16 years agoconfig: fix sample conf files
Sage Weil [Wed, 11 Mar 2009 23:07:16 +0000 (16:07 -0700)]
config: fix sample conf files

16 years agoinitscript: more fixes
Sage Weil [Wed, 11 Mar 2009 23:21:50 +0000 (16:21 -0700)]
initscript: more fixes

16 years agomkmonfs: fix argument parsing
Sage Weil [Wed, 11 Mar 2009 23:21:43 +0000 (16:21 -0700)]
mkmonfs: fix argument parsing

16 years agoconfig: fix cosd conf files
Sage Weil [Wed, 11 Mar 2009 23:09:46 +0000 (16:09 -0700)]
config: fix cosd conf files

16 years agoconfig: just ceph.conf, no more cluster.conf
Sage Weil [Wed, 11 Mar 2009 23:03:05 +0000 (16:03 -0700)]
config: just ceph.conf, no more cluster.conf

16 years agoconfig: more config fixes
Sage Weil [Wed, 11 Mar 2009 22:49:30 +0000 (15:49 -0700)]
config: more config fixes

16 years agoman: some manpages fixes
Sage Weil [Wed, 11 Mar 2009 22:49:17 +0000 (15:49 -0700)]
man: some manpages fixes

16 years agoconfig: can use alternative module name
Yehuda Sadeh [Wed, 11 Mar 2009 22:52:39 +0000 (15:52 -0700)]
config: can use alternative module name

16 years agoconfig: search in global section by default
Yehuda Sadeh [Wed, 11 Mar 2009 22:33:43 +0000 (15:33 -0700)]
config: search in global section by default

16 years agoinitscript: lots of changes
Sage Weil [Wed, 11 Mar 2009 22:23:46 +0000 (15:23 -0700)]
initscript: lots of changes

16 years agoconfig: fix mds, mon, osd startup
Sage Weil [Wed, 11 Mar 2009 21:58:58 +0000 (14:58 -0700)]
config: fix mds, mon, osd startup

16 years agomds: rework mds standby framework
Sage Weil [Wed, 11 Mar 2009 20:42:19 +0000 (13:42 -0700)]
mds: rework mds standby framework

16 years agomds: fix up startup options
Sage Weil [Wed, 11 Mar 2009 20:08:33 +0000 (13:08 -0700)]
mds: fix up startup options

16 years agomds: name mds daemon instances independent of their current logical rank
Sage Weil [Wed, 11 Mar 2009 20:04:03 +0000 (13:04 -0700)]
mds: name mds daemon instances independent of their current logical rank

16 years agocconf: resort to search in global section
Yehuda Sadeh [Wed, 11 Mar 2009 22:27:20 +0000 (15:27 -0700)]
cconf: resort to search in global section

16 years agocconf: fix alternate section name
Yehuda Sadeh [Wed, 11 Mar 2009 22:24:57 +0000 (15:24 -0700)]
cconf: fix alternate section name

16 years agocconf: search in both ${type}.${id} and ${type}${id}
Yehuda Sadeh [Wed, 11 Mar 2009 22:22:41 +0000 (15:22 -0700)]
cconf: search in both ${type}.${id} and ${type}${id}

16 years agocconf: add -i, -t options
Yehuda Sadeh [Wed, 11 Mar 2009 22:15:58 +0000 (15:15 -0700)]
cconf: add -i, -t options

16 years agoconf: restructure of the conf mechanism
Yehuda Sadeh [Wed, 11 Mar 2009 21:39:15 +0000 (14:39 -0700)]
conf: restructure of the conf mechanism

16 years agoinitscript: add 'pre start eval' hook
Sage Weil [Wed, 11 Mar 2009 18:36:07 +0000 (11:36 -0700)]
initscript: add 'pre start eval' hook

16 years agocosd: keep cores in src dir
Sage Weil [Wed, 11 Mar 2009 18:35:53 +0000 (11:35 -0700)]
cosd: keep cores in src dir

16 years agomkcephfs: no need for cluster.conf on cosd --mkfs_for_osd
Sage Weil [Wed, 11 Mar 2009 18:35:36 +0000 (11:35 -0700)]
mkcephfs: no need for cluster.conf on cosd --mkfs_for_osd

16 years agomonclient: check for monmap_file _first_
Sage Weil [Wed, 11 Mar 2009 18:35:08 +0000 (11:35 -0700)]
monclient: check for monmap_file _first_

16 years agomsgr: use daemon() to daemonize
Sage Weil [Wed, 11 Mar 2009 18:06:17 +0000 (11:06 -0700)]
msgr: use daemon() to daemonize

Otherwise we don't clean up all our fds or something and ssh execs hang.

16 years agocosd: use absolute paths
Sage Weil [Wed, 11 Mar 2009 18:03:57 +0000 (11:03 -0700)]
cosd: use absolute paths

16 years agomonclient: clean up
Sage Weil [Wed, 11 Mar 2009 18:03:43 +0000 (11:03 -0700)]
monclient: clean up

16 years agoinitscripts: fix some conf vs clusterconf problem
Sage Weil [Wed, 11 Mar 2009 18:03:33 +0000 (11:03 -0700)]
initscripts: fix some conf vs clusterconf problem

16 years agoosd: be more verbose about startup failures
Sage Weil [Wed, 11 Mar 2009 18:03:09 +0000 (11:03 -0700)]
osd: be more verbose about startup failures

16 years agoman: fix makefile
Sage Weil [Wed, 11 Mar 2009 17:05:56 +0000 (10:05 -0700)]
man: fix makefile

16 years agoconfig: print warning on daemon startup
Sage Weil [Wed, 11 Mar 2009 16:55:04 +0000 (09:55 -0700)]
config: print warning on daemon startup

16 years agodebian: don't include dupstore
Sage Weil [Wed, 11 Mar 2009 04:36:27 +0000 (21:36 -0700)]
debian: don't include dupstore

It's really only useful for ebofs vs filestore debugging.  If you're just
using filestore, you can just cp -a.

16 years agoman: mount.ceph man page
Sage Weil [Wed, 11 Mar 2009 04:35:44 +0000 (21:35 -0700)]
man: mount.ceph man page

16 years agoman: mkmonfs, monmaptool, ceph
Sage Weil [Wed, 11 Mar 2009 04:20:43 +0000 (21:20 -0700)]
man: mkmonfs, monmaptool, ceph

16 years agoman: cconf
Sage Weil [Wed, 11 Mar 2009 03:49:30 +0000 (20:49 -0700)]
man: cconf

16 years agoman: crushtool, osdmaptool
Sage Weil [Wed, 11 Mar 2009 03:38:47 +0000 (20:38 -0700)]
man: crushtool, osdmaptool

16 years agoman: csyn, crun man pages
Sage Weil [Tue, 10 Mar 2009 23:49:23 +0000 (16:49 -0700)]
man: csyn, crun man pages

16 years agoman: add cfuse man page
Sage Weil [Tue, 10 Mar 2009 23:30:15 +0000 (16:30 -0700)]
man: add cfuse man page

16 years agomkcephfs: fix typo
Sage Weil [Tue, 10 Mar 2009 23:23:52 +0000 (16:23 -0700)]
mkcephfs: fix typo

16 years agodebian: add man pages so far
Sage Weil [Tue, 10 Mar 2009 23:21:15 +0000 (16:21 -0700)]
debian: add man pages so far

16 years agoconf: add --show-conf,-S option that dumps conf and exits
Yehuda Sadeh [Tue, 10 Mar 2009 23:26:47 +0000 (16:26 -0700)]
conf: add --show-conf,-S option that dumps conf and exits

16 years agoman: document -m monaddr
Sage Weil [Tue, 10 Mar 2009 23:10:02 +0000 (16:10 -0700)]
man: document -m monaddr

16 years agoconfig: -c foo or --conf=foo; -C bar or --cluster-conf=bar
Sage Weil [Tue, 10 Mar 2009 23:08:00 +0000 (16:08 -0700)]
config: -c foo or --conf=foo; -C bar or --cluster-conf=bar

16 years agokclient: add mon enries for sysfs
Yehuda Sadeh [Tue, 10 Mar 2009 22:16:15 +0000 (15:16 -0700)]
kclient: add mon enries for sysfs

16 years agousage
Sage Weil [Tue, 10 Mar 2009 22:22:52 +0000 (15:22 -0700)]
usage

16 years agoman: more man pages
Sage Weil [Tue, 10 Mar 2009 22:00:46 +0000 (15:00 -0700)]
man: more man pages

16 years agocmds: remove unused --standby arg, rename --standby_replay_for to --shadow
Sage Weil [Tue, 10 Mar 2009 21:57:24 +0000 (14:57 -0700)]
cmds: remove unused --standby arg, rename --standby_replay_for to --shadow

16 years agoconfig: default to -d for server daemons; -D/--nodaemon for foreground operation
Sage Weil [Tue, 10 Mar 2009 21:43:07 +0000 (14:43 -0700)]
config: default to -d for server daemons; -D/--nodaemon for foreground operation

16 years agocosd: clean up startup options
Sage Weil [Tue, 10 Mar 2009 21:40:16 +0000 (14:40 -0700)]
cosd: clean up startup options

16 years agoman: mkcephfs, cosd man pages
Sage Weil [Tue, 10 Mar 2009 21:39:54 +0000 (14:39 -0700)]
man: mkcephfs, cosd man pages

16 years agodebian: fix lintian errors (except missing man pages)
Sage Weil [Tue, 10 Mar 2009 20:22:51 +0000 (13:22 -0700)]
debian: fix lintian errors (except missing man pages)

16 years agoinitscript: LSB block; add reload and force-reload
Sage Weil [Tue, 10 Mar 2009 20:22:37 +0000 (13:22 -0700)]
initscript: LSB block; add reload and force-reload

16 years agoinitscript: pre/post start/stop/forcestop hooks
Sage Weil [Tue, 10 Mar 2009 19:41:15 +0000 (12:41 -0700)]
initscript: pre/post start/stop/forcestop hooks

16 years agoconfig: allow chdir to arbitrary dir on daemonize (not just /)
Sage Weil [Tue, 10 Mar 2009 19:34:23 +0000 (12:34 -0700)]
config: allow chdir to arbitrary dir on daemonize (not just /)

This lets you configure where your core files go.

16 years agomkcephfs: take compiled 'crush map' or 'crush map src' from cluster.conf
Sage Weil [Tue, 10 Mar 2009 19:11:30 +0000 (12:11 -0700)]
mkcephfs: take compiled 'crush map' or 'crush map src' from cluster.conf

16 years agocrushtool: add --build command
Sage Weil [Tue, 10 Mar 2009 18:18:32 +0000 (11:18 -0700)]
crushtool: add --build command

16 years agoremove user error induced asserts
Sage Weil [Tue, 10 Mar 2009 16:49:06 +0000 (09:49 -0700)]
remove user error induced asserts

16 years agoMerge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable
Yehuda Sadeh [Tue, 10 Mar 2009 00:01:45 +0000 (17:01 -0700)]
Merge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable

16 years agokclient: add osdc data to sysfs
Yehuda Sadeh [Tue, 10 Mar 2009 00:01:31 +0000 (17:01 -0700)]
kclient: add osdc data to sysfs

16 years agobump version to v0.7.1 for unstable branch
Sage Weil [Mon, 9 Mar 2009 22:39:16 +0000 (15:39 -0700)]
bump version to v0.7.1 for unstable branch

16 years agomkcephfs: btrfsctl -a between mkfs and mount v0.7
Sage Weil [Mon, 9 Mar 2009 22:28:26 +0000 (15:28 -0700)]
mkcephfs: btrfsctl -a between mkfs and mount

16 years agokclient: patch series updates
Sage Weil [Mon, 9 Mar 2009 22:25:46 +0000 (15:25 -0700)]
kclient: patch series updates

16 years agokclient: fix /sys/fs/ceph/mdsmap
Sage Weil [Mon, 9 Mar 2009 21:58:20 +0000 (14:58 -0700)]
kclient: fix /sys/fs/ceph/mdsmap

16 years agokclient: sysfs whitespace cleanup
Sage Weil [Mon, 9 Mar 2009 21:56:40 +0000 (14:56 -0700)]
kclient: sysfs whitespace cleanup

Wrap at 80 columns...

16 years agokclient: fix patch series
Sage Weil [Mon, 9 Mar 2009 21:51:27 +0000 (14:51 -0700)]
kclient: fix patch series

16 years agoosdmap: use generic crush_build_bucket
Sage Weil [Mon, 9 Mar 2009 21:51:15 +0000 (14:51 -0700)]
osdmap: use generic crush_build_bucket

Easier to switch bucket types.  Avoids type cast.

16 years agokclient: fix osdmap decoding of straw buckets
Sage Weil [Mon, 9 Mar 2009 21:50:37 +0000 (14:50 -0700)]
kclient: fix osdmap decoding of straw buckets

Surprised this worked until now.

16 years agokclient: sysfs, free path after build_path
Yehuda Sadeh [Mon, 9 Mar 2009 21:55:54 +0000 (14:55 -0700)]
kclient: sysfs, free path after build_path

16 years agokclient: sysfs cleanup
Yehuda Sadeh [Mon, 9 Mar 2009 21:50:17 +0000 (14:50 -0700)]
kclient: sysfs cleanup

16 years agoMerge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable
Yehuda Sadeh [Mon, 9 Mar 2009 21:32:17 +0000 (14:32 -0700)]
Merge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable

16 years agokclient: sysfs, add mds name and op of current requests
Yehuda Sadeh [Mon, 9 Mar 2009 21:31:42 +0000 (14:31 -0700)]
kclient: sysfs, add mds name and op of current requests

16 years agokclient: simplify osd timeouts
Sage Weil [Mon, 9 Mar 2009 18:34:34 +0000 (11:34 -0700)]
kclient: simplify osd timeouts

Call handle_timeout N seconds after oldest request.  In
handle_timeout, reschedule N seconds in future.  Reschedule
with new oldest request when oldest requests completes.

Maintain a r_timeout_stamp value for each request.

16 years agocosd: fewer osds, with big btrfs devices
Sage Weil [Mon, 9 Mar 2009 20:57:22 +0000 (13:57 -0700)]
cosd: fewer osds, with big btrfs devices

16 years agoinitscripts: allow vars with spaces
Sage Weil [Mon, 9 Mar 2009 20:18:56 +0000 (13:18 -0700)]
initscripts: allow vars with spaces

16 years agoosdmap: build default crush maps out of mostly straw buckets
Sage Weil [Mon, 9 Mar 2009 20:18:05 +0000 (13:18 -0700)]
osdmap: build default crush maps out of mostly straw buckets

16 years agoconfutils: make max line very large
Sage Weil [Mon, 9 Mar 2009 19:51:04 +0000 (12:51 -0700)]
confutils: make max line very large

16 years agoMerge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable
Yehuda Sadeh [Mon, 9 Mar 2009 17:08:51 +0000 (10:08 -0700)]
Merge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable

16 years agokclient: add sysfs directory per mds request
Yehuda Sadeh [Mon, 9 Mar 2009 17:08:29 +0000 (10:08 -0700)]
kclient: add sysfs directory per mds request

16 years agofilepath: always prepend ino if it's nonzero
Sage Weil [Sat, 7 Mar 2009 00:45:55 +0000 (16:45 -0800)]
filepath: always prepend ino if it's nonzero

That means the only time we don't have an ino perfix is for fully
relative paths.

16 years agoclient: fix request paths
Sage Weil [Sat, 7 Mar 2009 00:44:37 +0000 (16:44 -0800)]
client: fix request paths

Use filepath, not bare string, whenever we can.

16 years agokclient: fix up replay after mds recovery
Sage Weil [Sat, 7 Mar 2009 00:26:05 +0000 (16:26 -0800)]
kclient: fix up replay after mds recovery

Do not kick unsafe requests in kick_requests (and in particular, do not
drop the session refs).

Set retry_attempt to MDS_REQUEST_REPLAY to indicate which requests are
replays.

16 years agomds: incorporate reconnect cap info after requests replay if ino originally missing
Sage Weil [Sat, 7 Mar 2009 00:25:04 +0000 (16:25 -0800)]
mds: incorporate reconnect cap info after requests replay if ino originally missing

If the client reasserts caps from replayed requests, the inodes don't yet
exists during the reconnect (or even rejoin) stage.  So, if we don't find
the inode, keep the reconnect info around.  When processing a replayed
request in CInode::encode_inodestat, set wanted/issued appropriately.

This is incomplete.  We really need something to ensure we deal with
replayed requests before new requests are handled.. and on a cluster-wide
basis, since requests may involve slave requests to other mds's.

We also should clean up reconnects unclaimed after all replays are
complete.  And somehow inform the client when the cap is officially
nonexistent and EBADF.

16 years agomds: include path base ino in client reconnect paths
Sage Weil [Fri, 6 Mar 2009 22:06:19 +0000 (14:06 -0800)]
mds: include path base ino in client reconnect paths

16 years agofilepath: no more leading / weirdness
Sage Weil [Fri, 6 Mar 2009 22:04:19 +0000 (14:04 -0800)]
filepath: no more leading / weirdness

Get rid of weird leading '/' iff ino==1 semantic.  Clean up interface a bit.

16 years agokclient: drop unused redirty code from set_page_dirty
Sage Weil [Fri, 6 Mar 2009 19:51:39 +0000 (11:51 -0800)]
kclient: drop unused redirty code from set_page_dirty

16 years agofilestore: lower min_sync_interval
Sage Weil [Fri, 6 Mar 2009 19:31:12 +0000 (11:31 -0800)]
filestore: lower min_sync_interval

We mainly need something non-zero here to ensure we batch some
requests up when we get a stream of requests with 'startsync'.

16 years agokclient: some bookkeeper fixes
Yehuda Sadeh [Fri, 6 Mar 2009 18:29:21 +0000 (10:29 -0800)]
kclient: some bookkeeper fixes

16 years agokclient: fix bookkeeper ifdef
Sage Weil [Fri, 6 Mar 2009 18:16:12 +0000 (10:16 -0800)]
kclient: fix bookkeeper ifdef

16 years agokclient: patch series descriptions, updates
Sage Weil [Fri, 6 Mar 2009 05:13:22 +0000 (21:13 -0800)]
kclient: patch series descriptions, updates

16 years agokclient: docs
Sage Weil [Fri, 6 Mar 2009 04:58:01 +0000 (20:58 -0800)]
kclient: docs