]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
15 years agoauth: add osd caps parser
Yehuda Sadeh [Tue, 20 Oct 2009 23:43:03 +0000 (16:43 -0700)]
auth: add osd caps parser

15 years agoauth: get rid of AuthorizeServer
Yehuda Sadeh [Tue, 20 Oct 2009 19:43:44 +0000 (12:43 -0700)]
auth: get rid of AuthorizeServer

15 years agoauth: fix vstart.sh
Yehuda Sadeh [Mon, 19 Oct 2009 20:04:40 +0000 (13:04 -0700)]
auth: fix vstart.sh

15 years agoauth: send caps to principals with the ticket
Yehuda Sadeh [Mon, 19 Oct 2009 19:51:21 +0000 (12:51 -0700)]
auth: send caps to principals with the ticket

16 years agoauth: enable mds again
Yehuda Sadeh [Wed, 14 Oct 2009 22:37:53 +0000 (15:37 -0700)]
auth: enable mds again

16 years agoauth: mon does not deny connection without auth data
Yehuda Sadeh [Wed, 14 Oct 2009 22:14:24 +0000 (15:14 -0700)]
auth: mon does not deny connection without auth data

16 years agomon: use master key for inter-mon auth
Yehuda Sadeh [Wed, 14 Oct 2009 21:57:16 +0000 (14:57 -0700)]
mon: use master key for inter-mon auth

16 years agocomm: monitor dispatch should check for closed connection
Yehuda Sadeh [Fri, 9 Oct 2009 18:09:56 +0000 (11:09 -0700)]
comm: monitor dispatch should check for closed connection

16 years agoauth: monitors authenticate themselves on outgoing connections
Yehuda Sadeh [Fri, 9 Oct 2009 17:52:25 +0000 (10:52 -0700)]
auth: monitors authenticate themselves on outgoing connections

16 years agoauth: few session creation error cases handling
Yehuda Sadeh [Wed, 7 Oct 2009 23:30:13 +0000 (16:30 -0700)]
auth: few session creation error cases handling

16 years agomessenger: do not bind socket before connecting
Yehuda Sadeh [Wed, 7 Oct 2009 23:29:11 +0000 (16:29 -0700)]
messenger: do not bind socket before connecting

16 years agoauth: fix several issues with system init
Yehuda Sadeh [Wed, 7 Oct 2009 22:00:55 +0000 (15:00 -0700)]
auth: fix several issues with system init

16 years agomon: fix missing lock, avoid trimmin sessions with empty s->until
Yehuda Sadeh [Wed, 7 Oct 2009 21:41:42 +0000 (14:41 -0700)]
mon: fix missing lock, avoid trimmin sessions with empty s->until

16 years agoutime_t: add is_zero()
Yehuda Sadeh [Wed, 7 Oct 2009 21:40:35 +0000 (14:40 -0700)]
utime_t: add is_zero()

16 years agoauth: authorize on the connect message
Yehuda Sadeh [Tue, 6 Oct 2009 23:25:08 +0000 (16:25 -0700)]
auth: authorize on the connect message

16 years agomsgr: authorizer get/verify callbacks
Sage Weil [Mon, 5 Oct 2009 21:39:06 +0000 (14:39 -0700)]
msgr: authorizer get/verify callbacks

16 years agomsgr: get_authorizer hook?
Sage Weil [Mon, 5 Oct 2009 20:53:28 +0000 (13:53 -0700)]
msgr: get_authorizer hook?

16 years agoobjecter: Session type
Sage Weil [Mon, 5 Oct 2009 18:11:03 +0000 (11:11 -0700)]
objecter: Session type

16 years agoMerge commit 'origin/unstable' into auth
Yehuda Sadeh [Mon, 5 Oct 2009 17:57:01 +0000 (10:57 -0700)]
Merge commit 'origin/unstable' into auth

Conflicts:

src/kernel/Makefile
src/kernel/buffer.h
src/kernel/super.c

16 years agoauth: authorizer for osd
Yehuda Sadeh [Fri, 2 Oct 2009 23:12:59 +0000 (16:12 -0700)]
auth: authorizer for osd

16 years agouclient: fix null deref in unlink() on null dn
Sage Weil [Fri, 2 Oct 2009 22:29:31 +0000 (15:29 -0700)]
uclient: fix null deref in unlink() on null dn

16 years agotodo
Sage Weil [Fri, 2 Oct 2009 21:27:48 +0000 (14:27 -0700)]
todo

16 years agomon: fix offload_targets
Sage Weil [Fri, 2 Oct 2009 22:16:25 +0000 (15:16 -0700)]
mon: fix offload_targets

16 years agouclient: Put some guards up around the Inode->cap map accesses
Greg Farnum [Fri, 2 Oct 2009 21:26:08 +0000 (14:26 -0700)]
uclient: Put some guards up around the Inode->cap map accesses

16 years agomsg: handle MMDSLoadTargets
Greg Farnum [Thu, 1 Oct 2009 22:56:56 +0000 (15:56 -0700)]
msg: handle MMDSLoadTargets

16 years agomon: Handle MMDSLoadTarget messages
Greg Farnum [Thu, 1 Oct 2009 21:30:36 +0000 (14:30 -0700)]
mon: Handle MMDSLoadTarget messages

16 years agomds/message: MMDSLoadTargets should use a set<int32_t> not a map
Greg Farnum [Thu, 1 Oct 2009 21:30:09 +0000 (14:30 -0700)]
mds/message: MMDSLoadTargets should use a set<int32_t> not a map

16 years agomds: Pull my_target checking out into a function targets_safe
Greg Farnum [Thu, 1 Oct 2009 20:51:22 +0000 (13:51 -0700)]
mds: Pull my_target checking out into a function targets_safe

16 years agomds: Don't do rebalancing until the target mds' are in the MDSMap.
Greg Farnum [Thu, 1 Oct 2009 20:30:00 +0000 (13:30 -0700)]
mds: Don't do rebalancing until the target mds' are in the MDSMap.
This will break rebalancing until the monitor code to
add targets is in place.

16 years agomessages: Add a completely useless and unused MMDSOffloadComplete message.
Greg Farnum [Thu, 1 Oct 2009 20:28:02 +0000 (13:28 -0700)]
messages: Add a completely useless and unused MMDSOffloadComplete message.

16 years agomon: Put in placeholder code to handle MDS target messages
Greg Farnum [Thu, 1 Oct 2009 18:34:56 +0000 (11:34 -0700)]
mon: Put in placeholder code to handle MDS target messages

16 years agomds: Break apart rebalance function into prepwork and offload
Greg Farnum [Thu, 1 Oct 2009 00:00:58 +0000 (17:00 -0700)]
mds: Break apart rebalance function into prepwork and offload

16 years agomessages: Add an MMDSLoadTargets message for mds->monitor info.
Greg Farnum [Tue, 29 Sep 2009 23:37:28 +0000 (16:37 -0700)]
messages: Add an MMDSLoadTargets message for mds->monitor info.

16 years agoMessage: add constants for MDS offload messages, and clean up the alignment
Greg Farnum [Tue, 29 Sep 2009 23:16:46 +0000 (16:16 -0700)]
Message: add constants for MDS offload messages, and clean up the alignment

16 years agoCheck for invalid layout input in uclient and MDS, replace with sane if needed
Greg Farnum [Wed, 30 Sep 2009 18:23:19 +0000 (11:23 -0700)]
Check for invalid layout input in uclient and MDS, replace with sane if needed

16 years agolibceph: Actually implement ceph_get_local_osd so that libhadoop works!
Greg Farnum [Wed, 30 Sep 2009 16:55:18 +0000 (09:55 -0700)]
libceph: Actually implement ceph_get_local_osd so that libhadoop works!

16 years agoauth: separate authenticate and authorize messages and handling
Yehuda Sadeh [Fri, 2 Oct 2009 21:31:04 +0000 (14:31 -0700)]
auth: separate authenticate and authorize messages and handling

16 years agokclient: add missing include for in[46]_pton
Sage Weil [Fri, 2 Oct 2009 20:59:07 +0000 (13:59 -0700)]
kclient: add missing include for in[46]_pton

16 years agomsgr: use getnameinfo to format socket addresses
Sage Weil [Fri, 2 Oct 2009 20:43:59 +0000 (13:43 -0700)]
msgr: use getnameinfo to format socket addresses

16 years agouse sockaddr_storage; and some ipv6 support groundwork
Sage Weil [Fri, 2 Oct 2009 20:39:17 +0000 (13:39 -0700)]
use sockaddr_storage; and some ipv6 support groundwork

16 years agoauth: cleanup
Yehuda Sadeh [Fri, 2 Oct 2009 18:02:01 +0000 (11:02 -0700)]
auth: cleanup

16 years agoauth: fix authorize
Yehuda Sadeh [Fri, 2 Oct 2009 17:40:10 +0000 (10:40 -0700)]
auth: fix authorize

16 years agokclient: don't choke on missing snaprealm
Sage Weil [Fri, 2 Oct 2009 17:27:30 +0000 (10:27 -0700)]
kclient: don't choke on missing snaprealm

16 years agoauth: pass secret_id for rotating secret, use it, some other fixes
Yehuda Sadeh [Fri, 2 Oct 2009 00:10:39 +0000 (17:10 -0700)]
auth: pass secret_id for rotating secret, use it, some other fixes

16 years agokclient: no system.* xattrs, yet
Sage Weil [Thu, 1 Oct 2009 22:43:28 +0000 (15:43 -0700)]
kclient: no system.* xattrs, yet

16 years agokclient: kill generic_*xattr calls until we implement xattr_handler
Sage Weil [Thu, 1 Oct 2009 22:38:42 +0000 (15:38 -0700)]
kclient: kill generic_*xattr calls until we implement xattr_handler

16 years agokclient: clean up module startup
Sage Weil [Thu, 1 Oct 2009 22:34:01 +0000 (15:34 -0700)]
kclient: clean up module startup

16 years agoMerge branch 'unstable' of ceph.newdream.net:/git/ceph into unstable
Sage Weil [Thu, 1 Oct 2009 21:25:10 +0000 (14:25 -0700)]
Merge branch 'unstable' of ceph.newdream.net:/git/ceph into unstable

16 years agokclient: fix ra_pages setup after bdi initiation
Sage Weil [Thu, 1 Oct 2009 21:19:49 +0000 (14:19 -0700)]
kclient: fix ra_pages setup after bdi initiation

16 years agokclient: single thread wq for invalidate, truncate
Sage Weil [Thu, 1 Oct 2009 21:16:01 +0000 (14:16 -0700)]
kclient: single thread wq for invalidate, truncate

Keep multiple threads for the writeback.

16 years agokclient: use KMEM_CACHE macro where possible
Sage Weil [Thu, 1 Oct 2009 21:12:45 +0000 (14:12 -0700)]
kclient: use KMEM_CACHE macro where possible

We can't for the inode cache bc we have a init_once method.

16 years agokclient: mark initialization functions __init
Sage Weil [Thu, 1 Oct 2009 20:58:00 +0000 (13:58 -0700)]
kclient: mark initialization functions __init

16 years agoauth: fix system init
Yehuda Sadeh [Thu, 1 Oct 2009 20:54:21 +0000 (13:54 -0700)]
auth: fix system init

16 years agokclient: fix maintainers record
Sage Weil [Thu, 1 Oct 2009 20:45:21 +0000 (13:45 -0700)]
kclient: fix maintainers record

16 years agokclient: backport sync_page_range change
Sage Weil [Thu, 1 Oct 2009 20:30:47 +0000 (13:30 -0700)]
kclient: backport sync_page_range change

16 years agotodo
Sage Weil [Thu, 1 Oct 2009 20:28:30 +0000 (13:28 -0700)]
todo

16 years agokclient: add to MAINTAINERS
Sage Weil [Thu, 1 Oct 2009 20:16:28 +0000 (13:16 -0700)]
kclient: add to MAINTAINERS

16 years agokclient: sync_page_range gone in 2.6.32; use vfs_fsync_range
Sage Weil [Thu, 1 Oct 2009 20:11:45 +0000 (13:11 -0700)]
kclient: sync_page_range gone in 2.6.32; use vfs_fsync_range

This is what generic_write_sync does, but we also want to do the
sync if we are NEARFULL.

16 years agokclient: current_is_pdflush() gone in 2.6.32
Sage Weil [Thu, 1 Oct 2009 20:05:36 +0000 (13:05 -0700)]
kclient: current_is_pdflush() gone in 2.6.32

16 years agotodo
Sage Weil [Thu, 1 Oct 2009 19:57:39 +0000 (12:57 -0700)]
todo

16 years agoRevert "kclient: add smp_mb to sensitive bitops in msgr"
Sage Weil [Thu, 1 Oct 2009 19:57:17 +0000 (12:57 -0700)]
Revert "kclient: add smp_mb to sensitive bitops in msgr"

Don't think these are needed after all...

This reverts commit fe11285c4b00fb9148251cfaaf28aa71a70b31c8.

16 years agokclient: use smp_mb in place of spinlock for testing flag bit
Sage Weil [Thu, 1 Oct 2009 18:21:54 +0000 (11:21 -0700)]
kclient: use smp_mb in place of spinlock for testing flag bit

16 years agokclient: add smp_mb to sensitive bitops in msgr
Sage Weil [Thu, 1 Oct 2009 18:07:09 +0000 (11:07 -0700)]
kclient: add smp_mb to sensitive bitops in msgr

16 years agouclient: set new file layout to 0, which lets mds choose its default
Sage Weil [Thu, 1 Oct 2009 17:59:10 +0000 (10:59 -0700)]
uclient: set new file layout to 0, which lets mds choose its default

16 years agoauth: try to authorize with mon after authenticating
Yehuda Sadeh [Thu, 1 Oct 2009 00:03:46 +0000 (17:03 -0700)]
auth: try to authorize with mon after authenticating

16 years agouclient: Use much saner/not insane defaults for layout settings
Greg Farnum [Wed, 30 Sep 2009 17:58:49 +0000 (10:58 -0700)]
uclient: Use much saner/not insane defaults for layout settings

16 years agoauth: librados requests for osd and mon keys
Yehuda Sadeh [Wed, 30 Sep 2009 23:17:00 +0000 (16:17 -0700)]
auth: librados requests for osd and mon keys

16 years agoauth: don't wait if already authenticated, fix unitest
Yehuda Sadeh [Wed, 30 Sep 2009 22:24:45 +0000 (15:24 -0700)]
auth: don't wait if already authenticated, fix unitest

16 years agokclient: debugfs fix; better osdmap debug output
Sage Weil [Wed, 30 Sep 2009 21:10:46 +0000 (14:10 -0700)]
kclient: debugfs fix; better osdmap debug output

16 years agokclient: default pg_preferred to -1
Sage Weil [Wed, 30 Sep 2009 21:10:23 +0000 (14:10 -0700)]
kclient: default pg_preferred to -1

16 years agoauth: mds gets rotating secrets
Yehuda Sadeh [Wed, 30 Sep 2009 21:02:08 +0000 (14:02 -0700)]
auth: mds gets rotating secrets

16 years agomds: fix layout typo
Sage Weil [Wed, 30 Sep 2009 20:30:07 +0000 (13:30 -0700)]
mds: fix layout typo

16 years agokclient: include new files in patch set
Sage Weil [Wed, 30 Sep 2009 19:53:49 +0000 (12:53 -0700)]
kclient: include new files in patch set

16 years agoosd: name args in ceph_osd_op union
Sage Weil [Wed, 30 Sep 2009 19:47:40 +0000 (12:47 -0700)]
osd: name args in ceph_osd_op union

16 years agodocument data structs; kill ttl_ms in caps msg
Sage Weil [Wed, 30 Sep 2009 19:34:30 +0000 (12:34 -0700)]
document data structs; kill ttl_ms in caps msg

16 years agomds: kill old rdcaps_ttl business
Sage Weil [Wed, 30 Sep 2009 19:24:31 +0000 (12:24 -0700)]
mds: kill old rdcaps_ttl business

This was from when caps independently timed out.

16 years agofix object_stripe_unit -> stripe_unit
Sage Weil [Wed, 30 Sep 2009 19:09:11 +0000 (12:09 -0700)]
fix object_stripe_unit -> stripe_unit

16 years agoauth: init mds keys on startup
Yehuda Sadeh [Wed, 30 Sep 2009 18:45:41 +0000 (11:45 -0700)]
auth: init mds keys on startup

16 years agokclient: try kmalloc, then vmalloc
Sage Weil [Wed, 30 Sep 2009 18:43:31 +0000 (11:43 -0700)]
kclient: try kmalloc, then vmalloc

"A still-lame-but-less-lame option here would be to attempt the kmalloc
(with __GFP_NOWARN) and if it failed, fall back to vmalloc." says akpm

16 years agokclient: audit inline
Sage Weil [Wed, 30 Sep 2009 18:32:03 +0000 (11:32 -0700)]
kclient: audit inline

16 years agokclient: more fixes from akpm's review
Sage Weil [Wed, 30 Sep 2009 18:01:37 +0000 (11:01 -0700)]
kclient: more fixes from akpm's review

16 years agouninline some header types
Sage Weil [Wed, 30 Sep 2009 17:24:28 +0000 (10:24 -0700)]
uninline some header types

16 years agoauth: fix osd init sequence
Yehuda Sadeh [Tue, 29 Sep 2009 23:40:53 +0000 (16:40 -0700)]
auth: fix osd init sequence

16 years agokclient: parse updated mdsmap
Sage Weil [Tue, 29 Sep 2009 21:53:07 +0000 (14:53 -0700)]
kclient: parse updated mdsmap

16 years agomdsmap: another unsized int
Sage Weil [Tue, 29 Sep 2009 21:51:43 +0000 (14:51 -0700)]
mdsmap: another unsized int

16 years agomdsmap: use sized int type
Sage Weil [Tue, 29 Sep 2009 21:38:10 +0000 (14:38 -0700)]
mdsmap: use sized int type

16 years agotodo
Sage Weil [Tue, 29 Sep 2009 20:29:07 +0000 (13:29 -0700)]
todo

16 years agokclient: reorder cap ops a bit (wrt invalidation)
Sage Weil [Fri, 25 Sep 2009 23:04:13 +0000 (16:04 -0700)]
kclient: reorder cap ops a bit (wrt invalidation)

16 years agourandom: fix fd leak
Yehuda Sadeh [Tue, 29 Sep 2009 21:21:23 +0000 (14:21 -0700)]
urandom: fix fd leak

16 years agoauth: authenticate in the x-env protocol
Yehuda Sadeh [Tue, 29 Sep 2009 21:08:13 +0000 (14:08 -0700)]
auth: authenticate in the x-env protocol

16 years agoHadoop: Set the local osd to be the preferred osd for all writes.
Greg Farnum [Mon, 28 Sep 2009 23:54:58 +0000 (16:54 -0700)]
Hadoop: Set the local osd to be the preferred osd for all writes.

16 years agouclient: Add methods for setting a default preferred osd.
Greg Farnum [Tue, 29 Sep 2009 19:16:55 +0000 (12:16 -0700)]
uclient: Add methods for setting a default preferred osd.

16 years agomds/ceph_fs: Add a preferred argument to ceph_mds_request_args and listen to it
Greg Farnum [Tue, 29 Sep 2009 19:08:52 +0000 (12:08 -0700)]
mds/ceph_fs: Add a preferred argument to ceph_mds_request_args and listen to it

16 years agomon: create lpg_num (not pg_num) lpg's
Sage Weil [Tue, 29 Sep 2009 18:07:37 +0000 (11:07 -0700)]
mon: create lpg_num (not pg_num) lpg's

16 years agocosd: 3 monitors
Sage Weil [Mon, 28 Sep 2009 22:28:16 +0000 (15:28 -0700)]
cosd: 3 monitors

16 years agouclient: open mds sessions to export targets
Sage Weil [Tue, 29 Sep 2009 16:49:35 +0000 (09:49 -0700)]
uclient: open mds sessions to export targets

16 years agomds: add export targest to mds_info_t
Sage Weil [Tue, 29 Sep 2009 04:16:02 +0000 (21:16 -0700)]
mds: add export targest to mds_info_t

16 years agoosd: rev disk format
Sage Weil [Mon, 28 Sep 2009 22:23:56 +0000 (15:23 -0700)]
osd: rev disk format

16 years agomon: create localized pgs
Sage Weil [Mon, 28 Sep 2009 22:23:01 +0000 (15:23 -0700)]
mon: create localized pgs

16 years agofilestore: make collection dir have better name; move coll_t type around
Sage Weil [Mon, 28 Sep 2009 22:22:42 +0000 (15:22 -0700)]
filestore: make collection dir have better name; move coll_t type around