Commit Graph

8088 Commits

Author SHA1 Message Date
Sage Weil
122c612156 kclient: fix checkpatch label warnings 2009-09-10 11:23:33 -07:00
Sage Weil
c7987d758d kclient: avoid short reconnect loop on connection close 2009-09-10 11:19:52 -07:00
Sage Weil
235914c7ff msgr: kill per-msg protocol version values 2009-09-10 11:18:52 -07:00
Sage Weil
1917c2edb4 msgr: check protocol version during connection 2009-09-10 11:15:36 -07:00
Sage Weil
5f3b046982 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.
2009-09-09 16:46:42 -07:00
Sage Weil
78b005b317 crush: fix long line 2009-09-09 12:48:39 -07:00
Sage Weil
86addcf660 kclient: whitespace 2009-09-09 12:48:35 -07:00
Sage Weil
df985c474a mds: avoid client lookup by using per-connection msgr state 2009-09-09 12:27:46 -07:00
Sage Weil
7026e35d89 msgr: per connection state 2009-09-09 12:27:19 -07:00
Sage Weil
70a098be18 kclient: kill ceph_fsid_t typedef 2009-09-08 16:42:09 -07:00
Sage Weil
c2b6534731 kclient: checkpatch cleanups 2009-09-08 16:25:15 -07:00
Sage Weil
035b08f7a5 kclient: update Documentation/ioctl/ioctl-number.txt 2009-09-08 16:08:14 -07:00
Sage Weil
69f84d1b77 todo 2009-09-08 14:48:27 -07:00
Sage Weil
1ec1e8d6fb v0.14 2009-09-08 14:47:25 -07:00
Sage Weil
b985882aa2 kclient: remove msgpools for now 2009-09-08 14:40:59 -07:00
Sage Weil
3046334d0d init-ceph: fix pre/post commands 2009-09-08 14:13:04 -07:00
Sage Weil
cffa5b8a3a kclient: msgr init cleanup 2009-09-08 13:57:43 -07:00
Sage Weil
add1582b3e kclient: clean up keepalive send logic 2009-09-08 13:55:23 -07:00
Sage Weil
fe8765e859 kclient: msgr zero in ceph_con_init 2009-09-08 13:52:55 -07:00
Sage Weil
2f65caf763 kclient: kill msgr WAIT 2009-09-08 13:52:34 -07:00
Sage Weil
900215b9cb todo 2009-09-08 13:46:42 -07:00
Sage Weil
07671546e3 uclient: debug file_max 2009-09-08 13:46:42 -07:00
Sage Weil
5dded5a146 cfuse: disable -d (fuse debug) by default 2009-09-08 13:46:42 -07:00
Sage Weil
cc24585429 mds: bump file_max to powers of two 2009-09-08 13:46:42 -07:00
Greg Farnum
4ea8d97d7d 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.
2009-09-08 12:41:45 -07:00
Greg Farnum
102669123a Hadoop: Some changes in order to reduce the number of messages sent on non-existent files 2009-09-08 12:23:38 -07:00
Greg Farnum
4347f4a1c7 Hadoop: Return a couple of unecessary isX calls. 2009-09-08 12:23:38 -07:00
Greg Farnum
b510ad5a98 Hadoop: Fix an apparent bug and remove an unnecessary conditional.
(the cwd can't be set to "".)
Also replace references to "/" with root.
2009-09-08 12:23:38 -07:00
Greg Farnum
11f519770c uclient: Add better in/out dout messages to a few functions. 2009-09-08 12:23:38 -07:00
Sage Weil
31946b1381 Revert "monc: hunt for new monitor on failure; cleanup interface"
This reverts commit 3f78e66ccd.
2009-09-04 15:49:37 -07:00
Sage Weil
7a6f1147a3 mds: only move ScatterLock to MIX if WR is wanted
Not WR|RD!
2009-09-04 15:50:08 -07:00
Sage Weil
b92f5cb290 uclient: debug open() 2009-09-04 15:49:46 -07:00
Sage Weil
43bcf1b109 uclient: add 'dropcache' synclient op 2009-09-04 15:11:24 -07:00
Sage Weil
3cd5d73164 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.
2009-09-04 15:11:08 -07:00
Sage Weil
359f2588fe objectcacher: add is_cached method
Helps us see what we have cached...
2009-09-04 15:09:59 -07:00
Greg Farnum
5c664aeb6d uclient: Fix in the readahead logic 2009-09-04 14:29:55 -07:00
Greg Farnum
6f11678015 Hadoop: Sets default block sizes according to a config property;
defaults to 64MB
2009-09-04 14:29:55 -07:00
Sage Weil
3f78e66ccd monc: hunt for new monitor on failure; cleanup interface 2009-09-04 14:29:55 -07:00
Sage Weil
252aaec6bf monc: clean up mount code (not everyone is a client!) 2009-09-04 13:04:04 -07:00
Sage Weil
b35748609e mon: remove obsolete osdmap bcast 2009-09-04 12:53:41 -07:00
Sage Weil
d05c7297cf mon: remove obsolete mds map bcast 2009-09-04 12:52:25 -07:00
Sage Weil
c6ddbdb467 monc: explicit init(); subscribe to mdsmap on mds 2009-09-04 12:49:41 -07:00
Sage Weil
8a215c840d Makefile: do not install init.d script at all; let packages do that 2009-09-04 11:31:24 -07:00
Sage Weil
72ccd2037a monc: hunt for new monitor on failure; cleanup interface 2009-09-04 11:08:03 -07:00
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