]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
15 years agodebian: don't try to sign packages; it fails anyway
Sage Weil [Mon, 19 Oct 2009 20:03:03 +0000 (13:03 -0700)]
debian: don't try to sign packages; it fails anyway

15 years agomon: log each client mount
Sage Weil [Mon, 19 Oct 2009 19:13:57 +0000 (12:13 -0700)]
mon: log each client mount

15 years agoRevert "msgr: be a bit more verbose during shutdown"
Sage Weil [Mon, 19 Oct 2009 19:02:22 +0000 (12:02 -0700)]
Revert "msgr: be a bit more verbose during shutdown"

This reverts commit 4fe2e6acb9d3613ca041774c1243940d1c8c9c9c.

Conflicts:

src/msg/SimpleMessenger.cc

15 years agoosd: mix preferred osd into placement seed
Sage Weil [Mon, 19 Oct 2009 18:40:27 +0000 (11:40 -0700)]
osd: mix preferred osd into placement seed

This avoids getting the same peer for all 0.0p* pgs, for
example.

Rev osdc protocol.

15 years agoobjecter: call renew_subs when appropriate
Sage Weil [Mon, 19 Oct 2009 18:36:58 +0000 (11:36 -0700)]
objecter: call renew_subs when appropriate

Otherwise our sub_want call doesn't nothing until the
next subscription renewal goes out

15 years agoosd: call renew_subs when appropriate
Sage Weil [Mon, 19 Oct 2009 18:36:37 +0000 (11:36 -0700)]
osd: call renew_subs when appropriate

Otherwise our sub_want calls do nothing useful until the
next subscription renewal goes out.

15 years agovstart: build osdmap of correct size
Sage Weil [Mon, 19 Oct 2009 18:26:28 +0000 (11:26 -0700)]
vstart: build osdmap of correct size

15 years agoosd: fix pgid parsing
Sage Weil [Mon, 19 Oct 2009 18:17:26 +0000 (11:17 -0700)]
osd: fix pgid parsing

The preferred osd is in decimal, not hex.

15 years agomonc: cleanup stray sub_want()
Sage Weil [Fri, 16 Oct 2009 23:41:04 +0000 (16:41 -0700)]
monc: cleanup stray sub_want()

15 years agomon: semireliable message push from mon to mon clients
Sage Weil [Fri, 16 Oct 2009 23:38:44 +0000 (16:38 -0700)]
mon: semireliable message push from mon to mon clients

Used for OSD scrub, inject args.

15 years agoqa: add pjd test; change default monhost to cosd0
Sage Weil [Fri, 16 Oct 2009 20:30:31 +0000 (13:30 -0700)]
qa: add pjd test; change default monhost to cosd0

15 years agomon: fix use-after-free in session removal
Sage Weil [Fri, 16 Oct 2009 23:36:35 +0000 (16:36 -0700)]
mon: fix use-after-free in session removal

15 years agomonclient: always subscribe to monmap
Sage Weil [Fri, 16 Oct 2009 23:28:09 +0000 (16:28 -0700)]
monclient: always subscribe to monmap

This ensure we keep the mon session alive, even if the user
doesn't subscribe to anything else.

15 years agomon: fix up some uninitialized memory
Sage Weil [Fri, 16 Oct 2009 22:42:34 +0000 (15:42 -0700)]
mon: fix up some uninitialized memory

15 years agomonclient: show when hunting
Sage Weil [Fri, 16 Oct 2009 19:58:50 +0000 (12:58 -0700)]
monclient: show when hunting

15 years agoHadoop: Move CephIOStream native methods into CephFS/CephTalker
Greg Farnum [Fri, 16 Oct 2009 01:19:39 +0000 (18:19 -0700)]
Hadoop: Move CephIOStream native methods into CephFS/CephTalker

15 years agoHadoop: Move debug output into CephFS, preparing for CephIOStreams
Greg Farnum [Thu, 15 Oct 2009 23:48:23 +0000 (16:48 -0700)]
Hadoop: Move debug output into CephFS, preparing for CephIOStreams

15 years agolibhadoop: Convert CephFSInterface to match the proper Java classes.
Greg Farnum [Thu, 15 Oct 2009 22:21:16 +0000 (15:21 -0700)]
libhadoop: Convert CephFSInterface to match the proper Java classes.

15 years agoHadoop: Newly-generated JNI header files
Greg Farnum [Thu, 15 Oct 2009 18:40:24 +0000 (11:40 -0700)]
Hadoop: Newly-generated JNI header files

15 years agoHadoop: Now wraps all ceph calls in a CephFS ABC with a CephTalker implementing
Greg Farnum [Thu, 15 Oct 2009 18:35:38 +0000 (11:35 -0700)]
Hadoop: Now wraps all ceph calls in a CephFS ABC with a CephTalker implementing

15 years agoHadoop: Now also uses their logging framework
Greg Farnum [Wed, 14 Oct 2009 23:17:44 +0000 (16:17 -0700)]
Hadoop: Now also uses their logging framework

15 years agoHadoop: getFileBlockSize has an unclear contract, but it's followed better now
Greg Farnum [Wed, 14 Oct 2009 01:50:46 +0000 (18:50 -0700)]
Hadoop: getFileBlockSize has an unclear contract, but it's followed better now

15 years agoHadoop: clean out unused functions.
Greg Farnum [Wed, 14 Oct 2009 00:34:40 +0000 (17:34 -0700)]
Hadoop: clean out unused functions.

15 years agoHadoop: Better documentation between Ceph[Input Output]Stream and libhadoop
Greg Farnum [Wed, 14 Oct 2009 00:27:45 +0000 (17:27 -0700)]
Hadoop: Better documentation between Ceph[Input Output]Stream and libhadoop

15 years agoHadoop: Better document interface between CephFileSystem and libhadoopcephfs
Greg Farnum [Tue, 13 Oct 2009 23:41:51 +0000 (16:41 -0700)]
Hadoop: Better document interface between CephFileSystem and libhadoopcephfs

15 years agolibhadoop: Remove some silly asserts and fix a minor memory leak.
Greg Farnum [Tue, 13 Oct 2009 23:40:48 +0000 (16:40 -0700)]
libhadoop: Remove some silly asserts and fix a minor memory leak.

15 years agoHadoop: Remove unnecessary imports.
Greg Farnum [Tue, 13 Oct 2009 19:23:22 +0000 (12:23 -0700)]
Hadoop: Remove unnecessary imports.

15 years agoHadoop: Remove some unused data members/methods.
Greg Farnum [Tue, 13 Oct 2009 18:16:14 +0000 (11:16 -0700)]
Hadoop: Remove some unused data members/methods.

15 years agohadoop: Moving back to older use of debug.
Greg Farnum [Tue, 13 Oct 2009 18:09:55 +0000 (11:09 -0700)]
hadoop: Moving back to older use of debug.

15 years agoHadoop: Fix tabs to be 2 spaces.
Greg Farnum [Tue, 13 Oct 2009 00:14:07 +0000 (17:14 -0700)]
Hadoop: Fix tabs to be 2 spaces.

15 years agomon: Remove bad FIX_ME comment
Greg Farnum [Tue, 13 Oct 2009 23:20:56 +0000 (16:20 -0700)]
mon: Remove bad FIX_ME comment

15 years agouclient: Return an error if you open a non-dir via opendir
Greg Farnum [Tue, 13 Oct 2009 23:25:10 +0000 (16:25 -0700)]
uclient: Return an error if you open a non-dir via opendir

15 years agomonclient: start with hunting=true
Sage Weil [Fri, 16 Oct 2009 18:24:20 +0000 (11:24 -0700)]
monclient: start with hunting=true

(and reset after get_monmap_privately)

15 years agoosd: send boot message if we get marked down
Sage Weil [Fri, 16 Oct 2009 18:17:16 +0000 (11:17 -0700)]
osd: send boot message if we get marked down

This broke when we redid its monclient stuff

15 years agoMakefile: 'core' rule to do just the core daemons, tools
Sage Weil [Fri, 16 Oct 2009 18:16:55 +0000 (11:16 -0700)]
Makefile: 'core' rule to do just the core daemons, tools

15 years agosample: rename sample ceph.conf
Sage Weil [Fri, 16 Oct 2009 17:14:14 +0000 (10:14 -0700)]
sample: rename sample ceph.conf

15 years agomon: show election quorum info on 'mon stat'
Sage Weil [Fri, 16 Oct 2009 17:12:37 +0000 (10:12 -0700)]
mon: show election quorum info on 'mon stat'

15 years agomon: defined struct for MMonSubscribeAck
Sage Weil [Thu, 15 Oct 2009 00:25:08 +0000 (17:25 -0700)]
mon: defined struct for MMonSubscribeAck

15 years agotodo
Sage Weil [Wed, 14 Oct 2009 22:22:23 +0000 (15:22 -0700)]
todo

15 years agomds: fix stupid float conversion warnings
Sage Weil [Wed, 14 Oct 2009 17:58:35 +0000 (10:58 -0700)]
mds: fix stupid float conversion warnings

From ppc.

15 years agoauth: fix connect response
Yehuda Sadeh [Thu, 15 Oct 2009 23:24:03 +0000 (16:24 -0700)]
auth: fix connect response

15 years agoMerge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable
Yehuda Sadeh [Thu, 15 Oct 2009 21:16:58 +0000 (14:16 -0700)]
Merge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable

15 years agowireshark: update with latest version, some other fixes
Yehuda Sadeh [Thu, 15 Oct 2009 21:16:27 +0000 (14:16 -0700)]
wireshark: update with latest version, some other fixes

15 years agomon: make 'mon add ...' work
Sage Weil [Thu, 15 Oct 2009 19:10:31 +0000 (12:10 -0700)]
mon: make 'mon add ...' work

15 years agomon: clean up 'mon ...' command processing, add 'mon getmap'
Sage Weil [Wed, 14 Oct 2009 05:34:53 +0000 (22:34 -0700)]
mon: clean up 'mon ...' command processing, add 'mon getmap'

15 years agomon: set initial timeout on sessions; clean up a bit
Sage Weil [Wed, 14 Oct 2009 05:05:57 +0000 (22:05 -0700)]
mon: set initial timeout on sessions; clean up a bit

15 years agomon: fix warning
Sage Weil [Tue, 13 Oct 2009 21:46:05 +0000 (14:46 -0700)]
mon: fix warning

15 years agomon: PaxosServices needs virtual destructor
Sage Weil [Tue, 13 Oct 2009 21:45:39 +0000 (14:45 -0700)]
mon: PaxosServices needs virtual destructor

15 years agomon: small cleanup
Sage Weil [Tue, 13 Oct 2009 20:46:34 +0000 (13:46 -0700)]
mon: small cleanup

15 years agodebian: bail out on error during package build
Sage Weil [Tue, 13 Oct 2009 20:46:12 +0000 (13:46 -0700)]
debian: bail out on error during package build

15 years agoMakefile: include client/ioctl.h in tarball
Sage Weil [Tue, 13 Oct 2009 20:45:08 +0000 (13:45 -0700)]
Makefile: include client/ioctl.h in tarball

15 years agomsgr: kill dead code
Sage Weil [Tue, 13 Oct 2009 20:08:15 +0000 (13:08 -0700)]
msgr: kill dead code

15 years agouclient: pipe down about connects
Sage Weil [Tue, 13 Oct 2009 21:14:58 +0000 (14:14 -0700)]
uclient: pipe down about connects

15 years agomsgr: add version field to msg header
Sage Weil [Tue, 13 Oct 2009 19:54:22 +0000 (12:54 -0700)]
msgr: add version field to msg header

15 years agoosd: use ms_handle_connect to resend mon messages
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.

15 years agomonclient: ignore resets on non-current mon
Sage Weil [Tue, 13 Oct 2009 18:54:57 +0000 (11:54 -0700)]
monclient: ignore resets on non-current mon

15 years agomon: use connection hook to resend mon requests
Sage Weil [Tue, 13 Oct 2009 18:54:40 +0000 (11:54 -0700)]
mon: use connection hook to resend mon requests

15 years agomsgr: add ms_handle_connect callback
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.

15 years agomsgr: drop extra arg
Sage Weil [Tue, 13 Oct 2009 18:37:28 +0000 (11:37 -0700)]
msgr: drop extra arg

15 years agomsgr: change ms_handle_[peer_]reset prototype
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

15 years agomsgr: put peer type, addr in Connection
Sage Weil [Tue, 13 Oct 2009 17:40:02 +0000 (10:40 -0700)]
msgr: put peer type, addr in Connection

15 years agotodo
Sage Weil [Tue, 13 Oct 2009 06:05:50 +0000 (23:05 -0700)]
todo

15 years agomsgr: simple exponential backoff, with tunable initial and max delay
Sage Weil [Tue, 13 Oct 2009 06:04:24 +0000 (23:04 -0700)]
msgr: simple exponential backoff, with tunable initial and max delay

15 years agomsgr: simplify policy
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.

15 years agomsgr: kill unused ms_handle_failure
Sage Weil [Mon, 12 Oct 2009 20:34:48 +0000 (13:34 -0700)]
msgr: kill unused ms_handle_failure

15 years agomon: MonmapMonitor now sends responses to commands and doesn't double-add
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.

15 years agomon: use send_reply for pool ops; fix msg leak
Sage Weil [Mon, 12 Oct 2009 19:06:36 +0000 (12:06 -0700)]
mon: use send_reply for pool ops; fix msg leak

15 years agomon: share new osd maps with 'random' osds
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.

15 years agomon: send osd map if MPGStats sender has an old map
Sage Weil [Mon, 12 Oct 2009 17:53:39 +0000 (10:53 -0700)]
mon: send osd map if MPGStats sender has an old map

15 years agomon: clean out old crufty cluster shutdown code
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.

15 years agomon: send MOSDPGCreate from all mons, not just leader
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.  :/

15 years agomon: oops, make PaxosServiceMessage match ceph_mon_request_header
Sage Weil [Mon, 12 Oct 2009 17:11:57 +0000 (10:11 -0700)]
mon: oops, make PaxosServiceMessage match ceph_mon_request_header

15 years agomon: kill some dead code
Sage Weil [Mon, 12 Oct 2009 04:56:59 +0000 (21:56 -0700)]
mon: kill some dead code

15 years agomon: use send_reply for MPoolOpReply
Sage Weil [Mon, 12 Oct 2009 04:55:39 +0000 (21:55 -0700)]
mon: use send_reply for MPoolOpReply

15 years agoLogClient: Add a mon data member and mon selection code.
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

15 years agoMonMap: Remove pick_mon() and last_mon data member -- doesn't belong here
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

15 years agomonmap: add a utime_t created data member
Greg Farnum [Mon, 12 Oct 2009 17:47:47 +0000 (10:47 -0700)]
monmap: add a utime_t created data member

15 years agouclient: Accept -1 in set_default_preferred_pg to go back to non-local writes
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

15 years agomon/msg: Remove MMonAdd; switch MonmapMonitor to use MMonCommand
Greg Farnum [Mon, 12 Oct 2009 17:34:50 +0000 (10:34 -0700)]
mon/msg: Remove MMonAdd; switch MonmapMonitor to use MMonCommand

15 years agomon: Replace old question comment with explanation comment
Greg Farnum [Mon, 12 Oct 2009 16:15:45 +0000 (09:15 -0700)]
mon: Replace old question comment with explanation comment

15 years agomon: Remember to delete the Message when done
Greg Farnum [Mon, 12 Oct 2009 16:14:19 +0000 (09:14 -0700)]
mon: Remember to delete the Message when done

15 years agoceph: follow monmap changes in -w mode
Sage Weil [Sun, 11 Oct 2009 04:34:47 +0000 (21:34 -0700)]
ceph: follow monmap changes in -w mode

15 years agomonmaptool: use generic MonMap::print methods
Sage Weil [Sun, 11 Oct 2009 04:34:40 +0000 (21:34 -0700)]
monmaptool: use generic MonMap::print methods

15 years agomon: store latest monmap is paxos-compatible format
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.

15 years agomon: don't trim cluster sessions
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.

15 years agomon: route osdmaps sent by mon properly
Sage Weil [Sat, 10 Oct 2009 05:27:38 +0000 (22:27 -0700)]
mon: route osdmaps sent by mon properly

15 years agomon: kill unused MOSDGetMap
Sage Weil [Sat, 10 Oct 2009 04:55:44 +0000 (21:55 -0700)]
mon: kill unused MOSDGetMap

Yay

15 years agoosd: stop using MOSDGetMap
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.

15 years agomon: kill MMDSGetMap, clean up MDSMonitor map sending code
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.

15 years agomon: kill more dead code
Sage Weil [Sat, 10 Oct 2009 04:27:47 +0000 (21:27 -0700)]
mon: kill more dead code

15 years agomonc: clean up mon pick code slightly
Sage Weil [Sat, 10 Oct 2009 04:27:34 +0000 (21:27 -0700)]
monc: clean up mon pick code slightly

15 years agoMerge branch 'unstable' of ssh://ceph.newdream.net/home/sage/ceph.newdream.net/git...
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

15 years agomon: kill dead faking, bcast code
Sage Weil [Fri, 9 Oct 2009 23:48:11 +0000 (16:48 -0700)]
mon: kill dead faking, bcast code

15 years agoall: change disk format numbers
Greg Farnum [Fri, 9 Oct 2009 23:04:11 +0000 (16:04 -0700)]
all: change disk format numbers

15 years agomon: Remove invalid assert; fix mon_type constants.
Greg Farnum [Fri, 9 Oct 2009 23:02:20 +0000 (16:02 -0700)]
mon: Remove invalid assert; fix mon_type constants.

15 years agomdsmap: add a last_changed utime_t data member.
Greg Farnum [Thu, 8 Oct 2009 23:28:39 +0000 (16:28 -0700)]
mdsmap: add a last_changed utime_t data member.

15 years agomon: Add MonmapMonitor to whole system
Greg Farnum [Fri, 9 Oct 2009 01:09:18 +0000 (18:09 -0700)]
mon: Add MonmapMonitor to whole system

15 years agomon: Add MonmapMonitor source.
Greg Farnum [Thu, 8 Oct 2009 23:29:43 +0000 (16:29 -0700)]
mon: Add MonmapMonitor source.

15 years agoPaxosService: Add some function documentation.
Greg Farnum [Thu, 8 Oct 2009 22:37:11 +0000 (15:37 -0700)]
PaxosService: Add some function documentation.

15 years agomessage: Add a new MMonAdd message type
Greg Farnum [Thu, 8 Oct 2009 01:07:47 +0000 (18:07 -0700)]
message: Add a new MMonAdd message type