Sage Weil
52be66c1eb
msgr: small cleanup; hexdump code (disabled)
2009-09-04 10:50:52 -07:00
Sage Weil
217533cc19
msgr: small fault logic fix
2009-09-04 10:46:11 -07:00
Sage Weil
ca7af7353f
Makefile: add missing MRoute.h
2009-09-04 10:06:42 -07:00
Sage Weil
421e7ab9b6
mon: fast assignment of client ids
2009-09-04 10:06:42 -07:00
Sage Weil
4462bc5c67
uclient: fix warning
2009-09-04 10:06:42 -07:00
Sage Weil
8e202ccd82
mon: use client_t
2009-09-04 10:06:42 -07:00
Yehuda Sadeh
df45d256ee
wireshark: update patch to latest wireshark svn snapshot
2009-09-03 20:52:07 -07:00
Yehuda Sadeh
cbd2ac570a
wireshark: keep plugin code outside of the patch
2009-09-03 17:40:30 -07:00
Sage Weil
43426ddc36
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!
2009-09-03 16:35:18 -07:00
Sage Weil
6f7bbdfe80
kclient: embed ceph_connection in ceph_osd
...
This avoids some memory (re)allocation, and cleans the code up
somewhat.
2009-09-03 15:51:20 -07:00
Sage Weil
642408fab2
kclient: send subscribe along with mount request
...
We used to have to wait to learn our address; no more.
2009-09-03 15:14:22 -07:00
Sage Weil
f456a01a61
mon: no need to send osdmap until client asks
2009-09-03 15:13:59 -07:00
Sage Weil
18d9eb5376
kclient: use single ceph_connection over lifetime on monc
...
This avoids reallocation on each mon failure, reconnect.
2009-09-03 15:04:29 -07:00
Sage Weil
81e0bd64bd
kclient: msgr fixes to use proper connect_seq, avoid unnecessary faults
2009-09-03 15:03:31 -07:00
Sage Weil
3309f9850b
kclient: simplify con_open/close interface a bit
...
No more 'reopen' hackery.
2009-09-03 14:36:17 -07:00
Sage Weil
f8b8069cf4
kclient: fix unzeroed pages after readpage
...
This was a signed/unsigned comparison problem. No compiler
warning? :(
2009-09-03 13:38:21 -07:00
Sage Weil
1073c04ca0
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?).
2009-09-03 13:19:44 -07:00
Sage Weil
7043dec2ae
kclient: fix bug in ESTALE handling in mdsc
2009-09-03 12:41:34 -07:00
Sage Weil
1b583a7ddf
rev disk format
2009-09-03 10:52:31 -07:00
Sage Weil
5bc0dea9ff
msgr todos
2009-09-03 10:39:07 -07:00
Sage Weil
68835958aa
Merge branch 'unstable' into msgr
2009-09-02 16:31:08 -07:00
Sage Weil
a7fbab986b
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'.
2009-09-02 16:33:59 -07:00
Sage Weil
829ed7d772
Merge commit 'origin/unstable' into msgr
...
Conflicts:
src/mon/ClientMonitor.cc
2009-09-02 16:13:14 -07:00
Sage Weil
85aa24228e
msgr: fix entity_inst_t comparators
...
Do not use memcmp on unpacked type entity_inst_t!
2009-09-02 16:10:06 -07:00
Sage Weil
db494355e8
kclient: learn address during connect handshake
2009-09-02 16:10:06 -07:00
Sage Weil
218e4ed113
msgr: detect rank addr during connect handshake; clean up addr apis
2009-09-02 16:10:06 -07:00
Sage Weil
4330037a69
msgr: include my addr AND socket addr during connect handshake
...
This allows connecting side to detect their ip address.
2009-09-02 16:10:05 -07:00
Sage Weil
398d221e92
libceph: return 0, extern "C"
2009-09-02 15:51:24 -07:00
Greg Farnum
3b92ee70fa
uclient/libceph: Framework for letting users specify file striping
...
and object sizes is in place.
2009-09-02 15:50:30 -07:00
Greg Farnum
0e812e6e41
mds: Handle the client requesting special stripe units, counts and object sizes.
2009-09-02 15:50:30 -07:00
Sage Weil
65f2d4a190
libceph: add ceph_version()
2009-09-02 13:57:19 -07:00
Sage Weil
a1d5533c43
debian: add lib{ceph,rados,crush}-dev packages
2009-09-02 13:55:31 -07:00
Sage Weil
1c1addc3a1
ceph: include version in ceph_fs.h
2009-09-02 13:35:23 -07:00
Sage Weil
5608be0ccb
debian: fix lib* packages
2009-09-02 13:24:09 -07:00
Sage Weil
3e67dd8d0f
kclient: whoami is __s64
2009-09-02 12:54:08 -07:00
Sage Weil
8d64e4d47b
uclient: use client_t for client id
2009-09-02 12:53:59 -07:00
Sage Weil
a2c869c3ce
mds: use client_t throughout
2009-09-02 12:53:47 -07:00
Sage Weil
27f6aa37ed
msgr: 64bit entity name num
2009-09-02 11:32:21 -07:00
Sage Weil
7bb5895cd8
kclient: fix osd request kicking
2009-09-02 11:23:04 -07:00
Sage Weil
a790820a16
Makefile: force init.d script into /etc/init.d (not sysconfdir)
2009-09-02 10:49:55 -07:00
Sage Weil
d415a80782
man: fix mkcephfs man page
2009-09-02 10:49:52 -07:00
Sage Weil
f445219330
uclient: implement CREATE operation
...
This avoids an additional async cap wanted update in the usual
case. And let's us pass in default layout info!
Untested...
2009-09-01 16:37:10 -07:00
Sage Weil
4ce269292b
kclient: kill msgr->parent, dead msg pool code, prepare_pages arg
2009-09-01 16:16:53 -07:00
Sage Weil
5901023c16
kclient: osd restart fixes
2009-09-01 16:07:55 -07:00
Sage Weil
b7a9da1b9f
kclient: set prepare_pages for osd client (der)
2009-09-01 16:02:42 -07:00
Sage Weil
738da1eec6
kclient: fix request kicking crash
2009-09-01 15:59:35 -07:00
Sage Weil
79b2740310
kclient: cleanup old FIXME comments
2009-09-01 15:51:29 -07:00
Sage Weil
ba2acd5244
kclient: improve osd error handling
...
We still r_resend even when we could fail, but it's just simpler
to do it that way.
2009-09-01 15:51:20 -07:00
Sage Weil
1ca917793f
kclient: reuse osd struct when possible
2009-09-01 15:48:32 -07:00
Sage Weil
88c788f9d6
kclient: make mon hunt explicit; note in kern.log
2009-09-01 14:29:45 -07:00