]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Wed, 14 Oct 2009 05:05:57 +0000 (22:05 -0700)]
mon: set initial timeout on sessions; clean up a bit
Sage Weil [Tue, 13 Oct 2009 21:46:05 +0000 (14:46 -0700)]
mon: fix warning
Sage Weil [Tue, 13 Oct 2009 21:45:39 +0000 (14:45 -0700)]
mon: PaxosServices needs virtual destructor
Sage Weil [Tue, 13 Oct 2009 20:46:34 +0000 (13:46 -0700)]
mon: small cleanup
Sage Weil [Tue, 13 Oct 2009 20:46:12 +0000 (13:46 -0700)]
debian: bail out on error during package build
Sage Weil [Tue, 13 Oct 2009 20:45:08 +0000 (13:45 -0700)]
Makefile: include client/ioctl.h in tarball
Sage Weil [Tue, 13 Oct 2009 20:08:15 +0000 (13:08 -0700)]
msgr: kill dead code
Sage Weil [Tue, 13 Oct 2009 21:14:58 +0000 (14:14 -0700)]
uclient: pipe down about connects
Sage Weil [Tue, 13 Oct 2009 19:54:22 +0000 (12:54 -0700)]
msgr: add version field to msg header
Sage Weil [Tue, 13 Oct 2009 19:08:51 +0000 (12:08 -0700)]
osd: use ms_handle_connect to resend mon messages
This is worlds better than resending every few seconds.
Sage Weil [Tue, 13 Oct 2009 18:54:57 +0000 (11:54 -0700)]
monclient: ignore resets on non-current mon
Sage Weil [Tue, 13 Oct 2009 18:54:40 +0000 (11:54 -0700)]
mon: use connection hook to resend mon requests
Sage Weil [Tue, 13 Oct 2009 18:51:32 +0000 (11:51 -0700)]
msgr: add ms_handle_connect callback
Called when an outgoing connection succeeds.
Sage Weil [Tue, 13 Oct 2009 18:37:28 +0000 (11:37 -0700)]
msgr: drop extra arg
Sage Weil [Tue, 13 Oct 2009 18:21:31 +0000 (11:21 -0700)]
msgr: change ms_handle_[peer_]reset prototype
And some small fixups in handlers along the way
Sage Weil [Tue, 13 Oct 2009 17:40:02 +0000 (10:40 -0700)]
msgr: put peer type, addr in Connection
Sage Weil [Tue, 13 Oct 2009 06:05:50 +0000 (23:05 -0700)]
todo
Sage Weil [Tue, 13 Oct 2009 06:04:24 +0000 (23:04 -0700)]
msgr: simple exponential backoff, with tunable initial and max delay
Sage Weil [Tue, 13 Oct 2009 05:45:50 +0000 (22:45 -0700)]
msgr: simplify policy
We may be a server, and we may be lossy. This gives us a few policies:
!server, !lossy = lossless_peer(), for bidirectional intracluster fun.
server, !lossy = lossless_server(), e.g. mds <-> client.
server, lossy = lossy_server(), e.g. mon and osd
also, the default is
!server, !lossy = client(), but that doesn't mean much. The server
decides if the connection is lossy or not. And !server just means we can
initiate the outgoing connection.
Sage Weil [Mon, 12 Oct 2009 20:34:48 +0000 (13:34 -0700)]
msgr: kill unused ms_handle_failure
Greg Farnum [Mon, 12 Oct 2009 21:04:46 +0000 (14:04 -0700)]
mon: MonmapMonitor now sends responses to commands and doesn't double-add
monitor addresses.
Sage Weil [Mon, 12 Oct 2009 19:06:36 +0000 (12:06 -0700)]
mon: use send_reply for pool ops; fix msg leak
Sage Weil [Mon, 12 Oct 2009 19:03:02 +0000 (12:03 -0700)]
mon: share new osd maps with 'random' osds
Ok, it's not exactly a uniform distribution, but good enough for now.
Sage Weil [Mon, 12 Oct 2009 17:53:39 +0000 (10:53 -0700)]
mon: send osd map if MPGStats sender has an old map
Sage Weil [Mon, 12 Oct 2009 17:47:11 +0000 (10:47 -0700)]
mon: clean out old crufty cluster shutdown code
The OSD directed shutdown should be adjusted anyway.
Sage Weil [Mon, 12 Oct 2009 17:44:01 +0000 (10:44 -0700)]
mon: send MOSDPGCreate from all mons, not just leader
This ensures they go out to whichever mon the osd is connected to. Sort
of brute force. :/
Sage Weil [Mon, 12 Oct 2009 17:11:57 +0000 (10:11 -0700)]
mon: oops, make PaxosServiceMessage match ceph_mon_request_header
Sage Weil [Mon, 12 Oct 2009 04:56:59 +0000 (21:56 -0700)]
mon: kill some dead code
Sage Weil [Mon, 12 Oct 2009 04:55:39 +0000 (21:55 -0700)]
mon: use send_reply for MPoolOpReply
Greg Farnum [Mon, 12 Oct 2009 18:29:33 +0000 (11:29 -0700)]
LogClient: Add a mon data member and mon selection code.
Replaces removed MonMap::pick_mon
Greg Farnum [Mon, 12 Oct 2009 18:29:05 +0000 (11:29 -0700)]
MonMap: Remove pick_mon() and last_mon data member -- doesn't belong here
Greg Farnum [Mon, 12 Oct 2009 17:47:47 +0000 (10:47 -0700)]
monmap: add a utime_t created data member
Greg Farnum [Mon, 12 Oct 2009 17:40:29 +0000 (10:40 -0700)]
uclient: Accept -1 in set_default_preferred_pg to go back to non-local writes
Greg Farnum [Mon, 12 Oct 2009 17:34:50 +0000 (10:34 -0700)]
mon/msg: Remove MMonAdd; switch MonmapMonitor to use MMonCommand
Greg Farnum [Mon, 12 Oct 2009 16:15:45 +0000 (09:15 -0700)]
mon: Replace old question comment with explanation comment
Greg Farnum [Mon, 12 Oct 2009 16:14:19 +0000 (09:14 -0700)]
mon: Remember to delete the Message when done
Sage Weil [Sun, 11 Oct 2009 04:34:47 +0000 (21:34 -0700)]
ceph: follow monmap changes in -w mode
Sage Weil [Sun, 11 Oct 2009 04:34:40 +0000 (21:34 -0700)]
monmaptool: use generic MonMap::print methods
Sage Weil [Sun, 11 Oct 2009 04:26:53 +0000 (21:26 -0700)]
mon: store latest monmap is paxos-compatible format
Previously it was monmap/latest, but wasn't prefixed/wrapped with the
version_t.
Sage Weil [Sun, 11 Oct 2009 04:26:05 +0000 (21:26 -0700)]
mon: don't trim cluster sessions
This isn't a perfect test.. we'll need to revisit later.
Sage Weil [Sat, 10 Oct 2009 05:27:38 +0000 (22:27 -0700)]
mon: route osdmaps sent by mon properly
Sage Weil [Sat, 10 Oct 2009 04:55:44 +0000 (21:55 -0700)]
mon: kill unused MOSDGetMap
Yay
Sage Weil [Sat, 10 Oct 2009 04:50:51 +0000 (21:50 -0700)]
osd: stop using MOSDGetMap
We should use the monclient and subscriptions instead.
Sage Weil [Sat, 10 Oct 2009 04:47:22 +0000 (21:47 -0700)]
mon: kill MMDSGetMap, clean up MDSMonitor map sending code
We don't need most of this crap anymore.. subscriptions solve all of these
problems! The getmap message isn't even used anymore.
Sage Weil [Sat, 10 Oct 2009 04:27:47 +0000 (21:27 -0700)]
mon: kill more dead code
Sage Weil [Sat, 10 Oct 2009 04:27:34 +0000 (21:27 -0700)]
monc: clean up mon pick code slightly
Sage Weil [Sat, 10 Oct 2009 04:24:08 +0000 (21:24 -0700)]
Merge branch 'unstable' of ssh://ceph.newdream.net/home/sage/ceph.newdream.net/git/ceph into unstable
Sage Weil [Fri, 9 Oct 2009 23:48:11 +0000 (16:48 -0700)]
mon: kill dead faking, bcast code
Greg Farnum [Fri, 9 Oct 2009 23:04:11 +0000 (16:04 -0700)]
all: change disk format numbers
Greg Farnum [Fri, 9 Oct 2009 23:02:20 +0000 (16:02 -0700)]
mon: Remove invalid assert; fix mon_type constants.
Greg Farnum [Thu, 8 Oct 2009 23:28:39 +0000 (16:28 -0700)]
mdsmap: add a last_changed utime_t data member.
Greg Farnum [Fri, 9 Oct 2009 01:09:18 +0000 (18:09 -0700)]
mon: Add MonmapMonitor to whole system
Greg Farnum [Thu, 8 Oct 2009 23:29:43 +0000 (16:29 -0700)]
mon: Add MonmapMonitor source.
Greg Farnum [Thu, 8 Oct 2009 22:37:11 +0000 (15:37 -0700)]
PaxosService: Add some function documentation.
Greg Farnum [Thu, 8 Oct 2009 01:07:47 +0000 (18:07 -0700)]
message: Add a new MMonAdd message type
Greg Farnum [Wed, 7 Oct 2009 16:21:22 +0000 (09:21 -0700)]
Hadoop: Set preferred_pg after client mounts
Greg Farnum [Wed, 7 Oct 2009 16:20:59 +0000 (09:20 -0700)]
uclient: Debugging output
Sage Weil [Fri, 9 Oct 2009 23:43:49 +0000 (16:43 -0700)]
mon: use reply_request in pgmon pg stats update
Sage Weil [Fri, 9 Oct 2009 23:43:13 +0000 (16:43 -0700)]
push_to_kclient: no -u to cp, the timestamps may be ordered
Sage Weil [Fri, 9 Oct 2009 23:33:15 +0000 (16:33 -0700)]
mon: new, improved monitor request/reply routing
We track which monitor requests are forwarded to the leader in the mon
Session, and clean them out when we send a reply back via MRoute.
Only forward once, and resend pending requests on election completion.
This may lead to harmless dups, but at least we know our request didn't
get dropped on the floor by another mon failing somewhere.
This changes the monitor protocol by expanding the PaxosServiceMessage
header.
Sage Weil [Fri, 9 Oct 2009 23:30:17 +0000 (16:30 -0700)]
mon: create session for all incoming monitor messages
This code stolen from auth branch; hopefully git merge will be smart
enough.
Sage Weil [Fri, 9 Oct 2009 22:15:25 +0000 (15:15 -0700)]
todo
Sage Weil [Fri, 9 Oct 2009 22:15:13 +0000 (15:15 -0700)]
byteorder: more typos
Sage Weil [Fri, 9 Oct 2009 19:19:35 +0000 (12:19 -0700)]
qa: start new qa dir, add some client tests
Sage Weil [Fri, 9 Oct 2009 17:55:32 +0000 (10:55 -0700)]
byteorder: braces!
Sage Weil [Fri, 9 Oct 2009 17:53:37 +0000 (10:53 -0700)]
osd: check is_dup earlier; do not set osdop version if it's a noop
Otherwise, we end up with a bogus version that's not logged and in the
future, which confuses us later (we think it's a replay or something). If
it's a noop, that means the version is either already set, or doesn't need
to be.
Sage Weil [Fri, 9 Oct 2009 05:20:49 +0000 (22:20 -0700)]
osd: use sized int32 in osdmap incremental new_pg_temp
Oops!
Sage Weil [Fri, 9 Oct 2009 04:20:22 +0000 (21:20 -0700)]
msgr: reset session state on lossy_tx fault
Sage Weil [Thu, 8 Oct 2009 22:18:05 +0000 (15:18 -0700)]
byteorder: include endian.h for good measure
Sage Weil [Thu, 8 Oct 2009 21:58:03 +0000 (14:58 -0700)]
Revert "byteorder: properly detect endianness"
Or not!
This reverts commit
a33441c4b274d840432ba553db463cbee1f1a480 .
Sage Weil [Thu, 8 Oct 2009 21:21:08 +0000 (14:21 -0700)]
byteorder: properly detect endianness
Sage Weil [Thu, 8 Oct 2009 21:20:52 +0000 (14:20 -0700)]
osd: fix up handling of dup PG::Info
Ignore dup info. Simplify broken logic.
Sage Weil [Thu, 8 Oct 2009 18:45:27 +0000 (11:45 -0700)]
mon: fix session close races
Make sure we don't use a connection's session if it is closed.
Remove session from connection on reset.
Sage Weil [Thu, 8 Oct 2009 18:44:17 +0000 (11:44 -0700)]
objecter: don't send duplicate onetime sub requests
Sage Weil [Thu, 8 Oct 2009 18:43:43 +0000 (11:43 -0700)]
osd: don't manually set rank addr
This didn't accomplish anything useful.
Sage Weil [Thu, 8 Oct 2009 18:41:32 +0000 (11:41 -0700)]
msgr: include port when printing sockaddrs!
Sage Weil [Thu, 8 Oct 2009 17:35:43 +0000 (10:35 -0700)]
libceph: move to main dir with other main .cc files
Sage Weil [Thu, 8 Oct 2009 17:35:52 +0000 (10:35 -0700)]
monc: no msgr bind needed
Sage Weil [Thu, 8 Oct 2009 17:34:20 +0000 (10:34 -0700)]
libceph: no bind
Sage Weil [Thu, 8 Oct 2009 17:34:09 +0000 (10:34 -0700)]
osd: use fast_fail() policy to connect to osd
Sage Weil [Thu, 8 Oct 2009 17:02:22 +0000 (10:02 -0700)]
msgr: do not require bind() on client apps
Sage Weil [Thu, 8 Oct 2009 16:54:17 +0000 (09:54 -0700)]
msgr: clean out dead connect-side bind code
Sage Weil [Thu, 8 Oct 2009 16:21:39 +0000 (09:21 -0700)]
mds: validate file layouts on file creation, setlayout
Sage Weil [Thu, 8 Oct 2009 16:21:21 +0000 (09:21 -0700)]
ceph: add ceph_file_layout_is_valid function, minimum stripe unit
Sage Weil [Wed, 7 Oct 2009 23:45:02 +0000 (16:45 -0700)]
filestore: be less excited about btrfs version
Sage Weil [Wed, 7 Oct 2009 23:44:38 +0000 (16:44 -0700)]
mon: take lock in ms_handle_reset before adjusting session map
Sage Weil [Wed, 7 Oct 2009 23:43:49 +0000 (16:43 -0700)]
msgr: no need for sockaddr_storage encoder
Yehuda Sadeh [Wed, 7 Oct 2009 23:29:11 +0000 (16:29 -0700)]
messenger: do not bind socket before connecting
Sage Weil [Wed, 7 Oct 2009 22:36:16 +0000 (15:36 -0700)]
version: git rev-parse, not git-rev-parse
Sage Weil [Wed, 7 Oct 2009 18:58:03 +0000 (11:58 -0700)]
mon: allow {getmap,getcurhsmap} <epoch>
Sage Weil [Wed, 7 Oct 2009 18:54:56 +0000 (11:54 -0700)]
crushtool: show zero weight items in crush map decode/dump
Sage Weil [Wed, 7 Oct 2009 18:54:20 +0000 (11:54 -0700)]
crush: zero weight items get 0 length straws
Sage Weil [Wed, 7 Oct 2009 17:36:58 +0000 (10:36 -0700)]
crush: silence (bogus) item uninit warning
Sage Weil [Wed, 7 Oct 2009 17:33:08 +0000 (10:33 -0700)]
push_to_kclient: fix dest tree check
Sage Weil [Wed, 7 Oct 2009 17:32:11 +0000 (10:32 -0700)]
msgr: fix operator<< for sockaddr_in, too
Sage Weil [Wed, 7 Oct 2009 17:31:31 +0000 (10:31 -0700)]
msgr: uninline tcp_{read,write}
Sage Weil [Wed, 7 Oct 2009 17:29:13 +0000 (10:29 -0700)]
msgr: fix uninitialized memory on sockaddr_storage print
Sage Weil [Tue, 6 Oct 2009 21:00:51 +0000 (14:00 -0700)]
todo
Sage Weil [Tue, 6 Oct 2009 20:55:26 +0000 (13:55 -0700)]
crush: reject on empty bucket (and avoid divide by zero)
Sage Weil [Tue, 6 Oct 2009 20:41:55 +0000 (13:41 -0700)]
Makefile: drop src/kernel/* from Makefile.am