[PATCH] rbd.cc: Check io-size avoid floating point exception.

2014-06-12 Thread Ma, Jianpeng
In func do_bench_write if io_size is zero,it can cause floating point execption. Signed-off-by: Jianpeng Ma jianpeng...@intel.com --- src/rbd.cc | 8 1 file changed, 8 insertions(+) diff --git a/src/rbd.cc b/src/rbd.cc index d6658e3..c068ed6 100644 --- a/src/rbd.cc +++ b/src/rbd.cc @@

RE: [Ceph] Managing crushmap

2014-06-12 Thread ghislain.chevalier
Hi Greg, the information you requested: dumpling platform : ceph version 0.67.9 (ba340a97c3dafc9155023da8d515eecc675c619a) See attached the decompiled crushmap (created today by ceph osd getcrushmap -o crushmap_current and crushtool -d crushmap_current -o crushmap_current.txt) and the result

How to compile rbd clients only ?

2014-06-12 Thread norbi
Hi List, which way is the best for compiling only the rbd binarys? My Ceph-Cluster is allready running, now i need client software to connect to the cluster, but i don't want to compile the hole ceph-binarys, because.. it doesn't work :) is there a way to do --without-all --with-clientsonly

[GIT PULL] Ceph changes for 3.16-rc1

2014-06-12 Thread Sage Weil
Hi Linus, Please pull the following Ceph updates from git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client.git for-linus This pull has a mix of bug fixes and cleanups. Alex's patch fixes a rare race in RBD. Ilya's patches fix an ENOENT check when a second rbd image is mapped and

Re: [PATCH] rbd: handle parent_overlap on writes correctly

2014-06-12 Thread Josh Durgin
On 06/11/2014 09:40 AM, Ilya Dryomov wrote: The following check in rbd_img_obj_request_submit() rbd_dev-parent_overlap = obj_request-img_offset allows the fall through to the non-layered write case even if both parent_overlap and obj_request-img_offset belong to the same RADOS object.