]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
15 years agomsg: fix uses of MForward destructor to use put()
Greg Farnum [Tue, 30 Mar 2010 21:31:45 +0000 (14:31 -0700)]
msg: fix uses of MForward destructor to use put()

15 years agomsg: MForward has a private destructor
Greg Farnum [Tue, 30 Mar 2010 21:25:24 +0000 (14:25 -0700)]
msg: MForward has a private destructor

15 years agomsg: fix uses of PaxosServiceMessage destructor to use put()
Greg Farnum [Tue, 30 Mar 2010 21:24:28 +0000 (14:24 -0700)]
msg: fix uses of PaxosServiceMessage destructor to use put()

15 years agomsg: PaxosServiceMessage has a protected destructor
Greg Farnum [Tue, 30 Mar 2010 21:17:40 +0000 (14:17 -0700)]
msg: PaxosServiceMessage has a protected destructor

15 years agomsg: fix uses of MRoute destructor to use put()
Greg Farnum [Tue, 30 Mar 2010 21:15:51 +0000 (14:15 -0700)]
msg: fix uses of MRoute destructor to use put()

15 years agomsg: MRoute has a private destructor
Greg Farnum [Tue, 30 Mar 2010 21:13:33 +0000 (14:13 -0700)]
msg: MRoute has a private destructor

15 years agomsg: MPing has a private destructor
Greg Farnum [Tue, 30 Mar 2010 21:11:02 +0000 (14:11 -0700)]
msg: MPing has a private destructor

15 years agomsg: fix uses of MLogAck destructor to use put()
Greg Farnum [Tue, 30 Mar 2010 21:10:26 +0000 (14:10 -0700)]
msg: fix uses of MLogAck destructor to use put()

15 years agomsg: MLogAck has a private destructor
Greg Farnum [Tue, 30 Mar 2010 21:09:30 +0000 (14:09 -0700)]
msg: MLogAck has a private destructor

15 years agomsg: fix uses of MLog destructor to use put()
Greg Farnum [Tue, 30 Mar 2010 21:08:42 +0000 (14:08 -0700)]
msg: fix uses of MLog destructor to use put()

15 years agomsg: MLog has a private destructor
Greg Farnum [Tue, 30 Mar 2010 21:08:06 +0000 (14:08 -0700)]
msg: MLog has a private destructor

15 years agomsg: fix uses of MMonElection destructor to use put()
Greg Farnum [Tue, 30 Mar 2010 21:06:31 +0000 (14:06 -0700)]
msg: fix uses of MMonElection destructor to use put()

15 years agomsg: MMonElection has a private destructor
Greg Farnum [Tue, 30 Mar 2010 21:06:20 +0000 (14:06 -0700)]
msg: MMonElection has a private destructor

15 years agomsg: fix uses of MMonObserveNotify destructor to use put()
Greg Farnum [Tue, 30 Mar 2010 21:04:28 +0000 (14:04 -0700)]
msg: fix uses of MMonObserveNotify destructor to use put()

15 years agomsg: MMonObserveNotify has a private destructor
Greg Farnum [Tue, 30 Mar 2010 21:03:49 +0000 (14:03 -0700)]
msg: MMonObserveNotify has a private destructor

15 years agomsg: fix uses of MMonObserve destructor to use put()
Greg Farnum [Tue, 30 Mar 2010 21:03:07 +0000 (14:03 -0700)]
msg: fix uses of MMonObserve destructor to use put()

15 years agomsg: MMonObserve has a private destructor
Greg Farnum [Tue, 30 Mar 2010 21:01:25 +0000 (14:01 -0700)]
msg: MMonObserve has a private destructor

15 years agomsg: fix uses of MMonPaxos destructor to use put()
Greg Farnum [Tue, 30 Mar 2010 21:00:55 +0000 (14:00 -0700)]
msg: fix uses of MMonPaxos destructor to use put()

15 years agomsg: MMonPaxos has a private destructor
Greg Farnum [Tue, 30 Mar 2010 20:59:27 +0000 (13:59 -0700)]
msg: MMonPaxos has a private destructor

15 years agomsg: fix uses of MMonCommandAck to use put()
Greg Farnum [Wed, 31 Mar 2010 21:47:07 +0000 (14:47 -0700)]
msg: fix uses of MMonCommandAck to use put()

15 years agomsg: MMonCommandAck has a private destructor
Greg Farnum [Wed, 31 Mar 2010 21:44:49 +0000 (14:44 -0700)]
msg: MMonCommandAck has a private destructor

15 years agomsg: fix uses of MMonCommand destructor to use put()
Greg Farnum [Tue, 30 Mar 2010 20:58:31 +0000 (13:58 -0700)]
msg: fix uses of MMonCommand destructor to use put()

15 years agomsg: MMonCommand has a private destructor
Greg Farnum [Tue, 30 Mar 2010 20:57:45 +0000 (13:57 -0700)]
msg: MMonCommand has a private destructor

15 years agomsg: fix uses of MPoolOp destructor to use put()
Greg Farnum [Tue, 30 Mar 2010 20:55:46 +0000 (13:55 -0700)]
msg: fix uses of MPoolOp destructor to use put()

15 years agomsg: MPoolOp has a private destructor
Greg Farnum [Tue, 30 Mar 2010 20:50:52 +0000 (13:50 -0700)]
msg: MPoolOp has a private destructor

15 years agomsg: fix uses of MGetPoolStatsReply destructor to use put()
Greg Farnum [Tue, 30 Mar 2010 20:48:37 +0000 (13:48 -0700)]
msg: fix uses of MGetPoolStatsReply destructor to use put()

15 years agomsg: MGetPoolStatsReply has a private destructor
Greg Farnum [Tue, 30 Mar 2010 20:47:29 +0000 (13:47 -0700)]
msg: MGetPoolStatsReply has a private destructor

15 years agomsg: fix uses of MGetPoolStats destructor to use put()
Greg Farnum [Tue, 30 Mar 2010 20:46:56 +0000 (13:46 -0700)]
msg: fix uses of MGetPoolStats destructor to use put()

15 years agomsg: MGetPoolStats has a private destructor
Greg Farnum [Tue, 30 Mar 2010 20:45:22 +0000 (13:45 -0700)]
msg: MGetPoolStats has a private destructor

15 years agomsg: fix uses of MStatfs destructor to use put()
Greg Farnum [Tue, 30 Mar 2010 20:44:50 +0000 (13:44 -0700)]
msg: fix uses of MStatfs destructor to use put()

15 years agomsg: MStatfs has a private destructor
Greg Farnum [Tue, 30 Mar 2010 20:01:37 +0000 (13:01 -0700)]
msg: MStatfs has a private destructor

15 years agomsg: fix uses of MPGStatsAck destructor to use put()
Greg Farnum [Tue, 30 Mar 2010 19:59:27 +0000 (12:59 -0700)]
msg: fix uses of MPGStatsAck destructor to use put()

15 years agomsg: MPGStatsAck has a private destructor
Greg Farnum [Tue, 30 Mar 2010 19:57:07 +0000 (12:57 -0700)]
msg: MPGStatsAck has a private destructor

15 years agomsg: fix uses of MPGStats destructor to use put()
Greg Farnum [Tue, 30 Mar 2010 19:55:58 +0000 (12:55 -0700)]
msg: fix uses of MPGStats destructor to use put()

15 years agomsg: MPGStats has a private destructor
Greg Farnum [Tue, 30 Mar 2010 19:55:37 +0000 (12:55 -0700)]
msg: MPGStats has a private destructor

15 years agomsg: Change all uses of ~Message to Message->put()
Greg Farnum [Tue, 30 Mar 2010 19:37:01 +0000 (12:37 -0700)]
msg: Change all uses of ~Message to Message->put()

15 years agomsg: Declare ~Message to be protected.
Greg Farnum [Tue, 30 Mar 2010 19:23:22 +0000 (12:23 -0700)]
msg: Declare ~Message to be protected.

15 years agorgw: revert accidental commit of get_attr prototype change
Greg Farnum [Tue, 30 Mar 2010 18:48:06 +0000 (11:48 -0700)]
rgw: revert accidental commit of get_attr prototype change

15 years agoMerge branch 'msgr' into unstable
Sage Weil [Tue, 30 Mar 2010 18:45:00 +0000 (11:45 -0700)]
Merge branch 'msgr' into unstable

15 years agomsgr: source, not orig_source, in dbg output
Sage Weil [Fri, 26 Mar 2010 19:31:39 +0000 (12:31 -0700)]
msgr: source, not orig_source, in dbg output

15 years agomds: don't use get_orig_source
Sage Weil [Thu, 25 Mar 2010 23:09:42 +0000 (16:09 -0700)]
mds: don't use get_orig_source

MDS doesn't do any request forwarding, so there is no need.

15 years agomsgr: NOSRCADDR protocol feature drops src/orig_src in msg header
Sage Weil [Thu, 25 Mar 2010 23:04:18 +0000 (16:04 -0700)]
msgr: NOSRCADDR protocol feature drops src/orig_src in msg header

This lets us drop the src, orig_src ceph_entity_addr's from the message
header, saving about 160 bytes per message.

The feature is optional.  We can still talk to peers who use the old
protocol.

15 years agomsgr: put features in connection_state
Sage Weil [Thu, 25 Mar 2010 23:01:34 +0000 (16:01 -0700)]
msgr: put features in connection_state

15 years agomsgr: use connection for src addr
Sage Weil [Thu, 25 Mar 2010 21:49:56 +0000 (14:49 -0700)]
msgr: use connection for src addr

15 years agomsgr: make Message::get_orig_* differ only when explicitly directed to
Sage Weil [Thu, 25 Mar 2010 20:46:16 +0000 (13:46 -0700)]
msgr: make Message::get_orig_* differ only when explicitly directed to

This paves the way for removal of the orig_src field from the message
header.

15 years agorgw: add optional auid parameter to create_bucket.
Greg Farnum [Mon, 29 Mar 2010 18:43:45 +0000 (11:43 -0700)]
rgw: add optional auid parameter to create_bucket.

If set this will set the RADOS pool's auid to the given one, granting
partial data coherency.

15 years agorgw: remove dead code. rebuild_policy exists elsewhere; the acl needs no main()
Greg Farnum [Mon, 29 Mar 2010 17:03:29 +0000 (10:03 -0700)]
rgw: remove dead code. rebuild_policy exists elsewhere; the acl needs no main()

15 years agorgw: radosgw_admin will quit gracefully if it can't open the store
Greg Farnum [Mon, 29 Mar 2010 14:40:51 +0000 (07:40 -0700)]
rgw: radosgw_admin will quit gracefully if it can't open the store

15 years agorgw: set auid if specified at creation
Greg Farnum [Mon, 29 Mar 2010 14:40:28 +0000 (07:40 -0700)]
rgw: set auid if specified at creation

15 years agorgw: add auid field to RGWUserInfo
Greg Farnum [Fri, 26 Mar 2010 23:29:11 +0000 (16:29 -0700)]
rgw: add auid field to RGWUserInfo

15 years agoauth: Keyring no longer segfaults if HOME env variable is unset.
Greg Farnum [Fri, 26 Mar 2010 22:57:14 +0000 (15:57 -0700)]
auth: Keyring no longer segfaults if HOME env variable is unset.

Just skip that path, instead. We can't recover what it meant.

15 years agorgw: if you can't init_storage_provider(), quit instead
Greg Farnum [Fri, 26 Mar 2010 22:56:37 +0000 (15:56 -0700)]
rgw: if you can't init_storage_provider(), quit instead
of segfaulting later.

15 years agorgw: say why the store failed to open in admin
Greg Farnum [Fri, 26 Mar 2010 22:56:14 +0000 (15:56 -0700)]
rgw: say why the store failed to open in admin

15 years agorgw: add minor data to schema examination
Greg Farnum [Fri, 26 Mar 2010 22:55:47 +0000 (15:55 -0700)]
rgw: add minor data to schema examination

15 years agomkcephfs: osd=allow * caps for osd, mds
Sage Weil [Mon, 29 Mar 2010 16:48:28 +0000 (09:48 -0700)]
mkcephfs: osd=allow * caps for osd, mds

15 years agoauth: standardize on -n/--name [type.]name
Sage Weil [Fri, 26 Mar 2010 23:04:26 +0000 (16:04 -0700)]
auth: standardize on -n/--name [type.]name

15 years agoauth: initialized uninitialized variable, don't free pts we don't own
Sage Weil [Fri, 26 Mar 2010 22:46:52 +0000 (15:46 -0700)]
auth: initialized uninitialized variable, don't free pts we don't own

15 years agomkcephf: behave when user is not defined
Sage Weil [Fri, 26 Mar 2010 19:09:18 +0000 (12:09 -0700)]
mkcephf: behave when user is not defined

15 years agoauth: fix a few memory leaks, uninit vars
Sage Weil [Thu, 25 Mar 2010 19:51:05 +0000 (12:51 -0700)]
auth: fix a few memory leaks, uninit vars

Courtesy of cppcheck

15 years agomds: skip purge_stray when stray pins are present
Sage Weil [Fri, 26 Mar 2010 18:56:34 +0000 (11:56 -0700)]
mds: skip purge_stray when stray pins are present

Otherwise we can get into a loop:

 eval_stray
 purge_stray
 _purge_stray_purged
  journal truncate
 eval_stray
 ...

This doesn't explain what the stray pin was that I saw, but it at least
avoids the looping.

15 years agoMakefile: add missing MDentryLink.h
Sage Weil [Thu, 25 Mar 2010 19:00:34 +0000 (12:00 -0700)]
Makefile: add missing MDentryLink.h

15 years agomds: drop unused CInode::PIN_PURGING
Sage Weil [Fri, 26 Mar 2010 18:54:30 +0000 (11:54 -0700)]
mds: drop unused CInode::PIN_PURGING

15 years agosrc/README is required
Sage Weil [Thu, 25 Mar 2010 18:48:25 +0000 (11:48 -0700)]
src/README is required

15 years agofilestore: less noisy about OpSequencer queue
Sage Weil [Thu, 25 Mar 2010 18:31:05 +0000 (11:31 -0700)]
filestore: less noisy about OpSequencer queue

15 years agomds: drop obsolete hack for base inodes
Sage Weil [Thu, 25 Mar 2010 17:58:21 +0000 (10:58 -0700)]
mds: drop obsolete hack for base inodes

We used to skip base inodes for scatter_writebehind.  But we can
journal these just like anything else, and it potentially breaks
try_to_expire if a base inode's lock is dirty, because the
completion queued on WAIT_STABLE by scatter_nudge never gets
completed.

15 years agomds: fix lost completion in scatter_nudge (broke log trimming)
Sage Weil [Thu, 25 Mar 2010 17:54:07 +0000 (10:54 -0700)]
mds: fix lost completion in scatter_nudge (broke log trimming)

15 years agorados_bencher: Don't re-initialize passed-in pool, it breaks stuff
Greg Farnum [Thu, 25 Mar 2010 22:39:58 +0000 (15:39 -0700)]
rados_bencher: Don't re-initialize passed-in pool, it breaks stuff

15 years agoosd: Fix up OSDCaps::get_pool_cap to work/make more sense
Greg Farnum [Thu, 25 Mar 2010 22:38:52 +0000 (15:38 -0700)]
osd: Fix up OSDCaps::get_pool_cap to work/make more sense

15 years agorados: add interface to change pool owners
Greg Farnum [Tue, 23 Mar 2010 22:08:13 +0000 (15:08 -0700)]
rados: add interface to change pool owners

15 years agolibrados: add change_pool_auid functions
Greg Farnum [Tue, 23 Mar 2010 20:41:01 +0000 (13:41 -0700)]
librados: add change_pool_auid functions

15 years agoobjecter: add change_pool_auid function.
Greg Farnum [Tue, 23 Mar 2010 20:38:02 +0000 (13:38 -0700)]
objecter: add change_pool_auid function.

I'm reluctant to stick this in the objecter since it doesn't quite fit, but
it's a pool management function and putting it here makes it easy to use
elsewhere while maintaining librados' standard function flow.

15 years agomon: Set MForward::client_caps explicitly; this fixes a bad connection deref.
Greg Farnum [Thu, 25 Mar 2010 19:58:14 +0000 (12:58 -0700)]
mon: Set MForward::client_caps explicitly; this fixes a bad connection deref.

Previously the decoded PaxosServiceMessage would attempt to follow an
uninitialized Connection* and segfault the system.

15 years agomon: set mon_caps with authenticated monitor check instead of claimed one.
Greg Farnum [Wed, 24 Mar 2010 23:07:51 +0000 (16:07 -0700)]
mon: set mon_caps with authenticated monitor check instead of claimed one.

15 years agomon: Fix all uses of Session and get_caps.
Greg Farnum [Thu, 25 Mar 2010 17:43:04 +0000 (10:43 -0700)]
mon: Fix all uses of Session and get_caps.
They now use MonSession and get_service()->caps, respectively.

15 years agomon: Change name of Session to MonSession.
Greg Farnum [Thu, 25 Mar 2010 17:41:31 +0000 (10:41 -0700)]
mon: Change name of Session to MonSession.

15 years agomsg: Add get_session function to PaxosServiceMessage
Greg Farnum [Thu, 25 Mar 2010 17:11:20 +0000 (10:11 -0700)]
msg: Add get_session function to PaxosServiceMessage

15 years agoRevert "msg: PaxosServiceMessage includes a MonCap*"
Greg Farnum [Thu, 25 Mar 2010 16:54:58 +0000 (09:54 -0700)]
Revert "msg: PaxosServiceMessage includes a MonCap*"

This reverts commit 167b28a0d4cb2977f237be1972e40e04aed24207.

15 years agomon: MonCaps default initializes more variables
Greg Farnum [Wed, 24 Mar 2010 20:54:20 +0000 (13:54 -0700)]
mon: MonCaps default initializes more variables

15 years agoosd: drop useless ENOMEM check
Sage Weil [Thu, 25 Mar 2010 17:19:43 +0000 (10:19 -0700)]
osd: drop useless ENOMEM check

'new' will throw an exception if it fails, not return NULL.

15 years agovstart.sh: include mon secret during mkfs
Sage Weil [Thu, 25 Mar 2010 17:19:25 +0000 (10:19 -0700)]
vstart.sh: include mon secret during mkfs

15 years agomon: fix up authorizer generation/validation
Sage Weil [Thu, 25 Mar 2010 17:19:02 +0000 (10:19 -0700)]
mon: fix up authorizer generation/validation

Only generate authorizer for other mons. Only require authorizer for other
mons when CEPHX is enabled.  Check it properly (before we were letting
mons connect without any authorizer!).

15 years agomon: change forwarding behavior somewhat
Sage Weil [Wed, 24 Mar 2010 22:50:31 +0000 (15:50 -0700)]
mon: change forwarding behavior somewhat

15 years agomon: initialize routed_request_tid
Sage Weil [Wed, 24 Mar 2010 22:24:07 +0000 (15:24 -0700)]
mon: initialize routed_request_tid

15 years agomsgr: set m->connection for messages sent to self
Sage Weil [Wed, 24 Mar 2010 21:04:49 +0000 (14:04 -0700)]
msgr: set m->connection for messages sent to self

15 years agoosd: detect TMAPUP no-op and do no work
Sage Weil [Wed, 24 Mar 2010 18:43:57 +0000 (11:43 -0700)]
osd: detect TMAPUP no-op and do no work

15 years agodebug: include timestamp + thread in _all_ debug output
Sage Weil [Wed, 24 Mar 2010 18:54:44 +0000 (11:54 -0700)]
debug: include timestamp + thread in _all_ debug output

15 years agoqa: fix loopall.sh mode
Sage Weil [Wed, 24 Mar 2010 18:42:56 +0000 (11:42 -0700)]
qa: fix loopall.sh mode

15 years agotodo
Sage Weil [Wed, 24 Mar 2010 18:50:17 +0000 (11:50 -0700)]
todo

15 years agomon: Hack in setting monitor caps
Greg Farnum [Tue, 23 Mar 2010 22:25:58 +0000 (15:25 -0700)]
mon: Hack in setting monitor caps

15 years agofix up READMEs
Sage Weil [Tue, 23 Mar 2010 19:24:34 +0000 (12:24 -0700)]
fix up READMEs

15 years agomon: Fix initialization-crossing goto jump
Greg Farnum [Tue, 23 Mar 2010 21:03:40 +0000 (14:03 -0700)]
mon: Fix initialization-crossing goto jump

15 years agomon: Removing dead code; been commented out for 5 months
Greg Farnum [Tue, 23 Mar 2010 19:40:55 +0000 (12:40 -0700)]
mon: Removing dead code; been commented out for 5 months

15 years agomon: remove dead 'magic' code
Greg Farnum [Tue, 23 Mar 2010 19:26:00 +0000 (12:26 -0700)]
mon: remove dead 'magic' code

15 years agotodo
Sage Weil [Tue, 23 Mar 2010 19:13:09 +0000 (12:13 -0700)]
todo

15 years agomds: fix bug in handle_discover on mdsdir
Sage Weil [Tue, 23 Mar 2010 18:47:01 +0000 (11:47 -0700)]
mds: fix bug in handle_discover on mdsdir

15 years agomds: check myin, not stray, in rejoin_send_acks
Sage Weil [Tue, 23 Mar 2010 18:46:49 +0000 (11:46 -0700)]
mds: check myin, not stray, in rejoin_send_acks

15 years agomds: fix eval_gather for sync->mix(2) and mix->sync(2)
Sage Weil [Tue, 23 Mar 2010 18:41:33 +0000 (11:41 -0700)]
mds: fix eval_gather for sync->mix(2) and mix->sync(2)

These states never move to next state on the client on their own.
The auth mds needs to tell them to switch states.

15 years agomds: encode fnode when replicating CDir
Sage Weil [Tue, 23 Mar 2010 17:56:14 +0000 (10:56 -0700)]
mds: encode fnode when replicating CDir

15 years agomon: addition to MonCaps docs mentioning how perms are used
Greg Farnum [Tue, 23 Mar 2010 18:41:04 +0000 (11:41 -0700)]
mon: addition to MonCaps docs mentioning how perms are used

15 years agomon: remove unused label out, which was causing compiler warning
Greg Farnum [Tue, 23 Mar 2010 17:59:30 +0000 (10:59 -0700)]
mon: remove unused label out, which was causing compiler warning