[patch 3/2] libceph: create_singlethread_workqueue() doesn't return ERR_PTRs

2013-08-15 Thread Dan Carpenter
create_singlethread_workqueue() returns NULL on error, and it doesn't return ERR_PTRs. I tweaked the error handling a little to be consistent with earlier in the function. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/net/ceph/osd_client.c b/net/ceph/osd_client.c index

Re: [ceph-users] v0.67 Dumpling released

2013-08-15 Thread Mikaƫl Cluseau
Hi lists, in this release I see that the ceph command is not compatible with python 3. The changes were not all trivial so I gave up, but for those using gentoo, I made my ceph git repository available here with an ebuild that forces the python version to 2.6 ou 2.7 : git clone

Re: [patch 1/2] libceph: fix error handling in handle_reply()

2013-08-15 Thread Sage Weil
Applied all 3 of these. Thanks, Dan! sage On Thu, 15 Aug 2013, Dan Carpenter wrote: We've tried to fix the error paths in this function before, but there is still a hidden goto in the ceph_decode_need() macro which goes to the wrong place. We need to release the req and unlock a mutex

Re: [PATCH v5] Ceph-fuse: Fallocate and punch hole support

2013-08-15 Thread yunchuanwen
The fuse 2.9.0 have a little problem. The comment of struct fuse_lowlevel_ops say fallocate is introduced in version 2.9, but it is actually introduced in 2.9.1. 2013/8/15 Sage Weil s...@inktank.com: On Thu, 15 Aug 2013, Li Wang wrote: This patch implements fallocate and punch hole support for

RE: [Xen-devel] Xen blktap driver for Ceph RBD : Anybody wants to test ? :p

2013-08-15 Thread James Harper
Hi, I just tested with tap2:aio and that worked (had an old image of the VM on lvm still so just tested with that). Switching back to rbd and it crashes every time, just as postgres is starting in the vm. Booting into single user mode, waiting 30 seconds, then letting the boot

[PATCH] Ceph: Remove useless variable revoked_rdcache

2013-08-15 Thread Li Wang
Cleanup in handle_cap_grant() Signed-off-by: Li Wang liw...@ubuntukylin.com --- fs/ceph/caps.c |5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/fs/ceph/caps.c b/fs/ceph/caps.c index 25442b4..8c90cae 100644 --- a/fs/ceph/caps.c +++ b/fs/ceph/caps.c @@ -2361,7 +2361,6 @@

[PATCH] debian/control libgoogle-perftools-dev (= 2.0-2)

2013-08-15 Thread Stefan Priebe
--- debian/control |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 5c14ebb..b39579f 100644 --- a/debian/control +++ b/debian/control @@ -25,7 +25,7 @@ Build-Depends: autoconf, libexpat1-dev, libfcgi-dev,

[PATCH] allow also curl openssl binding

2013-08-15 Thread Stefan Priebe
--- debian/control |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/control b/debian/control index b39579f..957727d 100644 --- a/debian/control +++ b/debian/control @@ -20,7 +20,7 @@ Build-Depends: autoconf, libboost-program-options-dev (= 1.42),

rbd: format 2 support in rbd.ko ?

2013-08-15 Thread Kasper Dieter
When will 'format 2' support be available in rbd.ko ? -Dieter # rbd info ssd2-v2-1T-4m -p SSD-r2 rbd image 'ssd2-v2-1T-4m': size 1000 GB in 256000 objects order 22 (4096 KB objects) block_name_prefix: rbd_data.13032ae8944a format: 2 features: layering #

Re: rbd: format 2 support in rbd.ko ?

2013-08-15 Thread Damien Churchill
On 15 August 2013 12:42, Kasper Dieter dieter.kas...@ts.fujitsu.com wrote: When will 'format 2' support be available in rbd.ko ? Format 2 is supported in kernel 3.10 or newer. -- To unsubscribe from this list: send the line unsubscribe ceph-devel in the body of a message to

Deferred deletion of ObjectContext

2013-08-15 Thread Loic Dachary
Hi Sam, I've amended https://github.com/ceph/ceph/pull/414 with https://github.com/dachary/ceph/commit/66e42d0ec29ffdd2edc225f4090a132a50d9665b#L0R4668 bool locked = is_locked(); if (!locked) lock(); if (obc-ssc) put_snapset_context(obc-ssc); if (object_contexts.empty())

Need some help with the RBD Java bindings

2013-08-15 Thread Wido den Hollander
Hi, I'm having some issues with the Java bindings for librbd and I'm not sure what the problem is here. The problem is with listing snapshot of a RBD image. I test it in this test case: public void testCreateAndClone() { try { .. .. image.snapCreate(snapName);

Re: Deferred deletion of ObjectContext

2013-08-15 Thread Samuel Just
Commented on the commit. -Sam On Thu, Aug 15, 2013 at 7:12 AM, Loic Dachary l...@dachary.org wrote: Hi Sam, I've amended https://github.com/ceph/ceph/pull/414 with https://github.com/dachary/ceph/commit/66e42d0ec29ffdd2edc225f4090a132a50d9665b#L0R4668 bool locked = is_locked(); if

Re: Need some help with the RBD Java bindings

2013-08-15 Thread Noah Watkins
On Thu, Aug 15, 2013 at 8:51 AM, Wido den Hollander w...@42on.com wrote: public ListRbdSnapInfo snapList() throws RbdException { IntByReference numSnaps = new IntByReference(16); PointerByReference snaps = new PointerByReference(); ListRbdSnapInfo list = new

RE: [Xen-devel] Xen blktap driver for Ceph RBD : Anybody wants to test ? :p

2013-08-15 Thread James Harper
I just had a crash since upgrading to dumpling, and will disable merging tonight. Still crashes with merging disabled. James -- To unsubscribe from this list: send the line unsubscribe ceph-devel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH] Ceph: Remove useless variable revoked_rdcache

2013-08-15 Thread Sage Weil
Applied to testing branch, Thanks! sage On Thu, 15 Aug 2013, Li Wang wrote: Cleanup in handle_cap_grant() Signed-off-by: Li Wang liw...@ubuntukylin.com --- fs/ceph/caps.c |5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/fs/ceph/caps.c b/fs/ceph/caps.c index

Re: [PATCH v5] Ceph: Punch hole support for kernel client

2013-08-15 Thread Sage Weil
I've applied this to the testing branch and moved to the better fsx in the qa suite. The ceph-fuse patches are still in wip-fallocate until I can run the fs test suite against them. Thanks! sage On Thu, 15 Aug 2013, Li Wang wrote: This patch implements fallocate and punch hole support for

Re: debugging librbd async

2013-08-15 Thread Sage Weil
On Fri, 16 Aug 2013, James Harper wrote: I'm testing out the tapdisk rbd that Sylvain wrote under Xen, and have been having all sorts of problems as the tapdisk process is segfaulting. To make matters worse, any attempt to use gdb on the resulting core just tells me it can't find the

RE: debugging librbd async

2013-08-15 Thread James Harper
On Fri, 16 Aug 2013, James Harper wrote: I'm testing out the tapdisk rbd that Sylvain wrote under Xen, and have been having all sorts of problems as the tapdisk process is segfaulting. To make matters worse, any attempt to use gdb on the resulting core just tells me it can't find the

RE: debugging librbd async

2013-08-15 Thread Sage Weil
On Fri, 16 Aug 2013, James Harper wrote: On Fri, 16 Aug 2013, James Harper wrote: I'm testing out the tapdisk rbd that Sylvain wrote under Xen, and have been having all sorts of problems as the tapdisk process is segfaulting. To make matters worse, any attempt to use gdb on the