Sage Weil
b1cc16fb22
ceph: drop (broken) poll mode (use -w instead)
...
It wasn't working anyway.
2010-03-16 11:38:41 -07:00
Sage Weil
a472338951
ceph: add -s|--status command
...
Print one-shot summary of each paxos service.
2010-03-16 11:38:41 -07:00
Greg Farnum
797ee53ab0
Revert "mon: PaxosServiceMessages now routed through paxos_dispatch and get caps set"
...
This reverts commit 0c688f94be
.
Revert "mon: Use PaxosServiceMessage::caps instead of Session::caps where applicable"
This reverts commit e33e17ec2f
.
This needs to be reworked slightly to handle inter-mon communication better.
2010-03-16 11:18:26 -07:00
Greg Farnum
49ab1697dc
mon: handle_route uses lazy_send_message for unknown MRoutes
2010-03-16 11:18:26 -07:00
Greg Farnum
9f59a1edf0
mon: add encode/decode functions to MonCaps
2010-03-16 11:18:26 -07:00
Sage Weil
a4d2caa563
osd: only insert non-zero intervals into interval_set
2010-03-15 23:47:24 -07:00
Sage Weil
f059e49d5c
qa: fix snaptest1.sh
2010-03-15 23:47:24 -07:00
Sage Weil
3ac3e896d8
mds: add array bounds check for null dentry lease
2010-03-15 23:47:24 -07:00
Greg Farnum
e33e17ec2f
mon: Use PaxosServiceMessage::caps instead of Session::caps where applicable
2010-03-15 17:05:41 -07:00
Greg Farnum
0c688f94be
mon: PaxosServiceMessages now routed through paxos_dispatch and get caps set
2010-03-15 17:03:38 -07:00
Greg Farnum
167b28a0d4
msg: PaxosServiceMessage includes a MonCap*
2010-03-15 15:58:52 -07:00
Greg Farnum
390258a73f
mon: Add a Session operator<<, use it in OSDMonitor
2010-03-15 14:45:30 -07:00
Sage Weil
7af73ac84b
mds: avoid null deref of SimpleLock::_unstable
2010-03-15 11:05:20 -07:00
Sage Weil
5b1726410e
mds: use CDir::item_new for LogSegment::new_dirfrags elist
2010-03-15 10:59:23 -07:00
Greg Farnum
795035669b
auth: update documentation on caps
2010-03-15 10:40:42 -07:00
Greg Farnum
5c2319f2fa
mon: return error codes from prepare_new_pool
2010-03-15 10:40:42 -07:00
Greg Farnum
0dca240b8c
mon: add warning/debugging prints to prepare_new_pool
2010-03-15 10:40:34 -07:00
Sage Weil
e06922fcb9
Merge branch 'mds_mem' into unstable
2010-03-12 16:48:32 -08:00
Sage Weil
b38ef13ecd
mds: be consistent about list<>::item naming (item_foo)
2010-03-12 16:08:36 -08:00
Sage Weil
a58243de3a
dlist: fix pop_front/back
2010-03-12 15:57:04 -08:00
Sage Weil
718d6468e2
xlist: clean up interface
2010-03-12 15:56:53 -08:00
Sage Weil
1c928369d5
dlist: clean up interface
2010-03-12 15:56:53 -08:00
Sage Weil
e092710f09
mds: use elist instead of dlist
2010-03-12 15:56:50 -08:00
Sage Weil
c1e8d37dec
elist: simpler embedded list
...
This is more or less equivalent to the linux kernel list_head:
each embedded item struct has only a next and prev pointer. As
long as the same member item is always used, at a fixed offset
from the containing class, we can go from an item to a contained
class.
The offset can either be passed to the list (head) constructor,
or to the begin(), front(), back() members explicitly.
Iterator has 3 modes.. current (list_for_each), cache_next
(list_for_each_safe), and magic (uses cached next iff current is
empty). Magic will work most of the time... as long as we don't
re-add ourselves to a different list inside the iterator loop.
(Note that if we do, we will iterator up to the other list's
head, not detect it is a head, an get an invalid pointer and
crash.)
elist: add to makefile
elist: require offset for cosntructor
elist: fix pop_front/back
2010-03-12 15:56:47 -08:00
Greg Farnum
cc27a4c4b2
rgw: remove unused refcount data member from XMLObj. Also clears up ctor
2010-03-12 14:24:17 -08:00
Greg Farnum
62e1111239
rgw: Add documentation
2010-03-12 14:23:06 -08:00
Sage Weil
e95372be22
Merge branch 'mds_mem' into unstable
2010-03-12 09:09:09 -08:00
Sage Weil
1f2876b4ed
cephx: initialize values
2010-03-12 09:02:43 -08:00
Sage Weil
bbf6b16f3d
synclient: print mount error
2010-03-12 09:02:43 -08:00
Sage Weil
24b0f030c2
xlist: clean up users
2010-03-12 09:01:53 -08:00
Sage Weil
1278e48776
mds: use dlist instead of xlist for main cache objects
2010-03-12 09:01:53 -08:00
Sage Weil
ebc8336ac6
dlist: simpler version of xlist without _list pointer
2010-03-12 09:01:53 -08:00
Sage Weil
75e44d3444
mds: reduce MDSCacheObject footprint a bit
...
Save 8 bytes. Whoop.
2010-03-12 09:01:53 -08:00
Sage Weil
5a9a50c648
mds: replica_nonce can wrap; fix asserts
2010-03-12 09:01:53 -08:00
Sage Weil
7f19ee1ac3
mds: put rare state in more_bits_t in ScatterLock
...
Saves 48 bytes per ScatterLock, 144 bytes per CInode.
2010-03-12 09:01:53 -08:00
Sage Weil
b8e4afa55c
mds: show xlist overhead
2010-03-12 09:01:53 -08:00
Sage Weil
580cf8379f
mds: move unstable SimpleLock state into separate struct
...
Allocated as needed, freed when lock returns to stable state.
Also make remaining int fields a bit smaller.
2010-03-12 09:01:50 -08:00
Sage Weil
34f5cfe2cb
debian: specify mirror explicitly when creating pbuilder image
2010-03-11 21:38:04 -08:00
Sage Weil
9cfd98da04
mds: simplify LocalLock wrlock methods
2010-03-11 09:57:36 -08:00
Sage Weil
de8a55e500
mds: add locallock statemachine
...
This is just for consistency; it's trivial. We lost the get_sm()
pointer test, though.
2010-03-11 09:41:30 -08:00
Sage Weil
019c0522f0
synclient: print mount error
2010-03-11 09:40:09 -08:00
Sage Weil
7f0791c2e2
mds: create abstract LockType that includes numeric type and state machine
...
This eliminates 1 field in each SimpleLock.
2010-03-11 09:30:10 -08:00
Sage Weil
cbd6b2fcfb
debian: build binary-arch debs only from builddebs.sh
...
Otherwise we rebuild the source .dsc, which isn't what we want.
2010-03-11 09:06:55 -08:00
Sage Weil
d2e637486e
debian: clean out unused debhelper rules steps
2010-03-11 09:06:55 -08:00
Sage Weil
debaa52086
debian: put debian/ in .diff.gz, not release tarball
2010-03-11 09:06:55 -08:00
Sage Weil
4fdb6ce34a
msgr: remove dead kill_after code bits
2010-03-11 09:06:55 -08:00
Sage Weil
71cfe307db
todo multi-mds issue
2010-03-11 09:06:55 -08:00
Greg Farnum
ff887e24aa
mon: users can now change pool owners.
...
This requires them to have write permission on both the current
and the new auid.
2010-03-10 13:22:02 -08:00
Greg Farnum
543c9eb460
osd: Check auid permissions in get_pool_cap
2010-03-10 13:22:02 -08:00
Greg Farnum
fd3168a301
mon: use MonCaps::check_privileges in prepare_new_pool
2010-03-10 13:22:02 -08:00