]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Tue, 14 Oct 2008 23:15:54 +0000 (16:15 -0700)]
kclient: super.h comments, cleanup, some minor cruft removed
Sage Weil [Tue, 14 Oct 2008 22:17:14 +0000 (15:17 -0700)]
ceph_fs: some cleanup, including mon statfs messages
Yehuda Sadeh [Tue, 14 Oct 2008 21:53:56 +0000 (14:53 -0700)]
checking buffer before calculating the crc (for debug)
Yehuda Sadeh [Tue, 14 Oct 2008 21:49:58 +0000 (14:49 -0700)]
kclient: some more error handling
Sage Weil [Tue, 14 Oct 2008 19:37:32 +0000 (12:37 -0700)]
kclient: remove ping_ack entirely
Sage Weil [Tue, 14 Oct 2008 20:43:51 +0000 (13:43 -0700)]
dstart.sh: use unstable btrfs
Sage Weil [Tue, 14 Oct 2008 20:05:30 +0000 (13:05 -0700)]
filestore: fix btrfs version detection
Yehuda Sadeh [Tue, 14 Oct 2008 19:48:52 +0000 (12:48 -0700)]
kclient: lower debug level on debug message
Yehuda Sadeh [Tue, 14 Oct 2008 19:34:18 +0000 (12:34 -0700)]
kclient: fix race condition
Yehuda Sadeh [Tue, 14 Oct 2008 16:20:25 +0000 (09:20 -0700)]
kclient: remove ping ack
Yehuda Sadeh [Tue, 14 Oct 2008 01:37:39 +0000 (18:37 -0700)]
kclient: preliminary forced umount
Sage Weil [Tue, 14 Oct 2008 00:42:44 +0000 (17:42 -0700)]
kclient: ping osds whose requests are timing out
This ensures the client detects when the osd tcp session has closed and
a reply may have been lost. If that does happen, the handle_reset handler
will be called and the request(s) will be resent.
Sage Weil [Tue, 14 Oct 2008 00:41:07 +0000 (17:41 -0700)]
msgr: ping needs no payload. lose ping_ack.
They were unused/ignored.
Sage Weil [Mon, 13 Oct 2008 23:57:44 +0000 (16:57 -0700)]
kclient: convert spinlock to mutex in osdc
Sage Weil [Mon, 13 Oct 2008 23:19:35 +0000 (16:19 -0700)]
kclient: resend osd requests if osd resets the connection
Yehuda Sadeh [Mon, 13 Oct 2008 23:09:39 +0000 (16:09 -0700)]
kclient: some error handling
Sage Weil [Mon, 13 Oct 2008 20:49:15 +0000 (13:49 -0700)]
assert: include rudimentary stack dump
Sage Weil [Mon, 13 Oct 2008 20:32:03 +0000 (13:32 -0700)]
custom assertion handler
Print assertion error to log file, if it is open.
Sage Weil [Mon, 13 Oct 2008 19:53:28 +0000 (12:53 -0700)]
objecter: ping laggy osds
This ensures we detect any session resets. This necessary because the
osd message policy on replies is lossy.
Sage Weil [Mon, 13 Oct 2008 19:51:42 +0000 (12:51 -0700)]
osd: lossy send policy on acks
Sage Weil [Mon, 13 Oct 2008 19:51:11 +0000 (12:51 -0700)]
objecter: kick requests when we detect a remote session reset
Sage Weil [Mon, 13 Oct 2008 19:50:06 +0000 (12:50 -0700)]
msgr: handle incoming lossy connection when outgoing policy is lossless
Basically, try to wake up our lossless connection. The lossy attempt never
survives. This avoids worrying about keeping session state alive (connect_seq,
etc.).
Sage Weil [Mon, 13 Oct 2008 18:56:31 +0000 (11:56 -0700)]
msgr: track lossy mode independently for self, peer
The policy will be asymmetrical for the OSDs, so we need to
track it independently.
The various assertions aren't all worked out yet. Notably,
connection races aren't quite right. But the basic bits
are there.
Sage Weil [Thu, 9 Oct 2008 23:22:23 +0000 (16:22 -0700)]
client: fix && || parens
Sage Weil [Thu, 9 Oct 2008 23:03:57 +0000 (16:03 -0700)]
filestore: use BTRFS_IOC_SYNC instead of fsync
fsync() won't do the right thing on newer versions of btrfs, due do the
new tree log stuff. Use the SYNC ioctl.
Sage Weil [Thu, 9 Oct 2008 23:02:50 +0000 (16:02 -0700)]
filestore: detect new btrfs ioctls
Don't use them yet, though.
Yehuda Sadeh [Mon, 13 Oct 2008 18:45:14 +0000 (11:45 -0700)]
fix of crc32c calculation
Yehuda Sadeh [Fri, 10 Oct 2008 22:52:30 +0000 (15:52 -0700)]
replace the crc32c code
Sage Weil [Thu, 9 Oct 2008 20:59:02 +0000 (13:59 -0700)]
debian: changelog update
Sage Weil [Thu, 9 Oct 2008 20:34:32 +0000 (13:34 -0700)]
debian: fix debian-doc; include debian dir in dist tarball
Sage Weil [Thu, 9 Oct 2008 18:58:10 +0000 (11:58 -0700)]
mon: populate last_beacon properly for mds liveness check
It was only populating on paxos updates, but that missed the case where the
leader moves from one monitor to another (live) peon, who has an empty last_beacon.
Move it where it makes the most sense.
Sage Weil [Thu, 9 Oct 2008 18:27:07 +0000 (11:27 -0700)]
debian: tweak ceph-doc paths
Sage Weil [Thu, 9 Oct 2008 05:06:24 +0000 (22:06 -0700)]
dstart.sh: replace dstartnew.sh
-n will create new fs, otherwise it will start up using existing data.
Sage Weil [Thu, 9 Oct 2008 05:05:35 +0000 (22:05 -0700)]
filestore: fix collection attrs
Need to prepend user.ceph. to attr names...
Sage Weil [Wed, 8 Oct 2008 23:45:31 +0000 (16:45 -0700)]
todos
Sage Weil [Wed, 8 Oct 2008 23:31:50 +0000 (16:31 -0700)]
mon: include pg usage stats, header in pg dump
Sage Weil [Wed, 8 Oct 2008 23:18:10 +0000 (16:18 -0700)]
debian: move map tools and crun to ceph-common
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.
Sage Weil [Wed, 8 Oct 2008 18:43:08 +0000 (11:43 -0700)]
osd: use kb instead of blocks for pg, osd utilization
Sage Weil [Wed, 8 Oct 2008 17:52:46 +0000 (10:52 -0700)]
osd: prioritize heartbeat messages
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.
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.
Sage Weil [Wed, 8 Oct 2008 16:31:23 +0000 (09:31 -0700)]
debian: include crun in osd, mds, mon packages
Sage Weil [Wed, 8 Oct 2008 16:28:58 +0000 (09:28 -0700)]
osdmaptool: fix silly num_dom bug
Erwin, Brock A [Wed, 8 Oct 2008 16:28:32 +0000 (09:28 -0700)]
ceph.spec.in: include crun
Yehuda Sadeh [Tue, 7 Oct 2008 20:18:52 +0000 (13:18 -0700)]
kclient: initializing kaddr (merge fix)
Yehuda Sadeh [Tue, 7 Oct 2008 20:04:32 +0000 (13:04 -0700)]
Merge branch 'writepage' into unstable
Conflicts:
src/kernel/messenger.c
Yehuda Sadeh [Tue, 7 Oct 2008 18:25:09 +0000 (11:25 -0700)]
kclient: use both writepage and crc
Yehuda Sadeh [Tue, 7 Oct 2008 00:43:42 +0000 (17:43 -0700)]
kclient: disabling the readpage
Yehuda Sadeh [Tue, 7 Oct 2008 00:37:41 +0000 (17:37 -0700)]
kclient: disabling readpage
Yehuda Sadeh [Tue, 7 Oct 2008 00:32:00 +0000 (17:32 -0700)]
kclient: use writepage instead of sendmsg for some of the data
Yehuda Sadeh [Tue, 7 Oct 2008 19:35:27 +0000 (12:35 -0700)]
kclient: missing include file
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 .
Yehuda Sadeh [Tue, 7 Oct 2008 00:32:00 +0000 (17:32 -0700)]
kclient: use writepage instead of sendmsg for some of the data
Sage Weil [Tue, 7 Oct 2008 19:32:40 +0000 (12:32 -0700)]
msgr: expand footer flags, include nocrc, kclient nocrc mount option
Sage Weil [Mon, 6 Oct 2008 23:36:56 +0000 (16:36 -0700)]
ebofs: -ENOSPC in apply_transaction
Yehuda Sadeh [Tue, 7 Oct 2008 18:44:10 +0000 (11:44 -0700)]
kclient: change default rsize to 128k
Yehuda Sadeh [Tue, 7 Oct 2008 18:25:09 +0000 (11:25 -0700)]
kclient: use both writepage and crc
Yehuda Sadeh [Tue, 7 Oct 2008 00:43:42 +0000 (17:43 -0700)]
kclient: disabling the readpage
Yehuda Sadeh [Tue, 7 Oct 2008 00:37:41 +0000 (17:37 -0700)]
kclient: disabling readpage
Yehuda Sadeh [Tue, 7 Oct 2008 00:32:00 +0000 (17:32 -0700)]
kclient: use writepage instead of sendmsg for some of the data
Yehuda Sadeh [Mon, 6 Oct 2008 23:10:40 +0000 (16:10 -0700)]
kclient: small fix take two
Yehuda Sadeh [Mon, 6 Oct 2008 23:03:10 +0000 (16:03 -0700)]
kclient: small fix for bdi
Yehuda Sadeh [Mon, 6 Oct 2008 23:00:34 +0000 (16:00 -0700)]
kclient: use a private bdi
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.
Sage Weil [Mon, 6 Oct 2008 21:38:03 +0000 (14:38 -0700)]
crushtool: verify explicit item pos
Sage Weil [Mon, 6 Oct 2008 21:35:45 +0000 (14:35 -0700)]
cm.txt: fix up metaroot pool
Sage Weil [Mon, 6 Oct 2008 18:07:18 +0000 (11:07 -0700)]
crushtool: verify item pos
Sage Weil [Mon, 6 Oct 2008 18:07:13 +0000 (11:07 -0700)]
dstartnew.sh: use custom crush map with separate metadata osd pool
Sage Weil [Mon, 6 Oct 2008 18:04:20 +0000 (11:04 -0700)]
crush: fix grammar
Yehuda Sadeh [Fri, 3 Oct 2008 23:34:38 +0000 (16:34 -0700)]
crun won't be removed in make clean
Sage Weil [Fri, 3 Oct 2008 23:44:34 +0000 (16:44 -0700)]
kclient: set first,last snap interval in lease release messages
Sage Weil [Fri, 3 Oct 2008 23:09:15 +0000 (16:09 -0700)]
dstartnew.sh: keep core dumps
Sage Weil [Fri, 3 Oct 2008 21:51:51 +0000 (14:51 -0700)]
mon: tell osd we manually mark "down"
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.
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.
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.
Sage Weil [Fri, 3 Oct 2008 21:17:56 +0000 (14:17 -0700)]
update dstartnew to do btrfs
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.
Sage Weil [Thu, 2 Oct 2008 21:17:27 +0000 (14:17 -0700)]
osd: increase osd_heartbeat_grace
Yehuda Sadeh [Fri, 3 Oct 2008 20:57:12 +0000 (13:57 -0700)]
fix for cmon startup
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.
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.
Yehuda Sadeh [Fri, 3 Oct 2008 20:45:58 +0000 (13:45 -0700)]
cmon will run as a daemon in any case
Yehuda Sadeh [Fri, 3 Oct 2008 20:43:35 +0000 (13:43 -0700)]
combined vstartnew.sh and startnew.sh into vstartnew.sh
Yehuda Sadeh [Fri, 3 Oct 2008 19:41:16 +0000 (12:41 -0700)]
startnew.sh uses crun in order to execute modules
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
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
Sage Weil [Fri, 3 Oct 2008 19:09:05 +0000 (12:09 -0700)]
msgr: clean up crc handling
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.
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.
Yehuda Sadeh [Fri, 3 Oct 2008 19:07:07 +0000 (12:07 -0700)]
also kill crun when stopping the system
Yehuda Sadeh [Fri, 3 Oct 2008 19:06:28 +0000 (12:06 -0700)]
added crun wrapper
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)
Sage Weil [Fri, 3 Oct 2008 05:23:26 +0000 (22:23 -0700)]
msgr: include crc in msg header. verify crc for received messages.
Sage Weil [Fri, 3 Oct 2008 04:56:58 +0000 (21:56 -0700)]
clean up crc32c
Sage Weil [Fri, 3 Oct 2008 00:01:10 +0000 (17:01 -0700)]
add crc to messages. protocol change.
Sage Weil [Thu, 2 Oct 2008 16:57:48 +0000 (09:57 -0700)]
todos
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
Yehuda Sadeh [Thu, 2 Oct 2008 23:36:20 +0000 (16:36 -0700)]
kclient: set asynchronous error cleanup