]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
16 years agomon: include pg usage stats, header in pg dump
Sage Weil [Wed, 8 Oct 2008 23:31:50 +0000 (16:31 -0700)]
mon: include pg usage stats, header in pg dump

16 years agodebian: move map tools and crun to ceph-common
Sage Weil [Wed, 8 Oct 2008 23:18:10 +0000 (16:18 -0700)]
debian: move map tools and crun to ceph-common

16 years agoosd: account for used kb separately
Sage Weil [Wed, 8 Oct 2008 19:10:16 +0000 (12:10 -0700)]
osd: account for used kb separately

Account for used separately from available, as the underlying fs may do tricks
reserving space for root and such.

16 years agoosd: use kb instead of blocks for pg, osd utilization
Sage Weil [Wed, 8 Oct 2008 18:43:08 +0000 (11:43 -0700)]
osd: use kb instead of blocks for pg, osd utilization

16 years agoosd: prioritize heartbeat messages
Sage Weil [Wed, 8 Oct 2008 17:52:46 +0000 (10:52 -0700)]
osd: prioritize heartbeat messages

16 years agomsgr: include priority in msg header, make dispatch a priority queue
Sage Weil [Wed, 8 Oct 2008 17:49:12 +0000 (10:49 -0700)]
msgr: include priority in msg header, make dispatch a priority queue

Generalizes previous hack that put messages from the monitor at the front of the
dispatch queue.  Monitor now just sets a (non-default) default_send_priority
of CEPH_MSG_PRIO_HIGH.  That value is used only if the message priority isn't
set explicitly by set_priority() before being queued for send.

16 years agojournal: protect journal access (namely, completions) with mutex
Sage Weil [Wed, 8 Oct 2008 16:47:37 +0000 (09:47 -0700)]
journal: protect journal access (namely, completions) with mutex

The commit_waiters map was getting corrupted occasionally.

16 years agodebian: include crun in osd, mds, mon packages
Sage Weil [Wed, 8 Oct 2008 16:31:23 +0000 (09:31 -0700)]
debian: include crun in osd, mds, mon packages

16 years agoosdmaptool: fix silly num_dom bug
Sage Weil [Wed, 8 Oct 2008 16:28:58 +0000 (09:28 -0700)]
osdmaptool: fix silly num_dom bug

16 years agoceph.spec.in: include crun
Erwin, Brock A [Wed, 8 Oct 2008 16:28:32 +0000 (09:28 -0700)]
ceph.spec.in: include crun

16 years agokclient: initializing kaddr (merge fix) v0.4
Yehuda Sadeh [Tue, 7 Oct 2008 20:18:52 +0000 (13:18 -0700)]
kclient: initializing kaddr (merge fix)

16 years agoMerge branch 'writepage' into unstable
Yehuda Sadeh [Tue, 7 Oct 2008 20:04:32 +0000 (13:04 -0700)]
Merge branch 'writepage' into unstable

Conflicts:

src/kernel/messenger.c

16 years agokclient: use both writepage and crc
Yehuda Sadeh [Tue, 7 Oct 2008 18:25:09 +0000 (11:25 -0700)]
kclient: use both writepage and crc

16 years agokclient: disabling the readpage
Yehuda Sadeh [Tue, 7 Oct 2008 00:43:42 +0000 (17:43 -0700)]
kclient: disabling the readpage

16 years agokclient: disabling readpage
Yehuda Sadeh [Tue, 7 Oct 2008 00:37:41 +0000 (17:37 -0700)]
kclient: disabling readpage

16 years agokclient: use writepage instead of sendmsg for some of the data
Yehuda Sadeh [Tue, 7 Oct 2008 00:32:00 +0000 (17:32 -0700)]
kclient: use writepage instead of sendmsg for some of the data

16 years agokclient: missing include file
Yehuda Sadeh [Tue, 7 Oct 2008 19:35:27 +0000 (12:35 -0700)]
kclient: missing include file

16 years agoRevert "kclient: use writepage instead of sendmsg for some of the data"
Yehuda Sadeh [Tue, 7 Oct 2008 18:27:46 +0000 (11:27 -0700)]
Revert "kclient: use writepage instead of sendmsg for some of the data"

This reverts commit 406fc33a6bb6120925edda0db9fc5f624d43efb9.

16 years agokclient: use writepage instead of sendmsg for some of the data
Yehuda Sadeh [Tue, 7 Oct 2008 00:32:00 +0000 (17:32 -0700)]
kclient: use writepage instead of sendmsg for some of the data

16 years agomsgr: expand footer flags, include nocrc, kclient nocrc mount option
Sage Weil [Tue, 7 Oct 2008 19:32:40 +0000 (12:32 -0700)]
msgr: expand footer flags, include nocrc, kclient nocrc mount option

16 years agoebofs: -ENOSPC in apply_transaction
Sage Weil [Mon, 6 Oct 2008 23:36:56 +0000 (16:36 -0700)]
ebofs: -ENOSPC in apply_transaction

16 years agokclient: change default rsize to 128k
Yehuda Sadeh [Tue, 7 Oct 2008 18:44:10 +0000 (11:44 -0700)]
kclient: change default rsize to 128k

16 years agokclient: use both writepage and crc
Yehuda Sadeh [Tue, 7 Oct 2008 18:25:09 +0000 (11:25 -0700)]
kclient: use both writepage and crc

16 years agokclient: disabling the readpage
Yehuda Sadeh [Tue, 7 Oct 2008 00:43:42 +0000 (17:43 -0700)]
kclient: disabling the readpage

16 years agokclient: disabling readpage
Yehuda Sadeh [Tue, 7 Oct 2008 00:37:41 +0000 (17:37 -0700)]
kclient: disabling readpage

16 years agokclient: use writepage instead of sendmsg for some of the data
Yehuda Sadeh [Tue, 7 Oct 2008 00:32:00 +0000 (17:32 -0700)]
kclient: use writepage instead of sendmsg for some of the data

16 years agokclient: small fix take two
Yehuda Sadeh [Mon, 6 Oct 2008 23:10:40 +0000 (16:10 -0700)]
kclient: small fix take two

16 years agokclient: small fix for bdi
Yehuda Sadeh [Mon, 6 Oct 2008 23:03:10 +0000 (16:03 -0700)]
kclient: small fix for bdi

16 years agokclient: use a private bdi
Yehuda Sadeh [Mon, 6 Oct 2008 23:00:34 +0000 (16:00 -0700)]
kclient: use a private bdi

16 years agokclient: fix file to object mapping
Sage Weil [Mon, 6 Oct 2008 22:48:03 +0000 (15:48 -0700)]
kclient: fix file to object mapping

We ignore cases where the stripe_unit is small, for now, as that will require
passing a stride size back to the caller so that the correctly spaced
pages are used.

16 years agocrushtool: verify explicit item pos
Sage Weil [Mon, 6 Oct 2008 21:38:03 +0000 (14:38 -0700)]
crushtool: verify explicit item pos

16 years agocm.txt: fix up metaroot pool
Sage Weil [Mon, 6 Oct 2008 21:35:45 +0000 (14:35 -0700)]
cm.txt: fix up metaroot pool

16 years agocrushtool: verify item pos
Sage Weil [Mon, 6 Oct 2008 18:07:18 +0000 (11:07 -0700)]
crushtool: verify item pos

16 years agodstartnew.sh: use custom crush map with separate metadata osd pool
Sage Weil [Mon, 6 Oct 2008 18:07:13 +0000 (11:07 -0700)]
dstartnew.sh: use custom crush map with separate metadata osd pool

16 years agocrush: fix grammar
Sage Weil [Mon, 6 Oct 2008 18:04:20 +0000 (11:04 -0700)]
crush: fix grammar

16 years agocrun won't be removed in make clean
Yehuda Sadeh [Fri, 3 Oct 2008 23:34:38 +0000 (16:34 -0700)]
crun won't be removed in make clean

16 years agokclient: set first,last snap interval in lease release messages
Sage Weil [Fri, 3 Oct 2008 23:44:34 +0000 (16:44 -0700)]
kclient: set first,last snap interval in lease release messages

16 years agodstartnew.sh: keep core dumps
Sage Weil [Fri, 3 Oct 2008 23:09:15 +0000 (16:09 -0700)]
dstartnew.sh: keep core dumps

16 years agomon: tell osd we manually mark "down"
Sage Weil [Fri, 3 Oct 2008 21:51:51 +0000 (14:51 -0700)]
mon: tell osd we manually mark "down"

16 years agokclient: fix mds session leak
Sage Weil [Fri, 3 Oct 2008 23:11:48 +0000 (16:11 -0700)]
kclient: fix mds session leak

Drop ref after handling lease callback, and during shutdown.

16 years agoclient: fix objectcacher flush/commit callback
Sage Weil [Fri, 3 Oct 2008 22:30:33 +0000 (15:30 -0700)]
client: fix objectcacher flush/commit callback

There is now an ObjectCacher callback for all-acked and all-committed.  Client uses the latter.

16 years agokclient: fix mds timeout waiting for map
Sage Weil [Fri, 3 Oct 2008 21:42:59 +0000 (14:42 -0700)]
kclient: fix mds timeout waiting for map

Unwind locking when wait_for_new_map returns (timeout)
error.

16 years agoupdate dstartnew to do btrfs
Sage Weil [Fri, 3 Oct 2008 21:17:56 +0000 (14:17 -0700)]
update dstartnew to do btrfs

16 years agofilestore: fix completion callbacks when journaling is off
Sage Weil [Fri, 3 Oct 2008 21:17:08 +0000 (14:17 -0700)]
filestore: fix completion callbacks when journaling is off

Need to do completions for all older op_seqs, not just the most recent.

16 years agoosd: increase osd_heartbeat_grace
Sage Weil [Thu, 2 Oct 2008 21:17:27 +0000 (14:17 -0700)]
osd: increase osd_heartbeat_grace

16 years agofix for cmon startup
Yehuda Sadeh [Fri, 3 Oct 2008 20:57:12 +0000 (13:57 -0700)]
fix for cmon startup

16 years agokclient: fix readpages when not all pages are found
Sage Weil [Fri, 3 Oct 2008 20:59:49 +0000 (13:59 -0700)]
kclient: fix readpages when not all pages are found

Adjust the request len, page count when fewer than the desired
number of pages are found.

16 years agomds: create snaprealm for stray dentries resulting from rename
Sage Weil [Fri, 3 Oct 2008 20:34:31 +0000 (13:34 -0700)]
mds: create snaprealm for stray dentries resulting from rename

This was done in the unlink path, but overlooked by rename(), resulting in
problems down the line when the stray nlink=0 item was purged.

16 years agocmon will run as a daemon in any case
Yehuda Sadeh [Fri, 3 Oct 2008 20:45:58 +0000 (13:45 -0700)]
cmon will run as a daemon in any case

16 years agocombined vstartnew.sh and startnew.sh into vstartnew.sh
Yehuda Sadeh [Fri, 3 Oct 2008 20:43:35 +0000 (13:43 -0700)]
combined vstartnew.sh and startnew.sh into vstartnew.sh

16 years agostartnew.sh uses crun in order to execute modules
Yehuda Sadeh [Fri, 3 Oct 2008 19:41:16 +0000 (12:41 -0700)]
startnew.sh uses crun in order to execute modules

16 years agocrun will not run infintely if -d specified on the command line
Yehuda Sadeh [Fri, 3 Oct 2008 19:33:26 +0000 (12:33 -0700)]
crun will not run infintely if -d specified on the command line

16 years agoMerge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable
Yehuda Sadeh [Fri, 3 Oct 2008 19:08:22 +0000 (12:08 -0700)]
Merge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable

16 years agomsgr: clean up crc handling
Sage Weil [Fri, 3 Oct 2008 19:09:05 +0000 (12:09 -0700)]
msgr: clean up crc handling

16 years agomds: don't issue leases on dentries in stray dir
Sage Weil [Fri, 3 Oct 2008 19:08:32 +0000 (12:08 -0700)]
mds: don't issue leases on dentries in stray dir

Also, assert in remove_dentry() that the dentry has no more leases.

16 years agomsgr: don't host msg bufferlists in write_message
Sage Weil [Fri, 3 Oct 2008 17:56:45 +0000 (10:56 -0700)]
msgr: don't host msg bufferlists in write_message

payload and data need to be preserved in case the connection drops and the messages
need to be resent.

16 years agoalso kill crun when stopping the system
Yehuda Sadeh [Fri, 3 Oct 2008 19:07:07 +0000 (12:07 -0700)]
also kill crun when stopping the system

16 years agoadded crun wrapper
Yehuda Sadeh [Fri, 3 Oct 2008 19:06:28 +0000 (12:06 -0700)]
added crun wrapper

16 years agoadd -f flag for foreground execution of modules (with logs in the log files)
Yehuda Sadeh [Fri, 3 Oct 2008 18:54:53 +0000 (11:54 -0700)]
add -f flag for foreground execution of modules (with logs in the log files)

16 years agomsgr: include crc in msg header. verify crc for received messages.
Sage Weil [Fri, 3 Oct 2008 05:23:26 +0000 (22:23 -0700)]
msgr: include crc in msg header.  verify crc for received messages.

16 years agoclean up crc32c
Sage Weil [Fri, 3 Oct 2008 04:56:58 +0000 (21:56 -0700)]
clean up crc32c

16 years agoadd crc to messages. protocol change.
Sage Weil [Fri, 3 Oct 2008 00:01:10 +0000 (17:01 -0700)]
add crc to messages.  protocol change.

16 years agotodos
Sage Weil [Thu, 2 Oct 2008 16:57:48 +0000 (09:57 -0700)]
todos

16 years agokclient: can use names of modules in order to set debug mask
Yehuda Sadeh [Fri, 3 Oct 2008 00:34:04 +0000 (17:34 -0700)]
kclient: can use names of modules in order to set debug mask

16 years agokclient: set asynchronous error cleanup
Yehuda Sadeh [Thu, 2 Oct 2008 23:36:20 +0000 (16:36 -0700)]
kclient: set asynchronous error cleanup

16 years agokclient: writepages async error handling and some cleanup
Yehuda Sadeh [Thu, 2 Oct 2008 23:00:26 +0000 (16:00 -0700)]
kclient: writepages async error handling and some cleanup

16 years agokclient: set page error bit on readpages error
Yehuda Sadeh [Thu, 2 Oct 2008 19:06:48 +0000 (12:06 -0700)]
kclient: set page error bit on readpages error

16 years agokclient: fix incremental osdmap decoding bug
Sage Weil [Thu, 2 Oct 2008 21:10:24 +0000 (14:10 -0700)]
kclient: fix incremental osdmap decoding bug

16 years agokclient: some osdmap cleanups
Sage Weil [Thu, 2 Oct 2008 20:39:36 +0000 (13:39 -0700)]
kclient: some osdmap cleanups

mostly cosmetic

16 years agomon: reweight osds via cmonctl
Sage Weil [Thu, 2 Oct 2008 20:39:02 +0000 (13:39 -0700)]
mon: reweight osds via cmonctl

Allow reweight (offload adjustment) via cmonctl using float value.

16 years agokclient: make standby an allowable connection race state
Sage Weil [Thu, 2 Oct 2008 20:01:40 +0000 (13:01 -0700)]
kclient: make standby an allowable connection race state

16 years agomsgr: make standby an allowable connection race state
Sage Weil [Thu, 2 Oct 2008 19:58:06 +0000 (12:58 -0700)]
msgr: make standby an allowable connection race state

16 years agokclient: no .snap in root dir
Sage Weil [Thu, 2 Oct 2008 18:49:42 +0000 (11:49 -0700)]
kclient: no .snap in root dir

16 years agoosd: fix reversed logic on push
Sage Weil [Thu, 2 Oct 2008 18:36:43 +0000 (11:36 -0700)]
osd: fix reversed logic on push

16 years agomds: remove stale proc_message()
Sage Weil [Thu, 2 Oct 2008 18:15:21 +0000 (11:15 -0700)]
mds: remove stale proc_message()

16 years agomon: allow new arguments to be sent to running mon, mds, osd via cmonctl
Sage Weil [Thu, 2 Oct 2008 18:15:08 +0000 (11:15 -0700)]
mon: allow new arguments to be sent to running mon, mds, osd via cmonctl

16 years agotodos
Sage Weil [Thu, 2 Oct 2008 16:57:48 +0000 (09:57 -0700)]
todos

16 years agokclient: mds reset stub
Sage Weil [Wed, 1 Oct 2008 22:17:27 +0000 (15:17 -0700)]
kclient: mds reset stub

Get rid of compile warning.  Add todo.

17 years agomsgr: fixed bug in accept
Sage Weil [Wed, 1 Oct 2008 22:34:16 +0000 (15:34 -0700)]
msgr: fixed bug in accept

banner[] isn't null terminated

17 years agomessenger protocol changes
Sage Weil [Wed, 1 Oct 2008 22:03:41 +0000 (15:03 -0700)]
messenger protocol changes

There is now a plaintext banner that is exchanged so that both ends can
verify they are talking to the right software.  This string should be
changed each time the wire protocol changes.

There are also mon, osd, and mds specific protocol versions defined, but
these are not yet used.

17 years agokclient: whitespaces
Yehuda Sadeh [Wed, 1 Oct 2008 20:41:05 +0000 (13:41 -0700)]
kclient: whitespaces

17 years agokclient: can supply multiple monitor ips on mount
Yehuda Sadeh [Wed, 1 Oct 2008 20:38:26 +0000 (13:38 -0700)]
kclient: can supply multiple monitor ips on mount

17 years agokclient: adding unmaskable debug flag
Yehuda Sadeh [Mon, 29 Sep 2008 20:33:02 +0000 (13:33 -0700)]
kclient: adding unmaskable debug flag

17 years agomakefile update
Sage Weil [Wed, 1 Oct 2008 19:00:53 +0000 (12:00 -0700)]
makefile update

17 years agov0.4, todos
Sage Weil [Wed, 1 Oct 2008 18:53:38 +0000 (11:53 -0700)]
v0.4, todos

17 years agoMerge branch 'master' into unstable
Sage Weil [Wed, 1 Oct 2008 18:41:00 +0000 (11:41 -0700)]
Merge branch 'master' into unstable

17 years agoconfig: comment
Sage Weil [Wed, 1 Oct 2008 18:40:48 +0000 (11:40 -0700)]
config: comment

17 years agomds: fix file recovery
Sage Weil [Wed, 1 Oct 2008 18:39:42 +0000 (11:39 -0700)]
mds: fix file recovery

Make state bits distinct.  Duh.

Also, if an inode is queued for recovery, and doesn't need it later, unqueue it
(clear the bit, drop auth pin).

17 years agokclient: fix pending cap_snap checks, queuing
Sage Weil [Wed, 1 Oct 2008 17:50:51 +0000 (10:50 -0700)]
kclient: fix pending cap_snap checks, queuing

Add new cap_snaps to the _tail_ of the list.

Also, use a helper to check for pending (write in progress) check, and be
sure to check the list tail in that case.

17 years agoclient: fix queued cap_snap write-in-progress checks
Sage Weil [Wed, 1 Oct 2008 17:50:46 +0000 (10:50 -0700)]
client: fix queued cap_snap write-in-progress checks

17 years agokclient: be more paranoid in prepare_pages
Sage Weil [Tue, 30 Sep 2008 19:59:27 +0000 (12:59 -0700)]
kclient: be more paranoid in prepare_pages

It's theoretically possible to get racing incoming osd_op_replies.  Make sure we only give the pages away once.

17 years agokclient: fix bad pointer arithmetic in messenger
Sage Weil [Tue, 30 Sep 2008 19:58:17 +0000 (12:58 -0700)]
kclient: fix bad pointer arithmetic in messenger

This was causing intermittent slab corruption when TCP fragmented the stream in unusual ways.

17 years agokclient: don't include pages in read requests; some osdc cleanup
Sage Weil [Mon, 29 Sep 2008 23:30:54 +0000 (16:30 -0700)]
kclient: don't include pages in read requests; some osdc cleanup

17 years agokclient: switch to sync writes when NEARFULL osdmap flag set; ENOSPC on FULL flag
Sage Weil [Mon, 29 Sep 2008 22:25:07 +0000 (15:25 -0700)]
kclient: switch to sync writes when NEARFULL osdmap flag set; ENOSPC on FULL flag

17 years agotodos
Sage Weil [Mon, 29 Sep 2008 20:52:28 +0000 (13:52 -0700)]
todos

17 years agokclient: default to safe writeback
Sage Weil [Mon, 29 Sep 2008 20:31:24 +0000 (13:31 -0700)]
kclient: default to safe writeback

Now that async writepages is working, we can wait for data to be fully committed without the higher latency affecting writeback throughput.

17 years agomds: choose new mon only if beacons are delayed, and switch to mon that sends up...
Sage Weil [Mon, 29 Sep 2008 20:30:35 +0000 (13:30 -0700)]
mds: choose new mon only if beacons are delayed, and switch to mon that sends up beacons

This streamlines the mds <-> mon beacon interaction a bit.

17 years agokclient: some async writeback cleanup
Sage Weil [Mon, 29 Sep 2008 19:57:55 +0000 (12:57 -0700)]
kclient: some async writeback cleanup

17 years agokclient: async writepages
Sage Weil [Mon, 29 Sep 2008 18:48:56 +0000 (11:48 -0700)]
kclient: async writepages

17 years agokclient: using special protocol mask for mds requests
Yehuda Sadeh [Mon, 29 Sep 2008 18:08:36 +0000 (11:08 -0700)]
kclient: using special protocol mask for mds requests