]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
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

15 years agoHadoop: Refactor open to open optimistically and then check for errors
Greg Farnum [Tue, 8 Sep 2009 18:25:37 +0000 (11:25 -0700)]
Hadoop: Refactor open to open optimistically and then check for errors
on the return code and cached data.
Also fix a bad return in CephFSInterface from the last commit.

15 years agoHadoop: Some changes in order to reduce the number of messages sent on non-existent...
Greg Farnum [Tue, 8 Sep 2009 06:48:05 +0000 (23:48 -0700)]
Hadoop: Some changes in order to reduce the number of messages sent on non-existent files

15 years agoHadoop: Return a couple of unecessary isX calls.
Greg Farnum [Tue, 8 Sep 2009 05:28:12 +0000 (22:28 -0700)]
Hadoop: Return a couple of unecessary isX calls.

15 years agoHadoop: Fix an apparent bug and remove an unnecessary conditional.
Greg Farnum [Tue, 8 Sep 2009 04:20:42 +0000 (21:20 -0700)]
Hadoop: Fix an apparent bug and remove an unnecessary conditional.
(the cwd can't be set to "".)
Also replace references to "/" with root.

15 years agouclient: Add better in/out dout messages to a few functions.
Greg Farnum [Tue, 8 Sep 2009 04:15:00 +0000 (21:15 -0700)]
uclient: Add better in/out dout messages to a few functions.

15 years agoRevert "monc: hunt for new monitor on failure; cleanup interface"
Sage Weil [Fri, 4 Sep 2009 22:49:37 +0000 (15:49 -0700)]
Revert "monc: hunt for new monitor on failure; cleanup interface"

This reverts commit 3f78e66ccd0b2adb71f4d8599f3270ed7f93f89d.

15 years agomds: only move ScatterLock to MIX if WR is wanted
Sage Weil [Fri, 4 Sep 2009 22:50:08 +0000 (15:50 -0700)]
mds: only move ScatterLock to MIX if WR is wanted

Not WR|RD!

15 years agouclient: debug open()
Sage Weil [Fri, 4 Sep 2009 22:49:46 +0000 (15:49 -0700)]
uclient: debug open()

15 years agouclient: add 'dropcache' synclient op
Sage Weil [Fri, 4 Sep 2009 22:11:24 +0000 (15:11 -0700)]
uclient: add 'dropcache' synclient op

15 years agouclient: use objectcacher->is_cached to make readahead smarter
Sage Weil [Fri, 4 Sep 2009 22:11:08 +0000 (15:11 -0700)]
uclient: use objectcacher->is_cached to make readahead smarter

Only initiate readahead if we have less than 1/2 of what we
want to readahead.  Otherwise we still do small reads, just way
ahead of the current read position.

15 years agoobjectcacher: add is_cached method
Sage Weil [Fri, 4 Sep 2009 22:09:59 +0000 (15:09 -0700)]
objectcacher: add is_cached method

Helps us see what we have cached...

15 years agouclient: Fix in the readahead logic
Greg Farnum [Fri, 4 Sep 2009 21:29:34 +0000 (14:29 -0700)]
uclient: Fix in the readahead logic

15 years agoHadoop: Sets default block sizes according to a config property;
Greg Farnum [Thu, 3 Sep 2009 22:12:06 +0000 (15:12 -0700)]
Hadoop: Sets default block sizes according to a config property;
defaults to 64MB

15 years agomonc: hunt for new monitor on failure; cleanup interface
Sage Weil [Fri, 4 Sep 2009 17:55:19 +0000 (10:55 -0700)]
monc: hunt for new monitor on failure; cleanup interface

15 years agomonc: clean up mount code (not everyone is a client!)
Sage Weil [Fri, 4 Sep 2009 20:04:04 +0000 (13:04 -0700)]
monc: clean up mount code (not everyone is a client!)

15 years agomon: remove obsolete osdmap bcast
Sage Weil [Fri, 4 Sep 2009 19:53:41 +0000 (12:53 -0700)]
mon: remove obsolete osdmap bcast

15 years agomon: remove obsolete mds map bcast
Sage Weil [Fri, 4 Sep 2009 19:52:25 +0000 (12:52 -0700)]
mon: remove obsolete mds map bcast

15 years agomonc: explicit init(); subscribe to mdsmap on mds
Sage Weil [Fri, 4 Sep 2009 19:49:41 +0000 (12:49 -0700)]
monc: explicit init(); subscribe to mdsmap on mds

15 years agoMakefile: do not install init.d script at all; let packages do that
Sage Weil [Fri, 4 Sep 2009 18:31:24 +0000 (11:31 -0700)]
Makefile: do not install init.d script at all; let packages do that

15 years agomonc: hunt for new monitor on failure; cleanup interface
Sage Weil [Fri, 4 Sep 2009 18:08:03 +0000 (11:08 -0700)]
monc: hunt for new monitor on failure; cleanup interface

15 years agomsgr: small cleanup; hexdump code (disabled)
Sage Weil [Fri, 4 Sep 2009 17:50:52 +0000 (10:50 -0700)]
msgr: small cleanup; hexdump code (disabled)

15 years agomsgr: small fault logic fix
Sage Weil [Fri, 4 Sep 2009 17:46:11 +0000 (10:46 -0700)]
msgr: small fault logic fix

15 years agoMakefile: add missing MRoute.h
Sage Weil [Fri, 4 Sep 2009 17:06:27 +0000 (10:06 -0700)]
Makefile: add missing MRoute.h

15 years agomon: fast assignment of client ids
Sage Weil [Fri, 4 Sep 2009 16:39:07 +0000 (09:39 -0700)]
mon: fast assignment of client ids

15 years agouclient: fix warning
Sage Weil [Thu, 3 Sep 2009 23:47:50 +0000 (16:47 -0700)]
uclient: fix warning

15 years agomon: use client_t
Sage Weil [Thu, 3 Sep 2009 23:08:52 +0000 (16:08 -0700)]
mon: use client_t

15 years agowireshark: update patch to latest wireshark svn snapshot
Yehuda Sadeh [Fri, 4 Sep 2009 03:52:07 +0000 (20:52 -0700)]
wireshark: update patch to latest wireshark svn snapshot

15 years agowireshark: keep plugin code outside of the patch
Yehuda Sadeh [Fri, 4 Sep 2009 00:40:30 +0000 (17:40 -0700)]
wireshark: keep plugin code outside of the patch

15 years agouclient: tweak readahead logic
Sage Weil [Thu, 3 Sep 2009 23:35:07 +0000 (16:35 -0700)]
uclient: tweak readahead logic

Trim readahead extent to align to a stripe unit boundary,
always.  This let's us, say, set the max to be 1 stripe unit,
and then we never read beyond the current su.

Only initiate readahead if it's > len.  Otherwise we just
make things slower by breaking the read into two ops!

15 years agokclient: embed ceph_connection in ceph_osd
Sage Weil [Thu, 3 Sep 2009 22:51:20 +0000 (15:51 -0700)]
kclient: embed ceph_connection in ceph_osd

This avoids some memory (re)allocation, and cleans the code up
somewhat.

15 years agokclient: send subscribe along with mount request
Sage Weil [Thu, 3 Sep 2009 22:14:22 +0000 (15:14 -0700)]
kclient: send subscribe along with mount request

We used to have to wait to learn our address; no more.

15 years agomon: no need to send osdmap until client asks
Sage Weil [Thu, 3 Sep 2009 22:13:59 +0000 (15:13 -0700)]
mon: no need to send osdmap until client asks

15 years agokclient: use single ceph_connection over lifetime on monc
Sage Weil [Thu, 3 Sep 2009 22:04:29 +0000 (15:04 -0700)]
kclient: use single ceph_connection over lifetime on monc

This avoids reallocation on each mon failure, reconnect.

15 years agokclient: msgr fixes to use proper connect_seq, avoid unnecessary faults
Sage Weil [Thu, 3 Sep 2009 22:03:31 +0000 (15:03 -0700)]
kclient: msgr fixes to use proper connect_seq, avoid unnecessary faults

15 years agokclient: simplify con_open/close interface a bit
Sage Weil [Thu, 3 Sep 2009 21:36:17 +0000 (14:36 -0700)]
kclient: simplify con_open/close interface a bit

No more 'reopen' hackery.

15 years agokclient: fix unzeroed pages after readpage
Sage Weil [Thu, 3 Sep 2009 20:38:21 +0000 (13:38 -0700)]
kclient: fix unzeroed pages after readpage

This was a signed/unsigned comparison problem.  No compiler
warning? :(

15 years agokclient: take inode ref on first WRBUFFER cap ref in set_page_dirty
Sage Weil [Thu, 3 Sep 2009 20:19:44 +0000 (13:19 -0700)]
kclient: take inode ref on first WRBUFFER cap ref in set_page_dirty

This only came up if the first dirty data on the inode was from
an mmap write; the aio_write would grab a ref via the
__take_cap_ref path first and grab the reference.

Fix the put_cap_refs() too for consistency, even though that path
isn't normally used (but theoretically could be?).

15 years agokclient: fix bug in ESTALE handling in mdsc
Sage Weil [Thu, 3 Sep 2009 19:41:34 +0000 (12:41 -0700)]
kclient: fix bug in ESTALE handling in mdsc

15 years agorev disk format
Sage Weil [Thu, 3 Sep 2009 17:52:31 +0000 (10:52 -0700)]
rev disk format

15 years agomsgr todos
Sage Weil [Thu, 3 Sep 2009 17:39:07 +0000 (10:39 -0700)]
msgr todos

15 years agoMerge branch 'unstable' into msgr
Sage Weil [Wed, 2 Sep 2009 23:31:08 +0000 (16:31 -0700)]
Merge branch 'unstable' into msgr

15 years agomds: use 0 for layout defaults, not -1
Sage Weil [Wed, 2 Sep 2009 23:33:59 +0000 (16:33 -0700)]
mds: use 0 for layout defaults, not -1

This simplifies callers that zero the structs.  And 0 is
clearly an illegal value, so it's safe to mean 'use the
default'.

15 years agoMerge commit 'origin/unstable' into msgr
Sage Weil [Wed, 2 Sep 2009 23:13:14 +0000 (16:13 -0700)]
Merge commit 'origin/unstable' into msgr

Conflicts:

src/mon/ClientMonitor.cc

15 years agomsgr: fix entity_inst_t comparators
Sage Weil [Wed, 2 Sep 2009 23:05:40 +0000 (16:05 -0700)]
msgr: fix entity_inst_t comparators

Do not use memcmp on unpacked type entity_inst_t!

15 years agokclient: learn address during connect handshake
Sage Weil [Wed, 2 Sep 2009 22:57:17 +0000 (15:57 -0700)]
kclient: learn address during connect handshake

15 years agomsgr: detect rank addr during connect handshake; clean up addr apis
Sage Weil [Wed, 2 Sep 2009 22:55:43 +0000 (15:55 -0700)]
msgr: detect rank addr during connect handshake; clean up addr apis

15 years agomsgr: include my addr AND socket addr during connect handshake
Sage Weil [Wed, 2 Sep 2009 21:51:55 +0000 (14:51 -0700)]
msgr: include my addr AND socket addr during connect handshake

This allows connecting side to detect their ip address.

15 years agolibceph: return 0, extern "C"
Sage Weil [Wed, 2 Sep 2009 22:51:24 +0000 (15:51 -0700)]
libceph: return 0, extern "C"

15 years agouclient/libceph: Framework for letting users specify file striping
Greg Farnum [Wed, 2 Sep 2009 00:11:55 +0000 (17:11 -0700)]
uclient/libceph: Framework for letting users specify file striping
and object sizes is in place.

15 years agomds: Handle the client requesting special stripe units, counts and object sizes.
Greg Farnum [Tue, 1 Sep 2009 23:50:59 +0000 (16:50 -0700)]
mds: Handle the client requesting special stripe units, counts and object sizes.

15 years agolibceph: add ceph_version()
Sage Weil [Wed, 2 Sep 2009 20:57:19 +0000 (13:57 -0700)]
libceph: add ceph_version()

15 years agodebian: add lib{ceph,rados,crush}-dev packages
Sage Weil [Wed, 2 Sep 2009 20:55:31 +0000 (13:55 -0700)]
debian: add lib{ceph,rados,crush}-dev packages

15 years agoceph: include version in ceph_fs.h
Sage Weil [Wed, 2 Sep 2009 20:35:23 +0000 (13:35 -0700)]
ceph: include version in ceph_fs.h

15 years agodebian: fix lib* packages
Sage Weil [Wed, 2 Sep 2009 20:24:09 +0000 (13:24 -0700)]
debian: fix lib* packages

15 years agokclient: whoami is __s64
Sage Weil [Wed, 2 Sep 2009 19:54:08 +0000 (12:54 -0700)]
kclient: whoami is __s64

15 years agouclient: use client_t for client id
Sage Weil [Wed, 2 Sep 2009 19:53:59 +0000 (12:53 -0700)]
uclient: use client_t for client id

15 years agomds: use client_t throughout
Sage Weil [Wed, 2 Sep 2009 19:53:47 +0000 (12:53 -0700)]
mds: use client_t throughout

15 years agomsgr: 64bit entity name num
Sage Weil [Wed, 2 Sep 2009 18:32:21 +0000 (11:32 -0700)]
msgr: 64bit entity name num

15 years agokclient: fix osd request kicking
Sage Weil [Wed, 2 Sep 2009 18:23:04 +0000 (11:23 -0700)]
kclient: fix osd request kicking