Commit Graph

5826 Commits

Author SHA1 Message Date
Yehuda Sadeh
7ed99eabc3 crun: restart only processes that should have dumped core 2009-01-30 12:46:17 -08:00
Sage Weil
fe1a365365 todo 2009-01-30 11:44:34 -08:00
Sage Weil
81bf6efdea osd: put full original reqid in osd_op_reply 2009-01-30 11:44:34 -08:00
Sage Weil
4968553c22 mds: typos 2009-01-30 11:44:34 -08:00
Sage Weil
1df22a51a0 kclient: don't retain caps if inode is closed and nlink == 0 2009-01-30 11:44:33 -08:00
Sage Weil
57d8ba9990 mds: rip out old purge_inode crap 2009-01-30 11:44:33 -08:00
Sage Weil
0d8ba65980 mds: simplify purge_stray
Just delete objects and then journal completion.  No need to do
the funky purge_inode double commit crap, since we will re-eval
strays later any (and do it all again if needed).
2009-01-30 11:44:33 -08:00
Sage Weil
e32e434d43 mds: clean up opent a bit 2009-01-30 11:44:33 -08:00
Sage Weil
93e587ea7d mds: drop _do_open helper
only one caller
2009-01-30 11:44:33 -08:00
Sage Weil
f49d8ac12b mds: open O_TRUNC implemented.. but not used by kclient :/ 2009-01-30 11:44:33 -08:00
Sage Weil
1d15f8f559 mds: implement async truncate (trimtrunc); fix log segment trim vs purge bug
Logsegs were allowed to trim even with outstanding purges.. fix.
2009-01-30 11:44:33 -08:00
Sage Weil
0f11a1a7de osd: fix truncate ops; add TRIMTRUNC 2009-01-30 11:44:33 -08:00
Sage Weil
e0dcc7cf49 mds: truncate changes. not complete.
We don't clean up after we finish our truncate.
2009-01-30 11:44:33 -08:00
Sage Weil
d8d2886b0f kclient: fix and clean up osd request generation
Add trunc op correctly.  Clean things up by combining request
message and request struct creation.
2009-01-30 11:44:33 -08:00
Sage Weil
1e17153019 kclient: include old size in truncate 2009-01-30 11:44:33 -08:00
Sage Weil
35184795c2 kclient: truncate bits
Queue vmtruncate if we see size decrease in fill_file_info (not
just on CAP_OP_TRUNC).
2009-01-30 11:44:33 -08:00
Sage Weil
a7397d8ce6 kclient: include truncate osd_ops when needed 2009-01-30 11:44:33 -08:00
Sage Weil
116e0fb31a osd: MASKTRUNC and SETTRUNC osd ops 2009-01-30 11:44:33 -08:00
Sage Weil
72fc7a26ce mds: add truncate_size 2009-01-30 11:44:33 -08:00
Yehuda Sadeh
703d89cb1d renamed common.sh to ceph_common.sh 2009-01-30 11:41:06 -08:00
Yehuda Sadeh
b4f70d2428 rename stop.sh to ceph_stop, added to Makefile.am 2009-01-30 11:24:20 -08:00
Yehuda Sadeh
c7a6798ec9 cephd: update Makefile.am 2009-01-30 11:24:20 -08:00
Sage Weil
d463db6f45 mon: only propose new osdmap once at end of mdsmonitor tick() 2009-01-30 11:13:41 -08:00
Yehuda Sadeh
cedaea2b02 ceph.sh renamed to cephd 2009-01-30 11:01:41 -08:00
Sage Weil
40504d5013 msgr: fix WAIT connection race handling
Not sure why it wasn't setting STATE_WAIT before.  Works now.
2009-01-30 11:00:43 -08:00
Yehuda Sadeh
807a90d261 ceph.sh: some changes, fixes 2009-01-30 10:37:51 -08:00
Yehuda Sadeh
dba09e8acd ceph.sh: some fixes 2009-01-29 16:20:46 -08:00
Yehuda Sadeh
89f96071dc ceph.sh: try to locate cconf 2009-01-29 15:30:17 -08:00
Yehuda Sadeh
4651403f4a ceph.sh: enable script 2009-01-29 15:24:16 -08:00
Yehuda Sadeh
f121086c07 ceph.sh: able to specify start/stop/restart, specific modules 2009-01-29 15:22:52 -08:00
Yehuda Sadeh
a6bb1d5f43 ceph.sh: add missing file 2009-01-29 15:02:34 -08:00
Yehuda Sadeh
d1cd77555e ceph.sh: can specify remote modules 2009-01-29 15:01:25 -08:00
Yehuda Sadeh
48d9c94891 ceph.sh: startup script that uses conf file 2009-01-29 13:55:33 -08:00
Sage Weil
400e04e6dd osd: rev internal osd protocol 2009-01-29 10:17:45 -08:00
Sage Weil
cbe1eefa09 osd: push wrlocks into object_info_t 2009-01-29 10:17:45 -08:00
Sage Weil
64625557e4 osd: remove inc_lock 2009-01-29 10:17:45 -08:00
Sage Weil
478e51aa02 osd: combine all internal object state into single '_' object_info_t xattr 2009-01-29 10:17:45 -08:00
Sage Weil
c9554fc5d8 osd: replace version attr with oi (object_info_t) (disk format change)
Includes last reqid, mtime.  Makes backlog log entries include
a real reqid, which makes the client_reqs IndexedLog map meaningful.
Otherwise, the first backlog item we 'unindex' means the remaining
ops with reqid unknown0.0:0 aren't in the map.

This revs the osd ondisk format.
2009-01-29 10:17:45 -08:00
Yehuda Sadeh
60c55c23bb Merge branch 'unstable' of ssh://ceph.newdream.net/git/ceph into unstable 2009-01-28 16:35:54 -08:00
Yehuda Sadeh
ab347516aa cconf: able to specify multiple sections 2009-01-28 16:35:39 -08:00
Sage Weil
cd2669f635 dstart: --ramjournal option 2009-01-28 16:11:35 -08:00
Sage Weil
2c0422bae7 scripts: osd latency check script 2009-01-28 16:11:34 -08:00
Sage Weil
a61c0bf282 kclient: start writeback without blocking
We just want to make sure writeback starts; we don't need/want
to wait for it to complete in the writeback thread.
2009-01-28 16:10:12 -08:00
Yehuda Sadeh
d68f60ce47 cconf: set default conf filename 2009-01-28 10:51:18 -08:00
Yehuda Sadeh
a34c82d831 cconf: added utility to read configuration 2009-01-28 10:49:37 -08:00
Sage Weil
ac22c78624 mds: fix open file rejounal in try_to_expire
We were invalidating the iterator.
2009-01-28 09:36:14 -08:00
Sage Weil
dbeb6c992d kclient: fix nocrc behavior
Only disable data crc.  Don't check crc if either we or the peer
didn't calculate it.
2009-01-28 09:32:29 -08:00
Sage Weil
20ec768063 mds: shorten mds beacon grace to 15 seconds 2009-01-27 16:42:52 -08:00
Sage Weil
6258c64c99 todo 2009-01-27 16:18:06 -08:00
Sage Weil
309e595f8c vstart: fix btrfs test 2009-01-27 15:21:01 -08:00