]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
15 years agokclient: include ioctl-number doc file in patch set
Sage Weil [Mon, 21 Sep 2009 23:26:50 +0000 (16:26 -0700)]
kclient: include ioctl-number doc file in patch set

15 years agokclient: no need for static ceph_buffer
Sage Weil [Mon, 21 Sep 2009 23:26:35 +0000 (16:26 -0700)]
kclient: no need for static ceph_buffer

15 years agomds: fix mds standby map handling
Sage Weil [Mon, 21 Sep 2009 22:11:07 +0000 (15:11 -0700)]
mds: fix mds standby map handling

Borken by c6ddbdb4671b3594f9b4d5f54b65f8525935758b

15 years agomon: consolidate sub request msgs; cleaner api
Sage Weil [Mon, 21 Sep 2009 21:55:59 +0000 (14:55 -0700)]
mon: consolidate sub request msgs; cleaner api

Caller must call renew_subs() explicitly when they want to start
the subscription(s).

15 years agomon: allow sub for monmap
Sage Weil [Mon, 21 Sep 2009 21:45:45 +0000 (14:45 -0700)]
mon: allow sub for monmap

15 years agomon: fix up subscribe infrastructure to use msgr connection for sessions
Sage Weil [Mon, 21 Sep 2009 21:30:19 +0000 (14:30 -0700)]
mon: fix up subscribe infrastructure to use msgr connection for sessions

Session state is now cleaned up when connections drop.  More
efficient in-memory structures.

15 years agomsgr: pass Connection* to msgr error handlers
Sage Weil [Mon, 21 Sep 2009 21:24:35 +0000 (14:24 -0700)]
msgr: pass Connection* to msgr error handlers

This lets the error handlers get at session state (if any).

15 years agomon: fix client id preallocation
Sage Weil [Mon, 21 Sep 2009 21:06:15 +0000 (14:06 -0700)]
mon: fix client id preallocation

Broken by b2c7655093821710aac2b4d35ccb1740429eb402

15 years agomonclient: send a single mount request
Sage Weil [Mon, 21 Sep 2009 21:05:57 +0000 (14:05 -0700)]
monclient: send a single mount request

15 years agouclient: use ref in constructor for MClientRequest
Sage Weil [Fri, 18 Sep 2009 04:41:04 +0000 (21:41 -0700)]
uclient: use ref in constructor for MClientRequest

15 years agokclient: two msgpool modes: blocking (ala mempool_t) and !blocking (strict)
Sage Weil [Fri, 18 Sep 2009 23:41:38 +0000 (16:41 -0700)]
kclient: two msgpool modes: blocking (ala mempool_t) and !blocking (strict)

Only warn on !blocking pool depletion!

15 years agokclient: fix symlink kmalloc under spinlock
Sage Weil [Fri, 18 Sep 2009 23:32:26 +0000 (16:32 -0700)]
kclient: fix symlink kmalloc under spinlock

15 years agostrerror -> strerror_r
Sage Weil [Fri, 18 Sep 2009 23:17:04 +0000 (16:17 -0700)]
strerror -> strerror_r

15 years agokclient: rename msgpool type
Sage Weil [Fri, 18 Sep 2009 21:57:35 +0000 (14:57 -0700)]
kclient: rename msgpool type

15 years agokclient: use msgpools for osd requests, replies
Sage Weil [Fri, 18 Sep 2009 21:54:04 +0000 (14:54 -0700)]
kclient: use msgpools for osd requests, replies

15 years agouclient: fix null pointer ref
Sage Weil [Fri, 18 Sep 2009 21:18:43 +0000 (14:18 -0700)]
uclient: fix null pointer ref

15 years agokclient: fix up ceph_client init error handling
Sage Weil [Fri, 18 Sep 2009 21:15:44 +0000 (14:15 -0700)]
kclient: fix up ceph_client init error handling

15 years agokclient: fix patchset comment
Sage Weil [Fri, 18 Sep 2009 21:05:10 +0000 (14:05 -0700)]
kclient: fix patchset comment

15 years agokclient: fall back to WARN + new allocation if msgpool is depleted
Sage Weil [Fri, 18 Sep 2009 21:04:50 +0000 (14:04 -0700)]
kclient: fall back to WARN + new allocation if msgpool is depleted

15 years agokclient: use msgpools for other monc messages
Sage Weil [Fri, 18 Sep 2009 20:08:25 +0000 (13:08 -0700)]
kclient: use msgpools for other monc messages

15 years agokclient: add back msgpools
Sage Weil [Fri, 18 Sep 2009 20:01:22 +0000 (13:01 -0700)]
kclient: add back msgpools

This reverts commit b985882aa27fea1d1ed92b09b6057be961c56c0a.

15 years agokclient: add GET_DATALOC ioctl to get object location, osd addr
Sage Weil [Fri, 18 Sep 2009 19:45:48 +0000 (12:45 -0700)]
kclient: add GET_DATALOC ioctl to get object location, osd addr

15 years agouclient: _removexattr should be naming the xattr to remove!
Greg Farnum [Fri, 18 Sep 2009 00:25:04 +0000 (17:25 -0700)]
uclient: _removexattr should be naming the xattr to remove!

15 years agouclient: Add functions/data members for preemptive cap dropping.
Greg Farnum [Fri, 18 Sep 2009 00:22:42 +0000 (17:22 -0700)]
uclient: Add functions/data members for preemptive cap dropping.

15 years agoMClientRequest: Releases should have a constructor
Greg Farnum [Thu, 17 Sep 2009 18:16:33 +0000 (11:16 -0700)]
MClientRequest: Releases should have a constructor

15 years agouclient: First pass at encode_cap_release function; not used.
Greg Farnum [Wed, 16 Sep 2009 00:32:01 +0000 (17:32 -0700)]
uclient: First pass at encode_cap_release function; not used.

15 years agouclient: Move the MetaRequest to MClientRequest into its own code, and
Greg Farnum [Tue, 15 Sep 2009 20:08:25 +0000 (13:08 -0700)]
uclient: Move the MetaRequest to MClientRequest into its own code, and
cut out the payload encode/decode since MClientRequests are now made
from MetaRequests.

Oh, and there are no issues with rebuilding messages -- false alarm!

15 years agouclient: The basic passing mechanism is now a MetaRequest. It seems to work.
Greg Farnum [Tue, 15 Sep 2009 18:40:52 +0000 (11:40 -0700)]
uclient: The basic passing mechanism is now a MetaRequest. It seems to work.

More bug-testing is needed, though, as rebuilding messages in send_message
is finicky at best...

15 years agouclient: Make the uclient work properly with the new MetaRequest structure.
Greg Farnum [Mon, 14 Sep 2009 23:31:35 +0000 (16:31 -0700)]
uclient: Make the uclient work properly with the new MetaRequest structure.

15 years agouclient: MetaRequests are going to be how we pass requests around;
Greg Farnum [Mon, 14 Sep 2009 22:40:14 +0000 (15:40 -0700)]
uclient: MetaRequests are going to be how we pass requests around;
repurpose them so they don't require an MClientRequest.

ALSO, convert the mds member from a map to an int.

15 years agoHadoop: Minor fixes and style changes to satisfy Hadoop's FindBugs system.
Greg Farnum [Mon, 14 Sep 2009 17:46:39 +0000 (10:46 -0700)]
Hadoop: Minor fixes and style changes to satisfy Hadoop's FindBugs system.
Remove a few deprecated methods.

15 years agokclient: fix osd request kicking
Sage Weil [Thu, 17 Sep 2009 23:15:21 +0000 (16:15 -0700)]
kclient: fix osd request kicking

We often need to kick the request to the same osd.  Keep track of
an osd incarnation, incremented each time we reset_osd or see the
connection drop, and kick requests when the incarnation doesn't
match.

15 years agomon: fix bug with client id assignment of -1
Sage Weil [Thu, 17 Sep 2009 22:57:06 +0000 (15:57 -0700)]
mon: fix bug with client id assignment of -1

15 years agokclient: avoid no-op dir cap release when no dentry lease
Sage Weil [Thu, 17 Sep 2009 22:56:43 +0000 (15:56 -0700)]
kclient: avoid no-op dir cap release when no dentry lease

Make release logic a bit smarter: only force inclusion of dir
cap release if there is a dentry lease to start with.

15 years agokclient: make mds console msgs consistent
Sage Weil [Thu, 17 Sep 2009 22:29:09 +0000 (15:29 -0700)]
kclient: make mds console msgs consistent

15 years agomonc: pick monitor before sending initial mount
Sage Weil [Thu, 17 Sep 2009 21:56:34 +0000 (14:56 -0700)]
monc: pick monitor before sending initial mount

15 years agouclient: implement basic I_COMPLETE support
Sage Weil [Thu, 17 Sep 2009 21:54:36 +0000 (14:54 -0700)]
uclient: implement basic I_COMPLETE support

15 years agouclient: factor out command cap issue checks
Sage Weil [Thu, 17 Sep 2009 21:25:55 +0000 (14:25 -0700)]
uclient: factor out command cap issue checks

rdcache_gen, shared_gen

15 years agomds: minor comments
Sage Weil [Thu, 17 Sep 2009 21:16:05 +0000 (14:16 -0700)]
mds: minor comments

15 years agokclient: move some inode update code inside i_lock
Sage Weil [Thu, 17 Sep 2009 21:15:53 +0000 (14:15 -0700)]
kclient: move some inode update code inside i_lock

15 years agokclient: use shared_gen, not cache_gen, for I_COMPLETE tracking
Sage Weil [Thu, 17 Sep 2009 21:15:39 +0000 (14:15 -0700)]
kclient: use shared_gen, not cache_gen, for I_COMPLETE tracking

15 years agotodo
Sage Weil [Thu, 17 Sep 2009 20:47:35 +0000 (13:47 -0700)]
todo

15 years agomonclient: small cleanup
Sage Weil [Wed, 16 Sep 2009 19:12:43 +0000 (12:12 -0700)]
monclient: small cleanup

15 years agotodo
Sage Weil [Wed, 16 Sep 2009 19:12:34 +0000 (12:12 -0700)]
todo

15 years agokclient: fix console msg
Sage Weil [Thu, 17 Sep 2009 20:15:29 +0000 (13:15 -0700)]
kclient: fix console msg

15 years agokclient: move caps stats into client debugfs dir; fix error checking
Sage Weil [Thu, 17 Sep 2009 19:04:28 +0000 (12:04 -0700)]
kclient: move caps stats into client debugfs dir; fix error checking

15 years agokclient: put fsid in debugfs dir name
Sage Weil [Thu, 17 Sep 2009 18:28:53 +0000 (11:28 -0700)]
kclient: put fsid in debugfs dir name

15 years agomds: make parallel_fetch work with hard/remote links
Sage Weil [Thu, 17 Sep 2009 18:58:06 +0000 (11:58 -0700)]
mds: make parallel_fetch work with hard/remote links

We need to open remote ino's, and possibly add to gather (like
a fetch).  Required some refactoring.  Killed/renamed
otherwise unused traverse_to_dir.

15 years agocosd.conf: fix date stamp
Sage Weil [Thu, 17 Sep 2009 17:50:14 +0000 (10:50 -0700)]
cosd.conf: fix date stamp

15 years agomsgr: fix null deref setting message connection ref
Sage Weil [Thu, 17 Sep 2009 17:41:07 +0000 (10:41 -0700)]
msgr: fix null deref setting message connection ref

15 years agoconfigure: don't link expat, fcgi to everything
Sage Weil [Wed, 16 Sep 2009 17:34:04 +0000 (10:34 -0700)]
configure: don't link expat, fcgi to everything

The default AC_CHECK_LIB action is to add -lfoo to the linker args,
which we don't want!

15 years agoMakefile: fix mode on installed headers
Sage Weil [Wed, 16 Sep 2009 04:27:41 +0000 (21:27 -0700)]
Makefile: fix mode on installed headers

15 years agomsgr: change dispatcher interfaces; some monclient cleanups
Sage Weil [Tue, 15 Sep 2009 22:02:17 +0000 (15:02 -0700)]
msgr: change dispatcher interfaces; some monclient cleanups

15 years agouclient: do not do locking for 'atomic' writes
Sage Weil [Tue, 15 Sep 2009 20:14:01 +0000 (13:14 -0700)]
uclient: do not do locking for 'atomic' writes

They aren't tested and aren't safe (client may fail; there's no cleanup).

15 years agomds: flush log in caller(s), not scatter_writebehind
Sage Weil [Mon, 14 Sep 2009 22:34:47 +0000 (15:34 -0700)]
mds: flush log in caller(s), not scatter_writebehind

Otherwise scatter_tick(), in particular, will call scatter_writebehind
a zillion times and generate lots of small log flushes.  Instead, flush
at the end of the whole tick.

15 years agocheck_mds_request_latency: fix parsing for current debug output
Sage Weil [Mon, 14 Sep 2009 22:07:30 +0000 (15:07 -0700)]
check_mds_request_latency: fix parsing for current debug output

15 years agoHadoop: Final submission prep.
Greg Farnum [Fri, 11 Sep 2009 00:36:05 +0000 (17:36 -0700)]
Hadoop: Final submission prep.
IO classes should be public, updated Javadoc, and added license grants.

15 years agoHadoop: Remove old reference CephFileSystem material.
Greg Farnum [Thu, 10 Sep 2009 23:12:13 +0000 (16:12 -0700)]
Hadoop: Remove old reference CephFileSystem material.

15 years agoHadoop: Change to work with trunk rather than .20; update documentation.
Greg Farnum [Thu, 10 Sep 2009 23:10:36 +0000 (16:10 -0700)]
Hadoop: Change to work with trunk rather than .20; update documentation.

15 years agoHadoop: Remove unused CephException class.
Greg Farnum [Thu, 10 Sep 2009 23:10:15 +0000 (16:10 -0700)]
Hadoop: Remove unused CephException class.

15 years agoHadoop: Changed debug printing so it doesn't construct useless strings.
Greg Farnum [Thu, 10 Sep 2009 21:41:06 +0000 (14:41 -0700)]
Hadoop: Changed debug printing so it doesn't construct useless strings.
Removed some commented-out code.

15 years agouclient: fix warning
Sage Weil [Fri, 11 Sep 2009 00:01:01 +0000 (17:01 -0700)]
uclient: fix warning

15 years agokclient: set/verify seq in renew caps messages
Sage Weil [Thu, 10 Sep 2009 23:36:55 +0000 (16:36 -0700)]
kclient: set/verify seq in renew caps messages

15 years agouclient: fix cap renewal
Sage Weil [Thu, 10 Sep 2009 23:33:20 +0000 (16:33 -0700)]
uclient: fix cap renewal

Renew caps on session open.

Set/verify seq # in renew caps reply.

15 years agomds: include original seq in renew caps reply
Sage Weil [Thu, 10 Sep 2009 23:32:25 +0000 (16:32 -0700)]
mds: include original seq in renew caps reply

15 years agosynclient: fix bad leading / on play ~ prefix
Sage Weil [Thu, 10 Sep 2009 23:24:40 +0000 (16:24 -0700)]
synclient: fix bad leading / on play ~ prefix

15 years agodebian: fix radosgw package
Sage Weil [Thu, 10 Sep 2009 22:10:29 +0000 (15:10 -0700)]
debian: fix radosgw package

15 years agomsgr: be slightly smarter about corking on partial msgs, acks
Sage Weil [Thu, 10 Sep 2009 21:57:13 +0000 (14:57 -0700)]
msgr: be slightly smarter about corking on partial msgs, acks

Actually, if MSG_MORE will cork indefinitely, that may not be
what we want for write_ack()... :/

15 years agomsgr: make ack le64 to match seq
Sage Weil [Thu, 10 Sep 2009 21:44:52 +0000 (14:44 -0700)]
msgr: make ack le64 to match seq

15 years agokclient: fix format strings for entity num
Sage Weil [Thu, 10 Sep 2009 21:32:05 +0000 (14:32 -0700)]
kclient: fix format strings for entity num

15 years agologger: fix avg calculation
Sage Weil [Thu, 10 Sep 2009 21:22:25 +0000 (14:22 -0700)]
logger: fix avg calculation

15 years agomds: log latency of _first_ (unsafe) reply, not safe
Sage Weil [Thu, 10 Sep 2009 21:16:19 +0000 (14:16 -0700)]
mds: log latency of _first_ (unsafe) reply, not safe

Client rarely blocks on safe reply.

15 years agouclient: and reply cond guard; make forward _always_ resend request
Sage Weil [Thu, 10 Sep 2009 21:00:53 +0000 (14:00 -0700)]
uclient: and reply cond guard; make forward _always_ resend request

15 years agodebian: create radosgw package
Sage Weil [Thu, 10 Sep 2009 20:48:47 +0000 (13:48 -0700)]
debian: create radosgw package

15 years agoconfigure: fix radosgw conditional compilation
Sage Weil [Thu, 10 Sep 2009 20:48:12 +0000 (13:48 -0700)]
configure: fix radosgw conditional compilation

15 years agokclient: sparse endian fixes, fsid cleanup
Sage Weil [Thu, 10 Sep 2009 18:59:10 +0000 (11:59 -0700)]
kclient: sparse endian fixes, fsid cleanup

15 years agokclient: fix checkpatch label warnings
Sage Weil [Thu, 10 Sep 2009 18:23:33 +0000 (11:23 -0700)]
kclient: fix checkpatch label warnings

15 years agokclient: avoid short reconnect loop on connection close
Sage Weil [Thu, 10 Sep 2009 18:19:52 +0000 (11:19 -0700)]
kclient: avoid short reconnect loop on connection close

15 years agomsgr: kill per-msg protocol version values
Sage Weil [Thu, 10 Sep 2009 18:18:52 +0000 (11:18 -0700)]
msgr: kill per-msg protocol version values

15 years agomsgr: check protocol version during connection
Sage Weil [Thu, 10 Sep 2009 18:15:36 +0000 (11:15 -0700)]
msgr: check protocol version during connection

15 years agokclient: allow sent msgs to be revoked from a connection
Sage Weil [Wed, 9 Sep 2009 23:46:42 +0000 (16:46 -0700)]
kclient: allow sent msgs to be revoked from a connection

The simplest solution seemed to be to replace the spinlock with a
mutex and carry it for the duration of try_write() (including the
NOWAIT calls to kernel_sendmsg, etc).  If there is contention the
overhead will be a bit higher, but the code is much simpler.

15 years agocrush: fix long line
Sage Weil [Tue, 8 Sep 2009 23:48:31 +0000 (16:48 -0700)]
crush: fix long line

15 years agokclient: whitespace
Sage Weil [Tue, 8 Sep 2009 23:47:12 +0000 (16:47 -0700)]
kclient: whitespace

15 years agomds: avoid client lookup by using per-connection msgr state
Sage Weil [Wed, 9 Sep 2009 19:27:46 +0000 (12:27 -0700)]
mds: avoid client lookup by using per-connection msgr state

15 years agomsgr: per connection state
Sage Weil [Wed, 9 Sep 2009 19:27:19 +0000 (12:27 -0700)]
msgr: per connection state

15 years agokclient: kill ceph_fsid_t typedef
Sage Weil [Tue, 8 Sep 2009 23:42:09 +0000 (16:42 -0700)]
kclient: kill ceph_fsid_t typedef

15 years agokclient: checkpatch cleanups
Sage Weil [Tue, 8 Sep 2009 23:25:15 +0000 (16:25 -0700)]
kclient: checkpatch cleanups

15 years agokclient: update Documentation/ioctl/ioctl-number.txt
Sage Weil [Tue, 8 Sep 2009 23:08:14 +0000 (16:08 -0700)]
kclient: update Documentation/ioctl/ioctl-number.txt

15 years agotodo
Sage Weil [Tue, 8 Sep 2009 21:48:27 +0000 (14:48 -0700)]
todo

15 years agov0.14 v0.14
Sage Weil [Tue, 8 Sep 2009 21:47:25 +0000 (14:47 -0700)]
v0.14

15 years agokclient: remove msgpools for now
Sage Weil [Tue, 8 Sep 2009 21:40:59 +0000 (14:40 -0700)]
kclient: remove msgpools for now

15 years agoinit-ceph: fix pre/post commands
Sage Weil [Tue, 8 Sep 2009 21:13:04 +0000 (14:13 -0700)]
init-ceph: fix pre/post commands

15 years agokclient: msgr init cleanup
Sage Weil [Tue, 8 Sep 2009 20:57:43 +0000 (13:57 -0700)]
kclient: msgr init cleanup

15 years agokclient: clean up keepalive send logic
Sage Weil [Tue, 8 Sep 2009 20:55:23 +0000 (13:55 -0700)]
kclient: clean up keepalive send logic

15 years agokclient: msgr zero in ceph_con_init
Sage Weil [Tue, 8 Sep 2009 20:52:55 +0000 (13:52 -0700)]
kclient: msgr zero in ceph_con_init

15 years agokclient: kill msgr WAIT
Sage Weil [Tue, 8 Sep 2009 20:52:34 +0000 (13:52 -0700)]
kclient: kill msgr WAIT

15 years agotodo
Sage Weil [Tue, 8 Sep 2009 20:46:00 +0000 (13:46 -0700)]
todo

15 years agouclient: debug file_max
Sage Weil [Tue, 8 Sep 2009 20:16:20 +0000 (13:16 -0700)]
uclient: debug file_max

15 years agocfuse: disable -d (fuse debug) by default
Sage Weil [Tue, 8 Sep 2009 20:16:02 +0000 (13:16 -0700)]
cfuse: disable -d (fuse debug) by default

15 years agomds: bump file_max to powers of two
Sage Weil [Tue, 8 Sep 2009 20:15:39 +0000 (13:15 -0700)]
mds: bump file_max to powers of two