]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Mon, 2 Mar 2009 22:14:48 +0000 (14:14 -0800)]
kclient: make statfs() cleanup when interrupted
Statfs() needs to remove itself from the request tree when
completed or canceled. Otherwise, we end up with request
pointers to bad locations on the stack. Fixes crash from
dbench after control-c.
Sage Weil [Mon, 2 Mar 2009 21:48:58 +0000 (13:48 -0800)]
kclient: remove /proc cruft
Sage Weil [Mon, 2 Mar 2009 21:48:40 +0000 (13:48 -0800)]
kclient: remove old client_list cruft
Sage Weil [Mon, 2 Mar 2009 21:45:40 +0000 (13:45 -0800)]
Revert "kclient: fix __grab_cache_page #if"
This reverts commit
220b116bfdc0ede84da93f296d42706fc0fc23f4 .
Linux commit
54566b2c1594c2326a645a3551f9d989f7ba3c5e falls between
v2.6.28 and v2.6.29-rc1, so this #if should be 2.6.29.
Sage Weil [Mon, 2 Mar 2009 21:36:01 +0000 (13:36 -0800)]
vstart: fix conf, use -d on startup, etc.
Sage Weil [Mon, 2 Mar 2009 21:25:00 +0000 (13:25 -0800)]
debian: restructure packages
Consolidate. Fix dependencies.
Sage Weil [Mon, 2 Mar 2009 20:37:49 +0000 (12:37 -0800)]
todos, changelog
Sage Weil [Fri, 27 Feb 2009 21:14:09 +0000 (13:14 -0800)]
kclient: fix __grab_cache_page #if
2.6.28, not .29
Sage Weil [Mon, 2 Mar 2009 19:09:04 +0000 (11:09 -0800)]
initscripts: clean out old scripts
Sage Weil [Mon, 2 Mar 2009 19:11:20 +0000 (11:11 -0800)]
initscripts: rename ceph-daemons init-ceph
My real motivation is just to be able to type './i<tab>' instead of
'./ce<tab>-<tab>'.
Sage Weil [Mon, 2 Mar 2009 18:11:14 +0000 (10:11 -0800)]
initscripts: add 'killall' command
Sage Weil [Mon, 2 Mar 2009 18:07:35 +0000 (10:07 -0800)]
cosd: rename conf file
Sage Weil [Mon, 2 Mar 2009 18:05:57 +0000 (10:05 -0800)]
initscripts: fix stop_daemon; add 'forcestop' command
Sage Weil [Mon, 2 Mar 2009 17:59:01 +0000 (09:59 -0800)]
initscripts: add 'cleanlogs' and 'cleanalllogs' options
Sage Weil [Mon, 2 Mar 2009 17:51:13 +0000 (09:51 -0800)]
initscripts: ensure cluster.conf exists
Sage Weil [Mon, 2 Mar 2009 17:29:08 +0000 (09:29 -0800)]
debian: missing files
Sage Weil [Mon, 2 Mar 2009 17:34:07 +0000 (09:34 -0800)]
config: remove osd_rep
We always use primary copy replication mode.
Sage Weil [Mon, 2 Mar 2009 17:31:21 +0000 (09:31 -0800)]
config: remove obsolete ms_* fields
Used to be used for startup via mpi or similar.
Sage Weil [Mon, 2 Mar 2009 17:28:34 +0000 (09:28 -0800)]
config: remove some debug cruft
mkfs, tick, osd_remount_at. rename some stuff.
Sage Weil [Mon, 2 Mar 2009 05:31:10 +0000 (21:31 -0800)]
makefile: cleanup, some sample conf files
They're in /etc/conf/sample.*.conf, when technically they should probably
be in /usr/doc/ceph or something? Not sure.
Sage Weil [Sun, 1 Mar 2009 05:58:34 +0000 (21:58 -0800)]
config: rename logger/dout config fields to make more sense
'logger' is the common/Logger.cc stats/instrumentation. 'log' is the
dout() log business.
Sage Weil [Sun, 1 Mar 2009 05:50:19 +0000 (21:50 -0800)]
makefile: put sample conf files in /etc/ceph
Sage Weil [Sun, 1 Mar 2009 05:37:16 +0000 (21:37 -0800)]
initial sample.ceph.conf (incomplete)
Sage Weil [Sun, 1 Mar 2009 00:25:29 +0000 (16:25 -0800)]
fix pid file removal
Sage Weil [Sun, 1 Mar 2009 00:12:20 +0000 (16:12 -0800)]
initscript: include all monitor addrs on command line
Sage Weil [Sun, 1 Mar 2009 00:06:27 +0000 (16:06 -0800)]
initscripts: make mkcephfs and initscript behave on cosd*
Sage Weil [Sun, 1 Mar 2009 00:00:40 +0000 (16:00 -0800)]
config: parse 'monmap file' from conf files
Sage Weil [Sat, 28 Feb 2009 23:52:46 +0000 (15:52 -0800)]
cosd: don't screw up stdout with NULL string
Sage Weil [Sat, 28 Feb 2009 23:52:18 +0000 (15:52 -0800)]
config: chdir_root on by default
Sage Weil [Sat, 28 Feb 2009 23:48:09 +0000 (15:48 -0800)]
config: use daemon() call; rename use_abspath to chdir_root
Sage Weil [Sat, 28 Feb 2009 05:19:52 +0000 (21:19 -0800)]
config: fix conf metaoption parsing
Remove from args[] so that caller doesn't get confused by them.
Yehuda Sadeh [Sat, 28 Feb 2009 01:20:10 +0000 (17:20 -0800)]
ceph-daemons: some more fixes
Yehuda Sadeh [Sat, 28 Feb 2009 01:11:22 +0000 (17:11 -0800)]
Merge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable
Yehuda Sadeh [Sat, 28 Feb 2009 01:11:10 +0000 (17:11 -0800)]
ceph-daemons: some more fixes
Sage Weil [Sat, 28 Feb 2009 00:41:07 +0000 (16:41 -0800)]
rename sample.startup.conf
Sage Weil [Sat, 28 Feb 2009 00:39:40 +0000 (16:39 -0800)]
more cleanup
Sage Weil [Sat, 28 Feb 2009 00:39:09 +0000 (16:39 -0800)]
makefile: cleanup
Sage Weil [Sat, 28 Feb 2009 00:17:40 +0000 (16:17 -0800)]
ceph-daemons: generate list of items to stop/start in ceph_common.sh
nothing -> everything
mon -> all monitors (mon*)
mds0 -> just mds0
Sage Weil [Sat, 28 Feb 2009 00:04:34 +0000 (16:04 -0800)]
ceph-daemons: simplify crun/valgrind logic
Yehuda Sadeh [Sat, 28 Feb 2009 00:04:20 +0000 (16:04 -0800)]
ceph-daemons: fixed merge
Yehuda Sadeh [Sat, 28 Feb 2009 00:02:09 +0000 (16:02 -0800)]
Merge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable
Yehuda Sadeh [Sat, 28 Feb 2009 00:01:53 +0000 (16:01 -0800)]
ceph-daemons: minor changes
Sage Weil [Fri, 27 Feb 2009 23:51:55 +0000 (15:51 -0800)]
ceph-daemons: 'stop' works
Yehuda Sadeh [Fri, 27 Feb 2009 23:49:01 +0000 (15:49 -0800)]
Merge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable
Conflicts:
src/ceph-daemons
Yehuda Sadeh [Fri, 27 Feb 2009 23:46:10 +0000 (15:46 -0800)]
ceph-daemons: works partially
Sage Weil [Fri, 27 Feb 2009 23:44:14 +0000 (15:44 -0800)]
vstart: some changes
no more crun wrapper; rename ceph_stop back to stop.sh
Sage Weil [Fri, 27 Feb 2009 23:15:11 +0000 (15:15 -0800)]
vstart: no more crun
Sage Weil [Fri, 27 Feb 2009 23:11:19 +0000 (15:11 -0800)]
mkcephfs
Still need to add optional mkbtrfs + mount stuff.
Sage Weil [Fri, 27 Feb 2009 22:23:49 +0000 (14:23 -0800)]
debian: update packages
Sage Weil [Fri, 27 Feb 2009 22:23:40 +0000 (14:23 -0800)]
makefile, todo
Sage Weil [Fri, 27 Feb 2009 22:19:21 +0000 (14:19 -0800)]
config: specify --monmap_file on command line
Still defaults to .ceph_monmap.
Sage Weil [Fri, 27 Feb 2009 21:12:25 +0000 (13:12 -0800)]
client: fix warning
Sage Weil [Fri, 27 Feb 2009 21:12:15 +0000 (13:12 -0800)]
ceph-daemon: some comments
Yehuda Sadeh [Fri, 27 Feb 2009 22:33:15 +0000 (14:33 -0800)]
ceph-daemons: no norestart any more
Yehuda Sadeh [Fri, 27 Feb 2009 22:30:09 +0000 (14:30 -0800)]
ceph-daemons: read config for different entities
Yehuda Sadeh [Fri, 27 Feb 2009 20:55:41 +0000 (12:55 -0800)]
crun: replace $* with "$@"
Yehuda Sadeh [Fri, 27 Feb 2009 20:51:51 +0000 (12:51 -0800)]
ceph-daemons: replace $* with "$@"
Sage Weil [Fri, 27 Feb 2009 20:43:10 +0000 (12:43 -0800)]
crun: simplify to just restart if coredump
Yehuda Sadeh [Fri, 27 Feb 2009 20:36:38 +0000 (12:36 -0800)]
cephd: added "osd journal" option
Sage Weil [Fri, 27 Feb 2009 19:38:22 +0000 (11:38 -0800)]
ceph-daemons: add --allhosts option
By default only start hosts on the current host if 'host' is defined. If
--allhosts is specified, ssh into the remote host to start/stop as needed.
Sage Weil [Fri, 27 Feb 2009 19:18:45 +0000 (11:18 -0800)]
sample startup.conf
Sage Weil [Fri, 27 Feb 2009 19:03:23 +0000 (11:03 -0800)]
ceph-daemons: restructured (but incomplete) init.d script
Only start/stop items explicitly defined in startup.conf.
Start specific osds or mdss (e.g. 'start osd12')
No NUM_OSD type iteration.. that only makes sense in a testing/dev
environment.
Extract options for each daemon in both start AND stop path, so that we can
stop the right daemon... e.g. if it is on a remote host or some such thing.
Try to be smart about looking for things in . or /usr/bin, /etc/ceph, etc.
Sage Weil [Fri, 27 Feb 2009 18:57:24 +0000 (10:57 -0800)]
config: optionally maintain a pid file
Remove it when we shut down _only_ if it matches getpid().
Sage Weil [Fri, 27 Feb 2009 18:23:21 +0000 (10:23 -0800)]
cconf: ability to list section names
'./cconf -c ceph.conf -l foo' will list all section names that begin with
'foo'.
Sage Weil [Fri, 27 Feb 2009 17:20:37 +0000 (09:20 -0800)]
ceph_init: assume CEPH_BIN is `dirname ceph_init`
Sage Weil [Fri, 27 Feb 2009 17:05:19 +0000 (09:05 -0800)]
ceph_init: default to /etc/ceph/startup.conf
Sage Weil [Fri, 27 Feb 2009 16:46:41 +0000 (08:46 -0800)]
debian: Build-depends libedit-dev
Sage Weil [Fri, 27 Feb 2009 04:47:11 +0000 (20:47 -0800)]
logger: validate log type; remove unused mds.logger2
Catch any undefined columns early. Only real non-startup runtime danger
is sending events to the wrong logger, now.
Sage Weil [Fri, 27 Feb 2009 04:27:56 +0000 (20:27 -0800)]
debug: ensure a SIGHUP reopens log reasonably soon
Since nothing new may be written to the log for a while, check if it needs
to be reopened in the mds/osd/mon tick() method.
Sage Weil [Fri, 27 Feb 2009 02:34:42 +0000 (18:34 -0800)]
logger: fix again
bah
Sage Weil [Fri, 27 Feb 2009 02:33:40 +0000 (18:33 -0800)]
config: only build an abspath if it's not already absolute
Sage Weil [Fri, 27 Feb 2009 01:36:25 +0000 (17:36 -0800)]
config: default to etc/ceph/ceph.conf
Sage Weil [Fri, 27 Feb 2009 01:23:11 +0000 (17:23 -0800)]
debian: include var/log/ceph in package
Sage Weil [Fri, 27 Feb 2009 01:23:03 +0000 (17:23 -0800)]
logger: cleanup; make feeble attempt to create log dir
Sage Weil [Fri, 27 Feb 2009 01:13:43 +0000 (17:13 -0800)]
config: prefix default paths with install prefix
Sage Weil [Thu, 26 Feb 2009 23:05:08 +0000 (15:05 -0800)]
config: verify argument exists before dereferencing args[++i]
Avoid segfault on malformed command line args.
Sage Weil [Thu, 26 Feb 2009 22:50:38 +0000 (14:50 -0800)]
config: use sane default paths for logs; use .conf for *start.sh
Specify sane deafult paths for logs (/var/log/ceph/*). Use workingdir.conf
when starting up from dstart.sh or vstart.sh to use directories relative
to the current (presumably, build) directory.
Sage Weil [Thu, 26 Feb 2009 22:48:40 +0000 (14:48 -0800)]
logger: fixes
Sage Weil [Thu, 26 Feb 2009 19:25:37 +0000 (11:25 -0800)]
logger: identify fields with int constants instead of strings
This avoids the crufty hashes and so forth. The only downside is that
_all_ fields must be predeclared. That's probably a good thing anyway.
Logger will assert if the key is invalid or the name hasn't been
registered. Hopefully I haven't missed any.
Sage Weil [Thu, 26 Feb 2009 17:52:20 +0000 (09:52 -0800)]
config: remove ms_hosts
Sage Weil [Thu, 26 Feb 2009 17:52:00 +0000 (09:52 -0800)]
logger: configurable output dir
Sage Weil [Thu, 26 Feb 2009 17:47:42 +0000 (09:47 -0800)]
osd: strip out hard-coded osd device paths
The correct device path should be specified on the command line.
Sage Weil [Thu, 26 Feb 2009 17:23:34 +0000 (09:23 -0800)]
kclient: zero_user_segments doesn't appear until 2.6.25
Sage Weil [Wed, 25 Feb 2009 23:47:41 +0000 (15:47 -0800)]
kclient: more sysfs cleanup, bug fixes
Sage Weil [Wed, 25 Feb 2009 23:07:38 +0000 (15:07 -0800)]
kclient: fix kbuild patch, import script
Sage Weil [Wed, 25 Feb 2009 23:07:24 +0000 (15:07 -0800)]
kclient: move parens
Sage Weil [Wed, 25 Feb 2009 22:40:55 +0000 (14:40 -0800)]
kclient: changes for 2.6.29
Sage Weil [Wed, 25 Feb 2009 22:39:08 +0000 (14:39 -0800)]
kclient: avoid simple_prepare_write()
No longer exported.
Sage Weil [Wed, 25 Feb 2009 22:34:55 +0000 (14:34 -0800)]
kclient: separate Kconfig
Sage Weil [Wed, 25 Feb 2009 21:07:23 +0000 (13:07 -0800)]
todos
Sage Weil [Wed, 25 Feb 2009 20:49:48 +0000 (12:49 -0800)]
kclient: add module author
Sage Weil [Wed, 25 Feb 2009 20:49:18 +0000 (12:49 -0800)]
kclient: dup kobj_sysfs_ops from kobject.c
They're not exported, bleh.
Sage Weil [Wed, 25 Feb 2009 20:38:32 +0000 (12:38 -0800)]
journal: initiate full commit when journal hits 50% full
We want to avoid filling up the journal, particularly since
_start_sync is a no-op with a journal enabled.
Sage Weil [Wed, 25 Feb 2009 20:37:28 +0000 (12:37 -0800)]
filestore: don't initiate sync on _start_sync if there's a journal
Journal will commit immediately anyway.. don't slow the rest
down with a full commit to disk.
Sage Weil [Wed, 25 Feb 2009 20:20:43 +0000 (12:20 -0800)]
osd: don't clobber log output stream
Don't print a null char pointer.
Sage Weil [Wed, 25 Feb 2009 20:19:54 +0000 (12:19 -0800)]
mon: only do big sync if we're flushing lots of states
The rest of the time, fsync them individually.
Sage Weil [Wed, 25 Feb 2009 19:10:43 +0000 (11:10 -0800)]
kclient: include sysfs (and not proc) in kernel client patchset
Sage Weil [Wed, 25 Feb 2009 19:05:55 +0000 (11:05 -0800)]
osd: take journal on command line
./cosd dev -j journaldev ...
Sage Weil [Wed, 25 Feb 2009 18:09:19 +0000 (10:09 -0800)]
kclient: remove /proc/fs/ceph
/sys/fs/ceph now does everything it used to.
Sage Weil [Wed, 25 Feb 2009 18:06:03 +0000 (10:06 -0800)]
kclient: add other maps to sysfs