Re: [fuse-devel] [PATCH v5 7/7] add a flag for per-operation O_DSYNC semantics

2014-11-06 Thread Anton Altaparmakov
Hi, > On 7 Nov 2014, at 07:52, Anand Avati wrote: > On Thu, Nov 6, 2014 at 8:22 PM, Anton Altaparmakov wrote: > > On 7 Nov 2014, at 01:46, Jeff Moyer wrote: > > Minor nit, but I'd rather read something that looks like this: > > > > if (type == READ && (flags & RWF_NONBLOCK)) > >

zeromq in ceph?

2014-11-06 Thread 池信泽
hi, cephers: Zeromq is a very high-speed asynchronous I/O engine, which is also used in storm, a distributed and fault-tolerant realtime computation. Does anyone want to use it in the communication of osds? Thanks -- To unsubscribe from this list: send the line "unsubscribe ceph-de

Re: [PATCH v5 7/7] add a flag for per-operation O_DSYNC semantics

2014-11-06 Thread Anton Altaparmakov
Hi Jeff, > On 7 Nov 2014, at 01:46, Jeff Moyer wrote: > > Milosz Tanski writes: > >> -if (type == READ && (flags & RWF_NONBLOCK)) >> -return -EAGAIN; >> +if (type == READ) { >> +if (flags & RWF_NONBLOCK) >> +

KeyValueStore: Some bug fixing in KeyValueStore prevent osd runtime crash #2875

2014-11-06 Thread Xue, Chendi
Hi, all There is a small bug fixing in KeyValueStore to prevent osd crash When run random write 4k test on rbd with KeyValueStore backend, random osd crashes, and ceph-osd.log shows a segmentation fault which caused by multi threads updating the strip_header->buffers, so add mutex here Another

erasure code software and papers and swift

2014-11-06 Thread Loic Dachary
Hi Ceph, For the record, here are a few erasure code related links (thanks Kevin :-), https://bitbucket.org/tsg-/liberasurecode/ liberasurecode is an Erasure Code API library written in C with pluggable Erasure Code backends. the first commit is dated back april 2014 but its content sugg

Re: ceph osd start process

2014-11-06 Thread xinxin shu
thanks for your reply , but there are some records in leveldb , such as pglog info , pg epoch and so on , i also want to when and where ceph gererates these records? 2014-11-06 15:47 GMT+08:00 Vijayendra Shamanna : > Hi, > > You can refer to "_create_collection", which is invoked from OP_MKCOLL

Re: [PATCH v5 7/7] fs: add a flag for per-operation O_DSYNC semantics

2014-11-06 Thread Jeff Moyer
Milosz Tanski writes: > - if (type == READ && (flags & RWF_NONBLOCK)) > - return -EAGAIN; > + if (type == READ) { > + if (flags & RWF_NONBLOCK) > + return -EAGAIN; > + } else { > +

Ceph & Cinder & HA

2014-11-06 Thread Loic Dachary
Hi Florian, I attended the Ceph & Cinder & HA session today at the summit. I've never really thought about strategies to implement HA and how Ceph can help. The extent of my knowledge on this topic is to make sure I do not confuse something that is "highly reliable" with something "highly avail

RE: [ceph-users] PG inconsistency

2014-11-06 Thread GuangYang
We are using v0.80.4. Just would like to ask for general suggestion here :) Thanks, Guang > From: malm...@gmail.com > Date: Thu, 6 Nov 2014 13:46:12 + > Subject: Re: [ceph-users] PG inconsistency > To: yguan...@outlook.com; ceph-devel@vger.kernel.org; > ce

PG inconsistency

2014-11-06 Thread GuangYang
Hello Cephers, Recently we observed a couple of inconsistencies in our Ceph cluster, there were two major patterns leading to inconsistency as I observed: 1) EIO to read the file, 2) the digest is inconsistent (for EC) even there is no read error). While ceph has built-in tool sets to repair the

RE: ceph osd start process

2014-11-06 Thread Vijayendra Shamanna
Hi, You can refer to "_create_collection", which is invoked from OP_MKCOLL transaction opcode (FileStore.cc) context for the file store backend. Thanks, Viju -Original Message- From: ceph-devel-ow...@vger.kernel.org [mailto:ceph-devel-ow...@vger.kernel.org] On Behalf Of xinxin shu Se