Commit Graph

9177 Commits

Author SHA1 Message Date
Sage Weil
87682d1116 osd: put meta_coll const in OSD.{cc,h} 2009-12-23 08:52:18 -08:00
Sage Weil
eae3004968 filejournal: delete[] not delete 2009-12-23 08:52:18 -08:00
Sage Weil
37f04d9b96 backtrace: fix #includes for ppc 2009-12-23 08:52:18 -08:00
Sage Weil
4bfa758bf5 hash: use native appropriately sized hash for word, not native host word size
These shouldn't be used over the wire or on disk, but just in case.

Also, i suspect the 64-bit hash is probably faster than the 32bit one
twice?
2009-12-23 08:52:18 -08:00
Sage Weil
e5ff1489d4 change LP64 ifdefs to casts for printf formatting 2009-12-23 08:52:18 -08:00
Sage Weil
2c328d123f logger: cleanup 64 2009-12-23 08:52:17 -08:00
Sage Weil
0fb2ac19e1 todo, confs 2009-12-23 08:52:17 -08:00
Sage Weil
d06992d70f msgr: include features in connection handshake (protocol change) 2009-12-23 08:52:13 -08:00
Sage Weil
4e7b383b42 msgr: put tid in ceph_msg_header (protocol change) 2009-12-22 11:41:47 -08:00
Sage Weil
b3808b45c3 todo more bugs 2009-12-21 16:46:05 -08:00
Sage Weil
bef2ac0c7b assert: leave cruft off top of assert failure backtrace
no more
 1: (__ceph_assert_fail(char const*, char const*, int, char const*)+0x34) [0x7ea7ea]
2009-12-21 16:28:27 -08:00
Sage Weil
6dbb7188b9 backtrace: demangle c++ names
Finally!
2009-12-21 16:26:07 -08:00
Sage Weil
a4f1430b08 todo bugs 2009-12-19 21:09:23 -08:00
Greg Farnum
f579387102 mds: new commands!
issue_caps inodenumber calls locker->issue_caps
try_eval inodenumber mask calls locker->try_eval
2009-12-18 16:13:42 -08:00
Greg Farnum
b6b7ba57c8 mds: new command kill session xxxx ends that client session 2009-12-17 14:29:13 -08:00
Greg Farnum
196f277912 create a new function end_session to end client sessions 2009-12-17 14:27:59 -08:00
Sage Weil
6dce782635 vstart: allow -o 'some option for config file = whatever' 2009-12-17 11:32:42 -08:00
Sage Weil
00f6cf573e osd: fix PG print log bound check 2009-12-17 11:32:28 -08:00
Sage Weil
299d620aff todo (bugs) 2009-12-17 11:32:21 -08:00
Greg Farnum
54b8cd34fe Make a more flexible 'tell' command to replace injectargs
osd/mds: make a handle_command function; don't parse all MMonCommands as config

mon: Send injectargs to osd/mds in new format;
	accept tells for mds and osd
2009-12-15 16:17:29 -08:00
Sage Weil
e066744d4d todo (bugs, filestore notes) 2009-12-15 14:13:37 -08:00
Sage Weil
22701b3c9a osd: include last_epoch_split in PG::Info::History
Also drop backward compat encoding for same_up_since;
overall osd format as reved since then.
2009-12-15 14:13:37 -08:00
Sage Weil
e2ca4eb7da msgr: don't keep sent messages on lossy connections 2009-12-15 14:13:37 -08:00
Sage Weil
687cc4141e mds: log client timeouts 2009-12-15 14:13:37 -08:00
Sage Weil
dd2eeeff71 mds: don't croak on stray ACK
This can happen after replay:

- AGREE and update op in journal
- table resends AGREE
- client resends COMMIT
- client gets AGREE, resends COMMIT
- table gets 2 COMMITS, replies with 2 ACKs
- second ACK can be ignored.
2009-12-15 14:13:37 -08:00
Greg Farnum
580dd13514 qa: Copy the output of each test to a log file 2009-12-15 13:23:23 -08:00
Greg Farnum
796d3ba3c5 qa: Whoops, never added the runonkclient script 2009-12-14 15:46:06 -08:00
Yehuda Sadeh
6fc3f5e1b9 auth: rename mutex so that it doesn't confuse lockdep 2009-12-14 11:29:44 -08:00
Sage Weil
6e72b201e1 msgr: maintain per-pipe in_qlen; avoid list.size(); some cleanup 2009-12-11 13:40:53 -08:00
Sage Weil
e243c7fb3f librados: fix locking slightly
Lock was missing on aio_read.
2009-12-11 12:42:43 -08:00
Sage Weil
43ab6e519c qa: fix runallonce target dir verification 2009-12-11 11:56:27 -08:00
Sage Weil
2611a57fdb filestore: disable USERTRANS for now 2009-12-11 11:56:27 -08:00
Sage Weil
105b6698ac todo 2009-12-11 12:03:29 -08:00
Sage Weil
6088777609 librados: less noisy 2009-12-11 12:03:24 -08:00
Sage Weil
7c3dc8926d vstart: fix small bash thing 2009-12-11 08:45:13 -08:00
Sage Weil
072be5caa6 osd: drop backlog on recovery completion (when we mark PG_STATE_CLEAN) 2009-12-11 08:37:19 -08:00
Sage Weil
6258b4fdc6 osd: split pg log too 2009-12-11 08:35:12 -08:00
Sage Weil
894d25291a osd: make osd thread pool sizes adjustable
Rename osd_maxthreads to osd_op_threads to be consistent.
2009-12-11 08:34:27 -08:00
Sage Weil
6ebd8160e7 init-ceph: use pkill, not killall, so that c$type.$date is also killed 2009-12-11 07:53:25 -08:00
Sage Weil
ebc3136587 mon: fix mon injectargs
If !connection, we know it's local delivery.
2009-12-11 07:53:25 -08:00
Sage Weil
0deb52013e mon: fix null pointer ref on connection 2009-12-11 07:53:25 -08:00
Sage Weil
3955dd1c93 crush: fix grammer to parse hash 2009-12-11 07:53:25 -08:00
Greg Farnum
298a2d8280 msgr: lockdep found some not-actually-possible bad dependencies; they've
been removed to make it happy
2009-12-10 15:08:50 -08:00
Greg Farnum
243325079b msgr: Add at least a little documentation 2009-12-10 14:56:44 -08:00
Greg Farnum
82af707d74 msgr: Remove noisy debug output. 2009-12-10 14:33:32 -08:00
Greg Farnum
15f05d407a msgr: discard_queue now removes empty pipe queues from endpoint's map
This prevents bad pointer dereferences
2009-12-10 14:33:32 -08:00
Greg Farnum
eb371aa65e msgr: Cover qlen with a Spinlock for faster access and to limit blocking 2009-12-10 14:33:32 -08:00
Greg Farnum
ec2720cc9e msgr: That unlock's not in the right spot 2009-12-10 14:33:32 -08:00
Greg Farnum
2e78035ef4 msgr: Fix a number of locking and deletion bugs. Appears to work. 2009-12-10 14:33:32 -08:00
Greg Farnum
3a7ad1b89d msgr: Fix blocking locks and another potential block. 2009-12-10 14:33:31 -08:00