hail-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pete Zaitcev <zaitcev@redhat.com>
To: Jeff Garzik <jeff@garzik.org>
Cc: hail-devel@vger.kernel.org
Subject: Re: chunkd's get-partial API
Date: Fri, 27 Aug 2010 16:59:46 -0600	[thread overview]
Message-ID: <20100827165946.1ee89e09@lembas.zaitcev.lan> (raw)
In-Reply-To: <20100827205515.GA11531@havoc.gtf.org>

On Fri, 27 Aug 2010 16:55:15 -0400
Jeff Garzik <jeff@garzik.org> wrote:

> It's pretty straightforward, adding an (offset, max-length) pair to the
> existing GET-related APIs.

> +++ b/include/chunkc.h
> +extern bool stc_get_part_start(struct st_client *stc, const void *key,
> +			size_t key_len,
> +			uint64_t offset, uint64_t max_len,
> +			int *pfd, uint64_t *len);
> +
>  extern bool stc_put(struct st_client *stc, const void *key, size_t key_len,
>  	     size_t (*read_cb)(void *, size_t, size_t, void *),

Looks fine to me.

-- Pete

      reply	other threads:[~2010-08-27 22:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-27 20:55 chunkd's get-partial API Jeff Garzik
2010-08-27 22:59 ` Pete Zaitcev [this message]

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=20100827165946.1ee89e09@lembas.zaitcev.lan \
    --to=zaitcev@redhat.com \
    --cc=hail-devel@vger.kernel.org \
    --cc=jeff@garzik.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).