Commit Graph

5963 Commits

Author SHA1 Message Date
Sage Weil
8929cf92dd man: cconf 2009-03-10 20:49:30 -07:00
Sage Weil
2764df209e man: crushtool, osdmaptool 2009-03-10 20:38:47 -07:00
Sage Weil
3214a01ed4 man: csyn, crun man pages 2009-03-10 16:49:23 -07:00
Sage Weil
ebd9a942e1 man: add cfuse man page 2009-03-10 16:31:16 -07:00
Sage Weil
cdc34bc12b mkcephfs: fix typo 2009-03-10 16:31:16 -07:00
Sage Weil
869b54410e debian: add man pages so far 2009-03-10 16:31:16 -07:00
Yehuda Sadeh
12a1813243 conf: add --show-conf,-S option that dumps conf and exits 2009-03-10 16:26:47 -07:00
Sage Weil
ef986dc2b6 man: document -m monaddr 2009-03-10 16:10:02 -07:00
Sage Weil
fc846370c1 config: -c foo or --conf=foo; -C bar or --cluster-conf=bar 2009-03-10 16:08:00 -07:00
Yehuda Sadeh
27b05461ef kclient: add mon enries for sysfs 2009-03-10 15:24:07 -07:00
Sage Weil
9b7c9b0735 usage 2009-03-10 15:22:52 -07:00
Sage Weil
5de6ad8216 man: more man pages 2009-03-10 15:00:46 -07:00
Sage Weil
ac07483683 cmds: remove unused --standby arg, rename --standby_replay_for to --shadow 2009-03-10 14:57:24 -07:00
Sage Weil
91ce18168c config: default to -d for server daemons; -D/--nodaemon for foreground operation 2009-03-10 14:43:07 -07:00
Sage Weil
a4582b4b67 cosd: clean up startup options 2009-03-10 14:40:16 -07:00
Sage Weil
160e00f0f6 man: mkcephfs, cosd man pages 2009-03-10 14:39:54 -07:00
Sage Weil
3ef9395ebc debian: fix lintian errors (except missing man pages) 2009-03-10 13:22:51 -07:00
Sage Weil
f3786fed12 initscript: LSB block; add reload and force-reload 2009-03-10 13:22:37 -07:00
Sage Weil
f3c4a24818 initscript: pre/post start/stop/forcestop hooks 2009-03-10 12:41:15 -07:00
Sage Weil
4c62970abf config: allow chdir to arbitrary dir on daemonize (not just /)
This lets you configure where your core files go.
2009-03-10 12:34:23 -07:00
Sage Weil
d594f91d8d mkcephfs: take compiled 'crush map' or 'crush map src' from cluster.conf 2009-03-10 12:11:30 -07:00
Sage Weil
33a9a21f39 crushtool: add --build command 2009-03-10 11:18:32 -07:00
Sage Weil
e587771e24 remove user error induced asserts 2009-03-10 09:49:06 -07:00
Yehuda Sadeh
59027557e2 Merge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable 2009-03-09 17:01:45 -07:00
Yehuda Sadeh
4b60f101e4 kclient: add osdc data to sysfs 2009-03-09 17:01:31 -07:00
Sage Weil
c353d14554 bump version to v0.7.1 for unstable branch 2009-03-09 15:39:16 -07:00
Sage Weil
c46e1b320c mkcephfs: btrfsctl -a between mkfs and mount 2009-03-09 15:28:26 -07:00
Sage Weil
3260c75859 kclient: patch series updates 2009-03-09 15:25:46 -07:00
Sage Weil
f5a3d61a64 kclient: fix /sys/fs/ceph/mdsmap 2009-03-09 14:58:20 -07:00
Sage Weil
e2afd171f7 kclient: sysfs whitespace cleanup
Wrap at 80 columns...
2009-03-09 14:57:22 -07:00
Sage Weil
cbd43e3e1d kclient: fix patch series 2009-03-09 14:56:51 -07:00
Sage Weil
c057c83415 osdmap: use generic crush_build_bucket
Easier to switch bucket types.  Avoids type cast.
2009-03-09 14:56:50 -07:00
Sage Weil
f05b1bef64 kclient: fix osdmap decoding of straw buckets
Surprised this worked until now.
2009-03-09 14:56:50 -07:00
Yehuda Sadeh
a098a3fdf9 kclient: sysfs, free path after build_path 2009-03-09 14:55:54 -07:00
Yehuda Sadeh
c90746a5d1 kclient: sysfs cleanup 2009-03-09 14:50:17 -07:00
Yehuda Sadeh
ddb88b575a Merge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable 2009-03-09 14:32:17 -07:00
Yehuda Sadeh
2c7a38f027 kclient: sysfs, add mds name and op of current requests 2009-03-09 14:31:42 -07:00
Sage Weil
207403a5e4 kclient: simplify osd timeouts
Call handle_timeout N seconds after oldest request.  In
handle_timeout, reschedule N seconds in future.  Reschedule
with new oldest request when oldest requests completes.

Maintain a r_timeout_stamp value for each request.
2009-03-09 13:58:13 -07:00
Sage Weil
0422395507 cosd: fewer osds, with big btrfs devices 2009-03-09 13:57:22 -07:00
Sage Weil
180f416872 initscripts: allow vars with spaces 2009-03-09 13:18:56 -07:00
Sage Weil
04ca68e65b osdmap: build default crush maps out of mostly straw buckets 2009-03-09 13:18:05 -07:00
Sage Weil
b734092c2a confutils: make max line very large 2009-03-09 12:51:04 -07:00
Yehuda Sadeh
d9b2f7b5a1 Merge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable 2009-03-09 10:08:51 -07:00
Yehuda Sadeh
927926e903 kclient: add sysfs directory per mds request 2009-03-09 10:08:29 -07:00
Sage Weil
626d1db180 filepath: always prepend ino if it's nonzero
That means the only time we don't have an ino perfix is for fully
relative paths.
2009-03-06 16:45:55 -08:00
Sage Weil
7966f989e5 client: fix request paths
Use filepath, not bare string, whenever we can.
2009-03-06 16:44:37 -08:00
Sage Weil
04d6926e74 kclient: fix up replay after mds recovery
Do not kick unsafe requests in kick_requests (and in particular, do not
drop the session refs).

Set retry_attempt to MDS_REQUEST_REPLAY to indicate which requests are
replays.
2009-03-06 16:27:19 -08:00
Sage Weil
cd41295f53 mds: incorporate reconnect cap info after requests replay if ino originally missing
If the client reasserts caps from replayed requests, the inodes don't yet
exists during the reconnect (or even rejoin) stage.  So, if we don't find
the inode, keep the reconnect info around.  When processing a replayed
request in CInode::encode_inodestat, set wanted/issued appropriately.

This is incomplete.  We really need something to ensure we deal with
replayed requests before new requests are handled.. and on a cluster-wide
basis, since requests may involve slave requests to other mds's.

We also should clean up reconnects unclaimed after all replays are
complete.  And somehow inform the client when the cap is officially
nonexistent and EBADF.
2009-03-06 16:27:18 -08:00
Sage Weil
b88f450ecc mds: include path base ino in client reconnect paths 2009-03-06 16:27:17 -08:00
Sage Weil
b857a03bf1 filepath: no more leading / weirdness
Get rid of weird leading '/' iff ino==1 semantic.  Clean up interface a bit.
2009-03-06 16:27:16 -08:00