mirror of
https://github.com/ceph/ceph
synced 2024-12-14 23:46:28 +00:00
Ceph is a distributed object, block, and file storage platform
4e54d1176f
Okay, do not rely on MDS to provide dentry positioning information, since it is all relative to the start _string_ we provide, and that can change directory position without notice. Simplify readdir a bit wrt seeks. A seek to 0, a new frag, or prior to the current chunk resets buffered state. For each frag, we walk through chunks, always in order. We set dentry positions/offsets based on the frag and position within our sweep across the frag. Successive chunks are grabbed from the MDS relative to a filename (not offset), so concurrent insertions/removals don't bother us (although we will not see insertions lexicographically prior to our position). |
||
---|---|---|
branches/aleung/security1 | ||
debian | ||
fusetrace | ||
man | ||
src | ||
web | ||
wireshark | ||
.gitignore | ||
AUTHORS | ||
autogen.sh | ||
build_upload_debian_packages.sh | ||
ceph.spec.in | ||
ChangeLog | ||
configure.ac | ||
COPYING | ||
INSTALL | ||
Makefile.am | ||
NEWS | ||
README |
Ceph - a scalable distributed file system ----------------------------------------- Please see http://ceph.newdream.net/ for current info. ---- To build the Linux kernel client, $ cd src/kernel $ make or $ make KERNELDIR=/path/to/linux $ insmod ceph.ko $ mount -t ceph 1.2.3.4:/ /mnt/ceph ... ---- To build the server daemons, and FUSE client, $ ./autogen.sh $ ./configure $ cd src $ make (Note that the FUSE client will only be built if libfuse is present.) ---- A quick summary of binaries that will be built in src/ daemons: cmon -- monitor daemon. handles cluster state and configuration information. cosd -- storage daemon. stores objects on a given block device. cmds -- metadata daemon. handles file system namespace. cmonctl -- send commands to the monitor cluster. userland clients: cfuse -- fuse client. csyn -- synthetic workload generator client. tools: mkmonfs -- create a fresh monfs (for a new filesystem) monmaptool -- create/edit mon map osdmaptool -- create/edit osd map crushtool -- create/edit crush map dupstore -- duplicate an osd object store (offline) development/debugging: fakesyn -- simulator with synthetic workload fakefuse -- simulator that mounts with fuse ---- see also src/README