the messenger to send osd write ack|ondisk

2011-09-02 Thread huang jun
hi,all i'm confused by the question: ceph use client_messenger to send MOSDOpReply:ondisk but use cluster_messenger to send MOSDOpReply:ack are they have any difference? -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majord...@vger.kernel.org Mo

[PATCH] osd: nss build of OSD.cc needs CRYPTO_CXXFLAGS since commit d59f34ab

2011-09-02 Thread Jim Schutt
nss build fails like this: if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -D__KERNEL_STRICT_NAMES -Wall -D__CEPH__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -D__STDC_FORMAT_MACROS -D_GNU_SOURCE -rdynamic -Winit-self -Wpointer-arith -fno-strict-aliasi

[PATCH] spec: add /var/run/ceph

2011-09-02 Thread Brian Chrisman
spec file should be creating /var/run/ceph 0001-spec-add-var-run-ceph.patch Description: Binary data

Re: pg number question

2011-09-02 Thread Colin Patrick McCabe
On Fri, Sep 2, 2011 at 4:35 AM, huang jun wrote: > hi,all > we test osd adding > at first there is only one osd , and we add an osd online, at the step: > $ osdmaptool --createsimple 2 --clobber /tmp/osdmap.junk > --export-crush /tmp/crush.new > we look into the source code, and a few things confu

pg number question

2011-09-02 Thread huang jun
hi,all we test osd adding at first there is only one osd , and we add an osd online, at the step: $ osdmaptool --createsimple 2 --clobber /tmp/osdmap.junk --export-crush /tmp/crush.new we look into the source code, and a few things confused us. the pg_num is based on osd_num, but now we have 2 osds