[PATCH] mds: sort dentries when committing dir fragment

2012-11-25 Thread Yan, Zheng
From: Yan, Zheng zheng.z@intel.com Currently ceph mds uses tmap to store dir fragments. Dentry_key_t's string representation is used as key for the tmap. When writing or updating a tmap, the OSDs expect the keys to be provided in ascending order. Current code encodes dentries by the order of

Re: BUG: mount failed with IP and hostname mixed

2012-11-25 Thread Sage Weil
Thanks! Fix is pushed to next branch. Trigger is when the hostname resolves to the same IP listed. sage On Mon, 26 Nov 2012, Drunkard Zhang wrote: It's ceph-0.51, easy to reproduce, just mix IP and hostname and put IP before hostnames when mount use ceph-fuse or mount.ceph, like:

bobtail release candidates

2012-11-25 Thread Sage Weil
Hi all, There are automatic builds of the prerelease bobtail code available under the 'next' branch. For debs, http://ceph.com/docs/master/install/debian/#add-development-testing-packages For example, for Ubuntu 12.04 precise,

Statistics / Nagios

2012-11-25 Thread Stefan Priebe
Hello list, are there any useful statistics for ceph? ceph -s shows just the status but i would like to record something which gives me an idea about the ceph load or usage. Greets, Stefan -- To unsubscribe from this list: send the line unsubscribe ceph-devel in the body of a message to

Re: syncfs via syscall doesn not work

2012-11-25 Thread Stefan Priebe
Am 25.11.2012 00:20, schrieb Sage Weil: On Sat, 24 Nov 2012, Stefan Priebe wrote: Am 24.11.2012 18:16, schrieb Sage Weil: On Sat, 24 Nov 2012, Stefan Priebe - Profihost AG wrote: At the machine compiling? Yes! Hmm, I just tested on my wonky wheezy machine (glibc 2.13, 3.2) and

Re: Redundancy when mount with multiple mon IP

2012-11-25 Thread Gregory Farnum
On Sunday, November 25, 2012 at 9:30 AM, Drunkard Zhang wrote: 2012/11/26 Sage Weil s...@inktank.com (mailto:s...@inktank.com): On Sun, 25 Nov 2012, Drunkard Zhang wrote: I'm using ceph-0.51. I setup 3 monitors. then mount with 3 mon IP at another host with either kernel mode or fuse,

Re: Statistics / Nagios

2012-11-25 Thread Gregory Farnum
On Sunday, November 25, 2012 at 10:26 AM, Stefan Priebe wrote: Hello list, are there any useful statistics for ceph? ceph -s shows just the status but i would like to record something which gives me an idea about the ceph load or usage. Each daemon has an admin socket which you can use to

Re: Statistics / Nagios

2012-11-25 Thread Stefan Priebe
Hi Greg, Am 25.11.2012 20:08, schrieb Gregory Farnum: On Sunday, November 25, 2012 at 10:26 AM, Stefan Priebe wrote: Hello list, are there any useful statistics for ceph? ceph -s shows just the status but i would like to record something which gives me an idea about the ceph load or usage.

Re: Hi + question

2012-11-25 Thread Joao Eduardo Luis
On 11/25/2012 07:02 PM, Roald van Loon wrote: Like I said I'm toying away with ceph since an hour or two, and one of the things I noticed was that setting up my test env and getting to know ceph wasn't all that easy to do (gentoo btw). Things like ceph -h not showing the setcrushmap option,

Re: Cephfs losing files and corrupting others

2012-11-25 Thread Nathan Howell
So when trawling through the filesystem doing checksum validation these popped up on the files that are filled with null bytes: https://gist.github.com/186ad4c5df816d44f909 Is there any way to fsck today? Looks like feature #86 http://tracker.newdream.net/issues/86 isn't implemented yet. thanks,

Re: Hangup during scrubbing - possible solutions

2012-11-25 Thread Andrey Korolyov
On Fri, Nov 23, 2012 at 12:35 AM, Sage Weil s...@inktank.com wrote: On Thu, 22 Nov 2012, Andrey Korolyov wrote: Hi, In the recent versions Ceph introduces some unexpected behavior for the permanent connections (VM or kernel clients) - after crash recovery, I/O will hang on the next planned

Re: [PATCH] mds: sort dentries when committing dir fragment

2012-11-25 Thread Sage Weil
I pushed an alternative approach to wip-tmap. This sorting is an artifact of tmap's crummy implementation, and the mds workaround will need to get reverted when we switch to omap. Instead, fix tmap so that it will tolerate unsorted keys. (Also, drop the ENOENT on rm on missing key.)

Re: [PATCH] mds: sort dentries when committing dir fragment

2012-11-25 Thread Yan, Zheng
On 11/26/2012 06:32 AM, Sage Weil wrote: I pushed an alternative approach to wip-tmap. This sorting is an artifact of tmap's crummy implementation, and the mds workaround will need to get reverted when we switch to omap. Instead, fix tmap so that it will tolerate unsorted keys. (Also,