From: "Piotr Dałek" <branch@predictor.org.pl>
To: kefu chai <tchaikov@gmail.com>
Cc: The Esoteric Order of the Squid Cybernetic
<ceph-devel@vger.kernel.org>, Casey Bodley <cbodley@redhat.com>
Subject: Re: seastar temporary_buffer/packet and ceph::buffer
Date: Mon, 15 Jan 2018 18:13:26 +0100 [thread overview]
Message-ID: <20180115171326.GB10256@mailware> (raw)
In-Reply-To: <CAJE9aOMh5PUphVUrXc7YpHCjym2aBM9pJ7_5pAg4N4g7eggJWQ@mail.gmail.com>
On Tue, Jan 16, 2018 at 01:09:57AM +0800, kefu chai wrote:
> On Tue, Jan 16, 2018 at 1:04 AM, Piotr Dałek <branch@predictor.org.pl> wrote:
> > On Tue, Jan 16, 2018 at 12:53:22AM +0800, kefu chai wrote:
> >> On Mon, Jan 15, 2018 at 11:49 PM, kefu chai <tchaikov@gmail.com> wrote:
> >> > [..]
> >> > i am preparing a change to prototype this approach. the downside of it is:
> >> >
> >> > - we need to include a placeholder structure in buffer.h for
> >> > seastar::tempoary_buffer<char>. and cast it to
> >> > seastar::tempoary_buffer<char> in buffer.cc . otherwise we need to
> >> > include seastar headers in librados.
> >>
> >> - we cannot store the crc map along with the raw class anymore. this
> >> might be a show stopper.
> >
> > https://github.com/ceph/ceph/pull/18906
> > There, already fixed it.
>
> Piotr, thanks for point me to this PR. but i am evaluating the pros
> and cons of the change, which tries to replace buffer::raw with
> seastar::temporary_buffer, and use the latter in buffer::ptr as a
> member variable.
And I'm pointing out that there's no need to worry about crc map anymore,
because it's gone.
--
Piotr Dałek
branch@predictor.org.pl
http://blog.predictor.org.pl
next prev parent reply other threads:[~2018-01-15 17:13 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-15 15:49 seastar temporary_buffer/packet and ceph::buffer kefu chai
2018-01-15 16:53 ` kefu chai
2018-01-15 17:04 ` Piotr Dałek
2018-01-15 17:09 ` kefu chai
2018-01-15 17:13 ` Piotr Dałek [this message]
2018-01-15 17:19 ` Casey Bodley
2018-01-15 19:30 ` Matt Benjamin
2018-01-15 20:48 ` Casey Bodley
2018-01-16 11:26 ` kefu chai
2018-01-16 22:15 ` Casey Bodley
2018-01-17 12:53 ` kefu chai
2018-01-17 13:13 ` Matt Benjamin
2018-01-17 15:42 ` kefu chai
2018-01-18 16:35 ` Casey Bodley
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=20180115171326.GB10256@mailware \
--to=branch@predictor.org.pl \
--cc=cbodley@redhat.com \
--cc=ceph-devel@vger.kernel.org \
--cc=tchaikov@gmail.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.