Ceph is a distributed object, block, and file storage platform
Go to file
Sage Weil e18001c11b mds: fix stray replica push on _rename_prepare_witness()
We need to push all parents of the straydn to the target.  This changed
a while back with the mdsdir stuff but this bit of code wasn't updated.
Updated to mirror send_dentry_unlink().

This fixes a crash like:
mds/MDCache.cc: In function 'void MDCache::adjust_subtree_auth(CDir*, std::pair<int, int>, bool)':
mds/MDCache.cc:644: FAILED assert(root)
 ceph version 0.22~rc (0e67718a36)
 1: (MDCache::add_replica_dir(ceph::buffer::list::iterator&, CInode*, int, std::list<Context*, std::allocator<Context*> >&)+0x1c1) [0x536a91]
 2: (MDCache::add_replica_stray(ceph::buffer::list&, int)+0xdb) [0x536fab]
 3: (Server::handle_slave_rename_prep(MDRequest*)+0x1113) [0x4d5c33]
 4: (Server::dispatch_slave_request(MDRequest*)+0x21b) [0x4de80b]
 5: (Server::handle_slave_request(MMDSSlaveRequest*)+0x145) [0x4e1955]
 6: (MDS::_dispatch(Message*)+0x2598) [0x49e038]
...

Signed-off-by: Sage Weil <sage@newdream.net>
2010-10-01 12:52:43 -07:00
debian Merge branch 'testing' into unstable 2010-09-18 14:08:35 -07:00
fusetrace
man cauthtool: update man page 2010-09-17 20:13:19 -07:00
qa Add the setup-chroot.sh script 2010-09-28 19:25:10 -07:00
src mds: fix stray replica push on _rename_prepare_witness() 2010-10-01 12:52:43 -07:00
web
wireshark Bug #98: Unique names for include guards 2010-06-17 10:47:37 -07:00
.gitignore gitignore: Ignore cscope and vim temporary files 2010-09-30 18:13:44 -07:00
AUTHORS update authors 2010-07-02 10:14:41 -07:00
autogen.sh automake: some clean up 2010-05-18 08:01:23 -07:00
builddebs.sh Merge branch 'testing' into unstable 2010-09-18 14:08:35 -07:00
ceph.spec.in ceph.spec.in: require, build with tcmalloc 2010-08-12 16:32:10 -07:00
ChangeLog
configure.ac v0.21.3 2010-09-17 21:03:27 -07:00
COPYING
INSTALL
Makefile.am Makefile: drop unnecessary dist-hook for make_version 2010-07-06 10:10:19 -07:00
NEWS
publish.sh debian: make helper scripts remember most recent release 2010-07-08 14:27:57 -07:00
pull.sh debian: make helper scripts remember most recent release 2010-07-08 14:27:57 -07:00
push.sh debian: make helper scripts remember most recent release 2010-07-08 14:27:57 -07:00
README mkmonfs: remove all traces 2010-07-02 07:57:16 -07:00
RELEASE_CHECKLIST v0.20 2010-04-23 12:10:24 -07:00
release.sh debian: don't need to add .git_version in release script 2010-08-25 14:46:36 -07:00
sign.sh debian: make helper scripts remember most recent release 2010-07-08 14:27:57 -07:00
update_pbuilder.sh debian: make update_pbuilder.sh update a single dist at a time 2010-09-17 15:52:54 -07:00

Ceph - a scalable distributed file system
-----------------------------------------

Please see http://ceph.newdream.net/ for current info.

----

To build the server daemons, and FUSE client,

$ ./autogen.sh
$ ./configure

$ make
 or
$ 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.
 ceph -- send management commands to the monitor cluster.

userland clients:
 cfuse -- fuse client.
 csyn -- synthetic workload generator client.

tools:
 monmaptool -- create/edit mon map
 osdmaptool -- create/edit osd map 
 crushtool -- create/edit crush map

scripts:
 mkcephfs -- cluster mkfs tool
 init-ceph -- init.d start/stop script