Sage Weil
2fb6f73618
mds: ignore/warn on late client reconnect attempts
...
In the future maybe we can do better (i.e. best effort attempt to reconnect
after the normal interval has passed)
2009-11-13 10:09:12 -08:00
Yehuda Sadeh
19087cf6cc
auth: don't try to read keys if cephx not supported
2009-11-13 09:34:51 -08:00
Yehuda Sadeh
96b5d97ab4
auth: use user admin as the default user
2009-11-12 16:54:37 -08:00
Greg Farnum
2303a33e77
Merge branch 'unstable' of ceph.newdream.net:/git/ceph into unstable
2009-11-12 16:45:05 -08:00
Greg Farnum
565448b5bd
qa: prepare for a hierarchical test script system
2009-11-12 16:44:35 -08:00
Sage Weil
27bc5741fc
vstart: some cleanup
2009-11-12 16:12:20 -08:00
Sage Weil
f8b0e54c74
conf: default to auth type 'none'
2009-11-12 15:29:36 -08:00
Sage Weil
1b5bb1fd6c
auth: fix compile errors, warnings
2009-11-12 15:29:26 -08:00
Sage Weil
2dcdd08339
auth: kill residual kernel/ files
2009-11-12 15:24:50 -08:00
Sage Weil
b5a11130be
Merge branch 'unstable' into auth
2009-11-12 15:23:24 -08:00
Sage Weil
a4cc231458
uclient: fewer msgs
2009-11-12 15:12:36 -08:00
Sage Weil
35e68924d1
todo
2009-11-12 15:12:18 -08:00
Sage Weil
e496deabf5
Merge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable
2009-11-12 14:55:26 -08:00
Sage Weil
35c3586bf4
put testing ceph.conf's in git
2009-11-12 14:57:11 -08:00
Sage Weil
9284e90aee
osd: print useful mode wait message
2009-11-12 14:57:11 -08:00
Sage Weil
c514691b27
filestore: skip sync_file_range if the full commit has started
...
Presumably btrfs commit_transaction is more effective than our per-file
flushing. And we don't want to fight each other.
2009-11-12 14:57:11 -08:00
Sage Weil
ad41e448b9
mds: recommit after commit if waiting for newer version
...
If there are waiters for a later version of the dir to hit
disk, then we need to recommit as soon as the prior commit
completes. We auth_pin on adding the first waiter, and do
not unpin until removing the last waiter, so this doesn't
break auth_pin rules.
Previously we could stall because we didn't finish the
waiter (on the later version) but also never started the
commit. Sometimes we would get lucky and someone else would
ask for a commit, but sometimes not. We would then see old
LogSegments that would never get fully expired.
2009-11-12 14:54:22 -08:00
Yehuda Sadeh
946b8890f8
auth: fix mds messages filtering
2009-11-12 14:31:36 -08:00
Greg Farnum
05fceac381
rados: fix usage() and -p option checking
2009-11-12 14:03:37 -08:00
Sage Weil
1a4557e858
mds: warn, don't crash, on rfiles/rsubdirs underflow
...
This doesn't fix the bug, but lets the mds at least start up.
2009-11-12 10:45:54 -08:00
Yehuda Sadeh
ebe662377f
msg: don't die unconditionally when got unknown message type
2009-11-12 09:51:29 -08:00
Sage Weil
0bd9fdacc9
uclient: increase cache size
2009-11-11 16:10:14 -08:00
Sage Weil
fff600cf73
filestore: flusher thread; commit snaps (disabled)
2009-11-11 16:09:52 -08:00
Sage Weil
28f2765ca9
osd: avoid truncate, remove ops we know will fail
...
Now that we check return codes, these cause problems.
2009-11-11 16:09:36 -08:00
Sage Weil
c267d25ab8
osd: don't requeue pg removal if already removing
2009-11-11 16:09:36 -08:00
Sage Weil
6b6b7e1a90
todo
2009-11-11 15:52:10 -08:00
Sage Weil
a600b2e892
mds: force rdlock on any snapped inodes
...
When the client has an excl lock on an inode, and it's
stating a snapped version of it, we can't expect it to
put 2 and 2 together and look at it's head metadata. If
the cap does not follow the snapid we're trying to stat, do
the full rdlock to force the snapped values back to the
mds so we can do the cow.
If there is nothing cow, the cap will get reissued with an
accurate follows value, and we won't have to do this again.
2009-11-11 15:47:28 -08:00
Greg Farnum
91d10bb9a9
sessionmap is an object, not a pointer
2009-11-10 16:44:07 -08:00
Sage Weil
dc2d15aaf5
mds: fix typo; also only suicide if we have clients
...
If we are the last MDS and have no clients we should be
able to stop cleanly....
2009-11-10 16:32:01 -08:00
Sage Weil
55a29c5224
mds: underwater is function of _loaded_ version, not in core version
...
We may load a dir version off disk that is older than the
in-core version (because we got newer data from the
journal, say). When marking underwater items clean, do
so based on the _loaded_ version, not out in-core version.
2009-11-10 16:27:40 -08:00
Sage Weil
a86e5409d7
todo
2009-11-10 16:27:39 -08:00
Greg Farnum
76635a4745
mds: If last MDS, suicide on stop rather than entering infinite requeue loop
2009-11-10 16:02:26 -08:00
Sage Weil
18480059dc
osd: do not apply_transaction in finish_recovery
...
finish_recovery needs to set up a callback for when the current set of
changes commit to disk (to kickstart cleanup of strya replicas etc). We
can't call apply_transaction this deep inside the call chain without
causing problems. So, pass a list of completion contexts all the way down
so that we can set up the completion callback.
2009-11-10 15:01:22 -08:00
Sage Weil
41c176b15d
filestore: don't croak on 0 op usertrans error
2009-11-10 15:01:22 -08:00
Sage Weil
6e77d52c7a
filestore: check return values
2009-11-10 13:12:33 -08:00
Sage Weil
9c46520d8a
test_trans
2009-11-10 08:23:38 -08:00
Sage Weil
a1fb28e936
filestore: fix usertrans setxattr, print it out nicely
2009-11-10 08:09:18 -08:00
Sage Weil
7349d66891
filestore: clean up btrfs ioctls; use actual btrfs ioctl.h
2009-11-10 07:51:44 -08:00
Sage Weil
48d99572ac
sample.ceph.conf: include usertrans flag
2009-11-10 07:37:56 -08:00
Sage Weil
82df8b5d63
filestore: make FileStore btrfs ioctl tests more readable
2009-11-10 07:37:45 -08:00
Sage Weil
486d696723
mon: ignore MAuth message when connection has no session
...
This happens if hte message is delayed, and the session meanwhile
is closed. We need similar checks any time we take a Session
from the message->get_connection()....
2009-11-09 21:31:51 -08:00
Sage Weil
79c4d2aa2a
ceph: default to admin user
2009-11-09 21:30:11 -08:00
Sage Weil
d0be7909f2
auth: make ~ in keyring search path subst in $HOME
2009-11-09 21:30:03 -08:00
Sage Weil
6f62583cde
Merge branch 'unstable' into auth
...
Conflicts:
src/Makefile.am
src/mkmonfs.cc
src/msg/SimpleMessenger.cc
2009-11-09 21:12:16 -08:00
Yehuda Sadeh
b36dbd66d5
auth: auth none encodes global_id at build_authorizer
2009-11-09 16:54:08 -08:00
Yehuda Sadeh
286553c434
auth: pass global_id to the osd, mds verify-authorizers
2009-11-09 16:31:29 -08:00
Sage Weil
2412a49b9d
mds, osd: call monc->authenticate(), not wait_authenticate()
2009-11-09 16:09:33 -08:00
Sage Weil
d8da229a15
uclient: get keys, build authorizer
2009-11-09 16:09:33 -08:00
Yehuda Sadeh
16ad7a7e92
auth: don't display auth incrementals in the ceph tool
2009-11-09 15:59:56 -08:00
Sage Weil
44593828e8
auth: fix global id alloc on peon monitors
2009-11-09 15:52:11 -08:00