sageweil
06a85f1d21
* syntheticclient lseek
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1350 29311d96-e01e-0410-9327-a35deaab8ce9
2007-05-01 04:34:20 +00:00
sageweil
a511e19f5b
* mds: osdmap handling bugfix
...
* common/Thread.h: fixed stupid join() problem (again)
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1349 29311d96-e01e-0410-9327-a35deaab8ce9
2007-04-26 18:46:26 +00:00
sageweil
d8dd31ad7e
* chdir back to original dir on fuse shutdown, for benefit of gmon.out
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1347 29311d96-e01e-0410-9327-a35deaab8ce9
2007-04-26 14:50:24 +00:00
eestolan
bd8c9409fd
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1345 29311d96-e01e-0410-9327-a35deaab8ce9
2007-04-18 00:32:52 +00:00
sageweil
f66e3b9251
* lowered default pg count for now
...
* fixed mds restart bug
* osd quieter
* default mds_beacon_grace is now higher
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1344 29311d96-e01e-0410-9327-a35deaab8ce9
2007-04-11 16:30:50 +00:00
sageweil
93646878e3
* mon: default to a ~128 PGs per osd (up from 4!)
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1310 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-28 03:03:17 +00:00
sageweil
12adbb9bea
* hadoop: minor cleanup
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1297 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-23 20:27:34 +00:00
sageweil
ceb020e947
* mds: make sure loggers open properly (w/ newsyn), and flush on shutdown
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1296 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-23 20:27:18 +00:00
sageweil
8d98b37905
* mds: fix lost auth_pin
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1295 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-23 19:25:11 +00:00
eestolan
96353bf255
even more debugging of Hadoop interface
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1293 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-22 22:30:52 +00:00
sageweil
d00cf714da
* mds: alloc RDCACHE during glockl
...
* client: fixed truncate handling, implemented helper in FileCache
* osdc: implemented truncate in ObjectCacher
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1289 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-22 16:58:23 +00:00
sageweil
cebf62664b
* SimpleMessenger only lets you do start_rank once
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1288 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-22 16:36:52 +00:00
sageweil
981f2a1b65
* thread join more forgiving
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1287 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-22 15:12:33 +00:00
eestolan
6683ede49f
Even more debugging. Reading is currently broken.
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1286 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-22 07:17:51 +00:00
eestolan
5d8ce37b76
more debugging
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1285 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-22 06:14:55 +00:00
sageweil
a67c29d277
* clock_tare arg to allow wall clock time
...
* cleaned out some old build targets
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1283 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-22 00:38:24 +00:00
sageweil
af7614d848
* per-line locking on osd debug output (dstartl and dendl)
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1281 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-21 22:46:25 +00:00
eestolan
1f5cc96a38
Debugging interface
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1279 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-21 22:12:28 +00:00
sageweil
0d0e046633
asdf
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1270 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-20 20:37:24 +00:00
sageweil
8a8cf2ba46
* libhadoopcephfs.so
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1269 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-20 20:31:12 +00:00
eestolan
f275c16a46
more Hadoop stuff
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1267 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-20 20:12:15 +00:00
sageweil
f212de37cd
* some client cache tweaks
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1266 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-20 19:58:39 +00:00
rsdio
eb07ec9646
2007-03-19 Casey Marshall <csm@soe.ucsc.edu>
...
* osbdb/OSBDB.cc (CLEANUP, COMMIT): new macros.
(scoped_lock): new class.
(getenv): new function.
The rest replaces Context cleanup/commit with macros; fixes
some debug output; adds locks to mutator methods.
* osbdb/OSBDB.h (lock): new member.
(OSBDB): initialize `lock.'
(getenv): new function.
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1264 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-20 05:58:05 +00:00
sageweil
6ed8c55ee2
* O_TRUNC implemented in open()
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1255 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-16 17:36:40 +00:00
sageweil
b80c3a6b04
* fixed problem with client cache caps
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1254 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-16 17:30:50 +00:00
sageweil
785e6e5c19
* fixed bug with lost waiters on null dentries (e.g. mknod race)
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1251 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-16 00:21:18 +00:00
sageweil
2bcc95a7e3
* some changes to client cache: readers/writers block properly, wake up when data is flushed
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1250 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-16 00:19:38 +00:00
sageweil
1d423e3cee
* csyn: start up N synthetic clients, not just 1
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1246 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-15 23:12:32 +00:00
sageweil
89c6aabb29
* fixed getdir() on empty dir shutdown hang in client
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1244 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-15 21:15:42 +00:00
sageweil
4bb27d78ed
* fixed buglet with open(O_CREAT)
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1243 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-15 21:02:47 +00:00
sageweil
df0126377f
* fixed looping bug with clean_dir (called after trace playback)
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1242 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-15 20:59:21 +00:00
sageweil
79e24af3d4
* fixed read/write idiocy in MonitorStore
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1228 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-13 22:22:54 +00:00
sageweil
c1e9220896
* emacs headers, formatting
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1221 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-13 00:59:51 +00:00
sageweil
3562c8b436
* minor osdmap cleanup
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1220 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-13 00:52:32 +00:00
sageweil
baaee0f7aa
* fixed SyntheticCLient.read_file() to notice EOF
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1219 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-13 00:13:19 +00:00
sageweil
11add1fae1
* added try_map_read, which checks for missing bufferheads without creating them. for _is_cached.
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1218 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-12 23:26:18 +00:00
sageweil
f35b883067
* fixed bug with writefile/readfile data fingerprinting (for detecting data corruption errors)
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1217 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-12 22:08:13 +00:00
sageweil
c7a1b84020
error suppression file to make valgrind shut up about a bug in libc's writev
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1212 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-12 03:41:08 +00:00
sageweil
958e3ece4b
fixed lots of memory leaks! cleaned up C_Gather. Thread has stricter interface (join() dies if thread didn't start). lots of objectcacher cleanup (including memory leakage). some fakemessenger cleanup.
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1207 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-12 02:52:30 +00:00
rsdio
42bc516d1b
2007-03-10 Casey Marshall <csm@soe.ucsc.edu>
...
* osbdb/OSBDB.cc: add some more debug tracing.
(rmattr, collection_rmattr): fix buglet where we'd zero-fill
the input name, not the `attr_name' we're copying it to.
* test/testos.cc: hacks to support ebofs-on-raw-device.
* test/testosbdb.cc: add more tests for attributes.
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1199 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-10 22:49:05 +00:00
sageweil
f646f4a502
fixed warnings on LP64; removed MonitorStore debug message
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1198 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-10 20:50:07 +00:00
sageweil
2a38c3e968
don't require 'fs' to be defined
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1193 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-09 22:48:17 +00:00
sageweil
93dfe2de0a
a sample
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1183 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-09 03:36:39 +00:00
sageweil
34d3bcd647
use absolute paths when using fuse
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1179 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-07 17:22:45 +00:00
sageweil
611c608def
eek, use SimpleMessenger. surprised that worked at all!
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1171 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-05 23:43:46 +00:00
sageweil
95be0dc467
client describe_layout interface; monitorstore fuse-changes-cwd workaround; osdc debug printer cleanup
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1167 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-03 01:58:35 +00:00
sageweil
2abaa3fb24
added lseek to Client
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1164 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-02 23:28:25 +00:00
sageweil
3efd4745fc
build on 64-bit machines (LP64)
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1159 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-02 20:03:58 +00:00
rsdio
8fa2c00f43
2007-03-01 Casey Marshall <csm@soe.ucsc.edu>
...
* config.cc (g_conf): initialize bdbstore_transactional.
(parse_config_options): accept `--bdbstore-transactional' and
`--debug-bdbstore'.
* config.h (struct md_config_t): add `bdbstore_transactional.'
* doc/bdb.txt: new file.
* osbdb/OSBDB.cc (statfs): implemented.
Added optional transactions to most methods.
* osbdb/OSBDB.h: updated for transactions.
* test/testosbdb.cc: new file.
* test/testos.cc: updated.
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1156 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-02 04:07:56 +00:00
sageweil
27ac80ee91
comment
...
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1148 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-01 16:37:00 +00:00