Commit Graph

8876 Commits

Author SHA1 Message Date
Sage Weil
d7364a4810 vstart: include [mds.$name] for auth_none 2009-11-20 13:40:38 -08:00
Sage Weil
69ff349eb3 osd: don't crash on (and allow) messages sent to self 2009-11-20 13:38:08 -08:00
Yehuda Sadeh
32c81a2871 conf: don't crash if conf file not specified and not found 2009-11-20 10:05:47 -08:00
Sage Weil
dad2011d25 filestore: fix mkfs with no jourhal 2009-11-20 09:54:51 -08:00
Yehuda Sadeh
16c8c5b8b9 auth: change error code when not supporting authentication 2009-11-19 16:50:59 -08:00
Sage Weil
ddf47d8c82 rgw: ifdef out dead code 2009-11-19 16:15:45 -08:00
Sage Weil
e648986751 auth: set initial values in misc structs
Fixes a bunch of valgrind warnings.
2009-11-19 16:03:30 -08:00
Sage Weil
ba9fd9a8f1 sepia: no valgrind on osds for now 2009-11-19 15:32:28 -08:00
Sage Weil
b580653f20 mon: allow mds injectargs on recovering mdss 2009-11-19 15:31:42 -08:00
Sage Weil
23eaa6d28c mds: use global_id as key in MDSMap
This makes the data structures less stupid (using an
entity_addr_t as a key is silly).

This is a protocol and disk format change.
2009-11-19 15:30:27 -08:00
Sage Weil
f35f8fef15 filestore: don't magically enable journal if ${osd_data}.journal exists 2009-11-19 14:37:23 -08:00
Sage Weil
bf58196eeb rados: kill unused ceph_fsid_set 2009-11-19 14:37:23 -08:00
Yehuda Sadeh
fec31964a1 auth: when renewing session, encrypt ticket 2009-11-19 14:20:20 -08:00
Sage Weil
6a34c6a282 rgw: fix base64 warnings (move impl to .c file) 2009-11-19 12:44:55 -08:00
Sage Weil
b05e184c07 mon: only remove_session if !s->closed 2009-11-19 12:41:04 -08:00
Sage Weil
beac937bc9 atomic: assert valid ref counts
Make sure we catch ref counting errors!
2009-11-19 12:41:04 -08:00
Sage Weil
0b85f09b9d auth: initialize EntityName type in constructor 2009-11-19 12:41:04 -08:00
Sage Weil
bf709f5425 mon: fix session ref leak 2009-11-19 12:41:04 -08:00
Sage Weil
2cc368c58b monc: restart auth handshake each time we connect to mon 2009-11-19 12:42:29 -08:00
Sage Weil
68b5da9e10 mds: don't change directory size/rbytes from client cap update
This is wrong, and screws up the recursive accounting.
2009-11-19 11:24:48 -08:00
Sage Weil
8f38d0e98b auth: add ull to large constant
so that we build on 32bit platforms
2009-11-19 11:05:17 -08:00
Sage Weil
8696cd90f4 mds: fix inode rstat debug output 2009-11-19 11:05:04 -08:00
Sage Weil
dda61fe1c3 auth: add missing virtual destructors 2009-11-19 10:57:01 -08:00
Sage Weil
55d7bf7194 osdc: use __u64, not size_t
size_t is too small on 32 bit platforms.
2009-11-19 10:11:19 -08:00
Sage Weil
d8f3c4fcca mds: do not crash if m->connection == NULL 2009-11-19 09:44:47 -08:00
Sage Weil
34a57c154c mds: do not send MMDSMap to ourselves 2009-11-19 09:44:47 -08:00
Sage Weil
082aa7c6ac add ceph_fsid_set helper 2009-11-19 09:46:08 -08:00
Sage Weil
2cb286f993 filejournal: use single shared zeroed buffer for alignment padding
Avoids lots of mallocs and memsets (one for every journal event).
2009-11-18 16:25:35 -08:00
Sage Weil
9a2606d1a2 buffer: add create_static constructor 2009-11-18 16:25:35 -08:00
Yehuda Sadeh
9a4083e142 vstart.sh: fix -k 2009-11-18 16:20:18 -08:00
Sage Weil
2e2eaa6b1f Merge commit 'd00b917143e2afd72851bfd0400b2c2a1f3fc018' into auth 2009-11-18 16:01:20 -08:00
Sage Weil
053db04667 vstart: fix errors on auth none 2009-11-18 16:00:42 -08:00
Sage Weil
c88e60c8d6 msgr: rev protocol 2009-11-18 16:00:31 -08:00
Yehuda Sadeh
85a25b5e3b auth: fix monclient startup issue 2009-11-18 15:29:56 -08:00
Yehuda Sadeh
eb295b9e14 auth: fix client and server side negotiation 2009-11-18 14:19:01 -08:00
Sage Weil
d00b917143 uclient: replace C_Cond with C_SafeCond 2009-11-18 12:25:46 -08:00
Sage Weil
ca5e4dd0d3 todo 2009-11-18 11:56:26 -08:00
Sage Weil
a845b662e7 todo 2009-11-18 11:04:00 -08:00
Sage Weil
4fab3f754d osd: allow reinitialization of osd journal
(without hosing osd data)
2009-11-18 10:58:09 -08:00
Greg Farnum
30a057cf04 rados: Move array to heap. Prevent segfault when you use too-large a write size 2009-11-18 10:13:56 -08:00
Greg Farnum
ba8aa58197 rados: remove unused paramater, add very primitive read bench in verify step 2009-11-18 10:13:56 -08:00
Greg Farnum
d4db1ec4c5 rados: Cosmetic changes for Sage 2009-11-18 10:13:56 -08:00
Sage Weil
5eeb711b6b auth: change server side negotiation a bit
client is not fixed up yet
2009-11-18 10:12:10 -08:00
Sage Weil
91e3e49f7a Merge branch 'unstable' of ceph.newdream.net:git/ceph into unstable 2009-11-17 16:31:18 -08:00
Sage Weil
88377be21d osd: eval access mode before try_*
The problem is the try_* functions may change the mode, but a start_write
may not follow if the op doesn't execute (for any number of reasons).  So
the next time we come around, we may need to reset back to IDLE if
num_wr == 0.  Be careful about the wake flag.

This fixes osd op hangs (particularly after mds restart, and lots of
failed stats on objects during file size/mtime recovery).
2009-11-17 16:30:39 -08:00
Sage Weil
cec672d54d osd: debug pg mode 2009-11-17 16:30:39 -08:00
Sage Weil
955351ff90 sepia: valgrind for a while 2009-11-17 16:30:39 -08:00
Sage Weil
18bbb8f88a objecter: be more verbose about laggy requests 2009-11-17 16:30:39 -08:00
Sage Weil
ae4e9784fb msgr: use discard_queue, kill drop_msgs 2009-11-17 16:30:39 -08:00
Sage Weil
4a644e246e msgr: don't initiate connect if we keepalive on unconnected peer 2009-11-17 16:30:39 -08:00