]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
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.

17 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

17 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

17 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

17 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

17 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

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

17 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.

17 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.

17 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

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

17 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)

17 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.

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

17 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.

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

17 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

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

17 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

17 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

17 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

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

mostly cosmetic

17 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.

17 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

17 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

17 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

17 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

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

17 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

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

17 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

17 years agokclient: added missing file
Yehuda Sadeh [Mon, 29 Sep 2008 16:57:32 +0000 (09:57 -0700)]
kclient: added missing file

17 years agokclient: mask to enable/disable debug messages
Yehuda Sadeh [Mon, 29 Sep 2008 16:54:42 +0000 (09:54 -0700)]
kclient: mask to enable/disable debug messages

17 years agojournal: fix off-by-one bug in committed_thru callbacks
Sage Weil [Mon, 22 Sep 2008 21:37:18 +0000 (14:37 -0700)]
journal: fix off-by-one bug in committed_thru callbacks

17 years agojournal: avoid queueing null context
Sage Weil [Mon, 22 Sep 2008 18:21:44 +0000 (11:21 -0700)]
journal: avoid queueing null context

17 years agokclient: writepage noop should be kswapd
Sage Weil [Tue, 16 Sep 2008 22:39:49 +0000 (15:39 -0700)]
kclient: writepage noop should be kswapd

17 years agoosdmaptool: print osdmap
Sage Weil [Sat, 20 Sep 2008 22:02:04 +0000 (15:02 -0700)]
osdmaptool: print osdmap

17 years agoosdmap: set ctime+mtime on creation
Sage Weil [Sat, 20 Sep 2008 22:01:51 +0000 (15:01 -0700)]
osdmap: set ctime+mtime on creation

17 years agokclient: writeback cleanups (use filemap_write_and_wait)
Sage Weil [Sat, 20 Sep 2008 21:11:03 +0000 (14:11 -0700)]
kclient: writeback cleanups (use filemap_write_and_wait)

17 years agokclient: time out mds session close on umount. messily.
Sage Weil [Sat, 20 Sep 2008 20:51:12 +0000 (13:51 -0700)]
kclient: time out mds session close on umount.  messily.

This at least won't hang, but it will leave inodes pinned after umount, so it still needs some real work.

17 years agokclient: fix up safe/unsafe writeback flags
Sage Weil [Sat, 20 Sep 2008 20:37:11 +0000 (13:37 -0700)]
kclient: fix up safe/unsafe writeback flags

17 years agokclient: unify mount timeouts
Sage Weil [Sat, 20 Sep 2008 20:34:11 +0000 (13:34 -0700)]
kclient: unify mount timeouts

Make both mon map and mount messages and mds session, root inode open time out.  Previously the mon interaction would time out but we could hang on a non-responsive (e.g., not active) mds.

17 years agotodos
Sage Weil [Thu, 18 Sep 2008 22:39:54 +0000 (15:39 -0700)]
todos

17 years agopsim: test localized placement groups
Sage Weil [Thu, 18 Sep 2008 21:30:47 +0000 (14:30 -0700)]
psim: test localized placement groups

17 years agocrush: fix forcefeeding for forceleaf
Sage Weil [Thu, 18 Sep 2008 21:30:01 +0000 (14:30 -0700)]
crush: fix forcefeeding for forceleaf

17 years agoosdmaptool: lpg_bits specifiable
Sage Weil [Thu, 18 Sep 2008 21:26:57 +0000 (14:26 -0700)]
osdmaptool: lpg_bits specifiable

17 years agoset bl length in buffer::read_file
Sage Weil [Thu, 18 Sep 2008 20:44:29 +0000 (13:44 -0700)]
set bl length in buffer::read_file

17 years agoosdmaptool: fix crush import
Sage Weil [Thu, 18 Sep 2008 20:43:51 +0000 (13:43 -0700)]
osdmaptool: fix crush import

17 years agocrushtool: fix chooseleaf compilation/decompilation
Sage Weil [Thu, 18 Sep 2008 20:10:14 +0000 (13:10 -0700)]
crushtool: fix chooseleaf compilation/decompilation

17 years agoMerge commit 'c43adbe5d679e4920791f4cf4baa294eab36ccfa'
Sage Weil [Thu, 18 Sep 2008 18:38:33 +0000 (11:38 -0700)]
Merge commit 'c43adbe5d679e4920791f4cf4baa294eab36ccfa'

Conflicts:

src/kernel/osd_client.c

17 years agotodo
Sage Weil [Wed, 17 Sep 2008 21:37:45 +0000 (14:37 -0700)]
todo

17 years agocrush: chooseleaf
Sage Weil [Wed, 17 Sep 2008 21:37:39 +0000 (14:37 -0700)]
crush: chooseleaf

17 years agokclient: remove extraneous dput in fill_trace
Sage Weil [Tue, 16 Sep 2008 21:44:43 +0000 (14:44 -0700)]
kclient: remove extraneous dput in fill_trace

17 years agoosd: push/pull data_subset, clone_subsets
Sage Weil [Mon, 15 Sep 2008 23:01:30 +0000 (16:01 -0700)]
osd: push/pull data_subset, clone_subsets

17 years agoobjectstore: clonerange, list->vector encoding
Sage Weil [Mon, 15 Sep 2008 23:01:07 +0000 (16:01 -0700)]
objectstore: clonerange, list->vector encoding

17 years agokclient: lowered debug level on some message
Yehuda Sadeh [Mon, 15 Sep 2008 18:25:47 +0000 (11:25 -0700)]
kclient: lowered debug level on some message

17 years agokclient: fix mds reconnect message encoding; include snaprealms
Sage Weil [Fri, 12 Sep 2008 22:09:34 +0000 (15:09 -0700)]
kclient: fix mds reconnect message encoding; include snaprealms