Commit Graph

7926 Commits

Author SHA1 Message Date
Greg Farnum
f90df69f54 Hadoop: Minor fixes to the still-unworking Hadoop code. 2009-07-27 17:20:29 -07:00
Greg Farnum
a41c762fcb Hadoop: hadoopcephfs is now self-contained instead of requiring other libs. 2009-07-27 17:20:29 -07:00
Greg Farnum
2a36c63b85 uclient/libceph: add a getcwd function 2009-07-27 17:20:29 -07:00
Sage Weil
b92d2cbefb kclient: replace osdc request_tree with rbtree
This avoids a possible memory allocation in writeout path.
2009-07-27 15:05:56 -07:00
Sage Weil
3699623be0 auth: remove ceph_client_ticket struct
Ticket is generally opaque to client anyway.
2009-07-27 14:12:33 -07:00
Sage Weil
aa2252a08c osd: generate primary backlog independent of master log
We may have the master log (i.e. know the correct pg state), but
still need a backlog to recover some peers.
2009-07-27 12:06:52 -07:00
Sage Weil
3ef549100b kclient: set mapping error on writepage error 2009-07-27 11:57:07 -07:00
Sage Weil
db90dcdd67 kclient: debugfs mounts on /sys/kernel/debug 2009-07-27 10:11:36 -07:00
Sage Weil
5f7581d223 Makefile: skip hadoop client if jni.h not present 2009-07-23 16:17:41 -07:00
Sage Weil
aca6d39d8a kclient: use a mempool for page vector in writepages 2009-07-23 12:50:34 -07:00
Sage Weil
f485e1e28a kclient: put writepages pagevec on the stack 2009-07-23 12:30:59 -07:00
Sage Weil
9a51ad3da2 debian: upload packages as sage 2009-07-23 11:50:36 -07:00
Sage Weil
e389408143 kclient: fix bad kmalloc 2009-07-23 11:50:35 -07:00
Sage Weil
ddc1707fb7 kclient: rewrite layout ioctls 2009-07-23 11:50:35 -07:00
Sage Weil
61d99cfc68 mds: only set striping component of file layout, for now. 2009-07-23 11:50:35 -07:00
Sage Weil
83271128f7 fix compat 2009-07-23 11:50:35 -07:00
Sage Weil
249721c8f5 kclient: define compat_ioctl too 2009-07-23 11:50:35 -07:00
Sage Weil
87dddc4500 osd: actually adjust rd/wr accounting values 2009-07-23 11:50:35 -07:00
Sage Weil
15ec923e1e osd: add rd/wr ops/bytes stats to pgs, pools 2009-07-23 11:50:35 -07:00
Greg Farnum
b34648eddb Hadoop: Compiles now. Stupid macros. 2009-07-23 11:12:44 -07:00
Greg Farnum
9f254d5a16 Hadoop: Converted CephFSInterface.cc to use libceph. 2009-07-22 16:58:06 -07:00
Greg Farnum
66045f5208 libceph: Added get_stripe_unit method; used by Hadoop. 2009-07-22 15:54:50 -07:00
Greg Farnum
a7a7f6389a Hadoop:Remove the clientPointer convention from the C headers. 2009-07-22 15:03:35 -07:00
Greg Farnum
adf047763e Hadoop: Remove the silly clientPointer convention from the Java.
Since we're using libceph now it's unneeded and a waste of space.
2009-07-22 14:56:47 -07:00
Greg Farnum
e18b61334a Hadoop: Created new and modified old CephFSInterface.cc methods 2009-07-22 14:13:10 -07:00
Greg Farnum
38e8ce2a84 Hadoop: Newly-generated JNI files into CephFSInterface.h 2009-07-22 13:35:35 -07:00
Greg Farnum
ee0e17b3a2 Hadoop: Adding JNI header files to repository.
Will combine next.
2009-07-22 13:35:35 -07:00
Sage Weil
9fa6f5e7d0 v0.11 2009-07-22 12:40:52 -07:00
Sage Weil
a8de8c7c97 kclient: simple dout macro by default 2009-07-22 12:20:30 -07:00
Sage Weil
b66da8f229 todo 2009-07-22 12:20:30 -07:00
Sage Weil
ea54a6a207 kclient: msgr cleanup 2009-07-22 12:20:28 -07:00
Sage Weil
8d7d3c8a07 kclient: caps.c cleanup 2009-07-22 12:20:27 -07:00
Greg Farnum
d88a4b38be Hadoop: CephInputStream seekNewSource done. That was easy. 2009-07-22 11:37:01 -07:00
Greg Farnum
f205273edb Hadoop: CephOutputStream retabbed, and it's an OutputStream now. 2009-07-22 11:37:01 -07:00
Greg Farnum
035f80312c Hadoop: CephInputStream retabbing and add seekToNewSource stub. 2009-07-22 11:37:01 -07:00
Greg Farnum
5fc0182e4f Hadoop: Renamed listPathsRaw as listPaths
to indicate that listPaths now strips out . and ..

Fixed bad reference to deleteRaw.
2009-07-22 11:37:01 -07:00
Greg Farnum
3eec8bb6f5 Hadoop: Continued cleanup work. 2009-07-22 11:37:01 -07:00
Greg Farnum
9d4680e6d0 Hadoop:Stubs for new append method 2009-07-22 11:37:01 -07:00
greg
2e9c614815 Hadoop: Minor changes to most of the methods. 2009-07-22 11:37:01 -07:00
greg
a6a98ad28b Hadoop: Retab CephFileSystem.
Also begin changes in create and delete.
2009-07-22 11:37:01 -07:00
greg
391b2fa0e5 Added Hadoop fs components. 2009-07-22 11:37:01 -07:00
Sage Weil
c58bb8dc71 kclient: fix up export.c 2009-07-22 11:15:50 -07:00
Sage Weil
f1264f4619 kclient: mon_client, kobject cleanups 2009-07-22 10:02:47 -07:00
Sage Weil
6088a8e0e4 crush: more cleanup 2009-07-22 09:56:13 -07:00
Sage Weil
4dde6e3cb5 crush: comments 2009-07-22 09:47:17 -07:00
Sage Weil
abc5f1d17d kclient: osd_client cleanup 2009-07-21 17:46:07 -07:00
Sage Weil
d9d3d6254b mount.ceph: update /etc/mtab 2009-07-21 16:42:19 -07:00
Sage Weil
8c58361536 kclient: mds_client cleanup 2009-07-21 16:16:25 -07:00
Sage Weil
307a11e5dd kclient: fix dcache readdir -> sync readdir transition
We need to keep maintain the same state variables (namely,
fi->next_offset and fi->dentry) in a consistent fashion.  Use a
helper to keep track of the last name we _did_ see.
2009-07-21 16:02:53 -07:00
Sage Weil
559860f28f kclient: addr.c comment cleanup 2009-07-21 15:23:27 -07:00