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

16 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

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

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

16 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

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

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

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

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

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

16 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).

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

16 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

17 years agofilejournal: typo, fixes callbacks
Sage Weil [Fri, 12 Sep 2008 20:30:14 +0000 (13:30 -0700)]
filejournal: typo, fixes callbacks

17 years agojournal: remove some dead code
Sage Weil [Fri, 12 Sep 2008 19:51:10 +0000 (12:51 -0700)]
journal: remove some dead code

17 years agokclient: fill in kstatfs f_fsid
Sage Weil [Fri, 12 Sep 2008 19:46:43 +0000 (12:46 -0700)]
kclient: fill in kstatfs f_fsid

17 years agopaxosservice: reset propose timer when election is called
Sage Weil [Fri, 12 Sep 2008 19:46:31 +0000 (12:46 -0700)]
paxosservice: reset propose timer when election is called

17 years agofilestore: constrain ObjectStore interface, simplify journaling, update commit_op_seq...
Sage Weil [Fri, 12 Sep 2008 18:44:23 +0000 (11:44 -0700)]
filestore: constrain ObjectStore interface, simplify journaling, update commit_op_seq on each transaction

17 years agofilejournal: noop is committed_thru is same seq
Sage Weil [Fri, 12 Sep 2008 16:51:31 +0000 (09:51 -0700)]
filejournal: noop is committed_thru is same seq

17 years agokclient: fix bug in mdsc check_new_map
Sage Weil [Fri, 12 Sep 2008 16:46:37 +0000 (09:46 -0700)]
kclient: fix bug in mdsc check_new_map

17 years agofilestore: serialize journal entries
Sage Weil [Fri, 12 Sep 2008 16:36:45 +0000 (09:36 -0700)]
filestore: serialize journal entries

17 years agokclient: dirfrag access using mutex and not inode's spinlock
Yehuda Sadeh [Fri, 12 Sep 2008 16:23:14 +0000 (09:23 -0700)]
kclient: dirfrag access using mutex and not inode's spinlock

17 years agokclient: fix random mds selection bug
Sage Weil [Thu, 11 Sep 2008 23:57:37 +0000 (16:57 -0700)]
kclient: fix random mds selection bug

17 years agoebofs: maintain an op seq count, and use that for the journal
Sage Weil [Thu, 11 Sep 2008 23:40:51 +0000 (16:40 -0700)]
ebofs: maintain an op seq count, and use that for the journal

17 years agojournal: journal rewrite
Sage Weil [Thu, 11 Sep 2008 17:56:16 +0000 (10:56 -0700)]
journal: journal rewrite

17 years agouse vector or deque in place of list<Context*> in finisher, ebofs
Sage Weil [Thu, 11 Sep 2008 17:41:57 +0000 (10:41 -0700)]
use vector or deque in place of list<Context*> in finisher, ebofs

17 years agokclient: removing of virutal xattr is not allowed
Yehuda Sadeh [Thu, 11 Sep 2008 17:59:02 +0000 (10:59 -0700)]
kclient: removing of virutal xattr is not allowed

17 years agokclient: setxattr for virtual xattr is not allowed
Yehuda Sadeh [Thu, 11 Sep 2008 17:55:19 +0000 (10:55 -0700)]
kclient: setxattr for virtual xattr is not allowed

17 years agokclient: mount default without DIRSTAT
Yehuda [Thu, 11 Sep 2008 17:36:29 +0000 (10:36 -0700)]
kclient: mount default without DIRSTAT

17 years agokclient: no need to check for mount with dir stat (xattr)
Yehuda [Thu, 11 Sep 2008 17:29:33 +0000 (10:29 -0700)]
kclient: no need to check for mount with dir stat (xattr)

17 years agokclient: remove whitespace
Yehuda [Thu, 11 Sep 2008 00:22:24 +0000 (17:22 -0700)]
kclient: remove whitespace

17 years agokclient: xattr show dir extended data
Yehuda [Thu, 11 Sep 2008 00:21:03 +0000 (17:21 -0700)]
kclient: xattr show dir extended data