All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wido den Hollander <wido@widodh.nl>
To: Gregory Farnum <greg@inktank.com>
Cc: "ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>
Subject: Re: omap functions in librados.h
Date: Fri, 17 Aug 2012 22:09:38 +0200	[thread overview]
Message-ID: <502EA502.20709@widodh.nl> (raw)
In-Reply-To: <CAPYLRzhw9BF+9h6y4WUW113oc71OHQnecACNK0sw7oXbqiUpLA@mail.gmail.com>



On 08/17/2012 09:54 PM, Gregory Farnum wrote:
> On Fri, Aug 17, 2012 at 12:36 PM, Wido den Hollander <wido@widodh.nl> wrote:
>> Hi,
>>
>> I'm looking for the omap functions in librados.h, but they only seem to be
>> implemented in librados.hpp?
>>
>> I want to store about 6000 objects in a RADOS pool, but I want to give them
>> some attributes I can query for, this should be possible with the omap
>> functionality, shouldn't it?
> What do you mean, query for? You can look at an object and ask if it
> has "foo=bar" in its omap, but you can't say "give me all objects with
> 'foo=bar'".
>

Ah, I must have understood that differently. I thought that leveldb was 
added so you could give objects attributes you could query.

So yes: "Give me all objects that have foo=bar"

I thought I saw some discussion regarding this.

Any ideas besides setting up a own external database with this information?

Wido

>
>> Do to this I want to use phprados, but that is using the C-functions, so
>> that's why I'm asking.
>>
>> Has this been forgotten or is there something blocking it?
> It'll probably be inconvenient as always due to memory management, but
> it's not blocked by anything that I'm aware of.
> -Greg
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

  reply	other threads:[~2012-08-17 20:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-17 19:36 omap functions in librados.h Wido den Hollander
2012-08-17 19:54 ` Gregory Farnum
2012-08-17 20:09   ` Wido den Hollander [this message]
2012-08-17 20:13     ` Gregory Farnum
2012-08-17 20:24       ` Wido den Hollander
2012-08-18  2:25       ` Xiaopong Tran
2012-08-17 20:45     ` Tommi Virtanen
2012-08-17 20:10 ` Josh Durgin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=502EA502.20709@widodh.nl \
    --to=wido@widodh.nl \
    --cc=ceph-devel@vger.kernel.org \
    --cc=greg@inktank.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.